|
|
# Run the Cute-WR-DP Demo code
|
|
|
|
|
|
This is to demonstrate the Cute-WR-DP that works in chain mode which
|
|
|
contains a WRS and three Cute-WR-DPv2 modes.
|
|
|
contains a WRS and three CUTE-WR-DPv2 modes.
|
|
|
|
|
|
The WR switch acts as the Grandmaster(Layer 1) in this small network,
|
|
|
and three CUTEWR-DPV2 boards are connected one by one. They are in Layer
|
... | ... | @@ -12,14 +12,14 @@ Use the command below to change the parameters of each port. |
|
|
|
|
|
- The SFP\_PN is AXGE-1254-0531 or AXGE-3454-0531 if you use the SFPs
|
|
|
produced by AXCEN.
|
|
|
- The port is 0 or 1.
|
|
|
- The units of dtx\_value and drx\_value are picosecond.
|
|
|
- alpha value is depended on your fiber.
|
|
|
- The port is 0 or 1. If without port, default value will be 0.
|
|
|
|
|
|
<!-- end list -->
|
|
|
|
|
|
sfp erase
|
|
|
sfp add SFP_PN port dtx_value drx_value alpha_value
|
|
|
sfp add SFP_PN dtx_value drx_value alpha_value (port)
|
|
|
|
|
|
Use the command below to set the IP of each port.
|
|
|
|
... | ... | @@ -32,10 +32,10 @@ Use the command below to set the IP of each port. |
|
|
|
|
|
Use the command below to start or stop the PTP of each port.
|
|
|
|
|
|
ptp start (start both two ports)
|
|
|
ptp start 0/1 (start the selected port)
|
|
|
ptp stop (stop both two ports)
|
|
|
ptp stop 0/1 (stop the selected port)
|
|
|
ptp start or ptp start 0(start port 0)
|
|
|
ptp start 1 (start port 1)
|
|
|
ptp stop or ptp stop 0(stop port 0)
|
|
|
ptp stop 1 (stop port 1)
|
|
|
|
|
|
Use the command "gui" to get the PTP status of each port.
|
|
|
The results are shown as
|
... | ... | |