The configuration of NTP broadcast mode on H3C 5600 switch
I Requirement for the diagram
1. Set the switch3’s local clock as the master clock of NTP. Layer is 2 and the switch3 send the broadcast message capsule via vlan-interface2.
2. S5600-1 and S5600-2 listen broadcast message from corresponding vlan-interface2.
II Network topology.
III Steps of configuration
Configure switch3:
1. Enter system view
<Switch3> system-view
2. Enter the vlan-interface2 interface view
[Switch3] interface Vlan-interface 2
[Switch3-Vlan-interface2]
3. Set the switch as broadcast server and send the broadcast message from vlan-interface2.
[Switch3-Vlan-interface2] ntp-service broadcast-server
Configure S5600-1:
1. Enter system view
<S5600-1> system-view
2. Enter the vlan-interface2 interface view
[S5600-1] interface Vlan-interface 2
[S5600-1-Vlan-interface2]
3. Set the switch as broadcast client.
[S5600-1-Vlan-interface2] ntp-service broadcast-client
Configure S5600-2:
1. Enter system view
<S5600-2> system-view
2. Enter the vlan-interface2 interface view
[S5600-2] interface Vlan-interface 2
[S5600-2-Vlan-interface2]
3. Set the switch as broadcast client.
[S5600-2-Vlan-interface2] ntp-service broadcast-client
IV Key notes in the configuration
1. S5600-1 and S5600-2 listen the broadcast message from vlan-interface2 and the switch3 send the broadcast message from vlan-interface2. Because S5600-2 and switch3 are not the same network segment, S5600-2 can’t receive the broadcast message from switch3. But S5600-1can receive the broadcast from switch3 and then keep synchronization with switch3.
2. After keep synchronization, the status of S5600-1:
[S5600-1] display ntp-service status
Clock status: synchronized
Clock stratum: 3
Reference clock ID: 3.0.1.31
Nominal frequency: 250.0000 Hz
Actual frequency: 249.9992 Hz
Clock precision: 2^19
Clock offset: 198.7425 ms
Root delay: 27.47 ms
Root dispersion: 208.39 ms
Peer dispersion: 9.63 ms
Reference time: 17:03:32.022 UTC Thu Sep 6 2001 (BF422AE4.05AEA86C)
3. Display the NTP sessions:
[S5600-1] display ntp-service sessions
source reference stra reach poll now offset delay disper
**************************************************************************
[1]3.0.1.31 127.127.1.0 2 1 64 377 26.1 199.53 9.7
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作