NTP 291
clock offset: 0.0000 ms
root delay: 0.00 ms
root dispersion: 10.94 ms
peer dispersion: 10.00 ms
reference time: 20:54:25.156 UTC Mar 7 2002(C0325201.2811A112)
By this time, SW77504 has been synchronized by SW77503 and it is at stratum 3,
higher than SW77503 by 1.
Display the status of SW77504 sessions and you will see SW77504 has been
connected to SW77503:
[SW77502]display ntp-service sessions
source reference stra reach poll now offset delay
disper
********************************************************************
****** [12345]127.127.1.0 LOCAL(0) 7 377 64 57
0.0 0.0 1.0
[5]1.0.1.11 0.0.0.0 16 0 64 - 0.0
0.0 0.0
[5]128.108.22.44 0.0.0.0 16 0 64 - 0.0
0.0 0.0
note: 1 source(master),2 source(peer),3 selected,4 candidate,5
configured
Example: Configuring NTP Multicast Mode
SW77503 sets the local clock as the master clock at stratum 2, and multicast
packets from Vlan-interface2. Set SW77504 and SW77501 to receive multicast
messages from their respective Vlan-interface2. See
Figure 66.
Configure Ethernet Switch SW77503:
1 Enter system view.
<SW77503>system-view
2 # Set the local clock as a master NTP clock at stratum 2.
[SW77503]ntp-service refclock-master 2
3 Enter Vlan-interface2 view.
[SW77503]interface vlan-interface 2
4 Set it as a multicast server.
[SW77503-Vlan-Interface2]ntp-service multicast-server
Configure Ethernet Switch SW77504:
1 Enter system view.
<SW77504>system-view
2 Enter Vlan-interface2 view.
[SW77504]interface vlan-interface 2