3Com 3.01.01 Switch User Manual


 
NTP 345
note: 1 source(master),2 source(peer),3 selected,4 candidate,5
configured
Configuring NTP Broadcast Mode
On SW88003, set local clock as the NTP master clock at stratum 2, and configure
to broadcast packets from Vlan-interface2. Configure SW88004 and SW88001 to
listen to the broadcast from their Vlan-interface2. See Figure 1-2.
Configure Switch SW88003:
1 Enter system view.
<SW88003> system-view
2 Set the local clock as the NTP master clock at stratum 2.
[SW88003]ntp-service refclock-master 2
3 Enter Vlan-interface2 view.
[SW88003]interface vlan-interface 2
4 Set it as broadcast server.
[SW88003-Vlan-Interface2]ntp-service broadcast-server
Configure Switch SW88004:
1 Enter system view.
<SW88004> system-view
2 Enter Vlan-interface2 view.
[SW88004]interface vlan-interface 2
[SW88004-Vlan-Interface2]ntp-service broadcast-client
Configure Switch SW88001:
1 Enter system view.
<SW88001> system-view
2 Enter Vlan-interface2 view.
[SW88001]interface vlan-interface 2
[SW88001-Vlan-Interface2]ntp-service broadcast-client
The above examples configured SW88004 and SW88001 to listen to the
broadcast through Vlan-interface2, SW88003 to broadcast packets from
Vlan-interface2. Since SW88001 and SW88003 are not located on the same
segment, they cannot receive any broadcast packets from SW88003, while
SW88004 is synchronized by SW88003 after receiving its broadcast packet.
After the synchronization, you can find the state of SW88004 as follows:
[SW88004]display ntp-service status
clock status: synchronized
clock stratum: 8
reference clock ID: LOCAL(0)
nominal frequency: 100.0000 Hz