304
C
HAPTER
18: NTP C
ONFIGURATION
Figure 86
Network diagram for NTP peer mode configuration
Configuration procedure
1
Configure the Switch 4500.
# Set Switch2 to the NTP server.
<SW4500>
system-view
[SW4500] ntp-service unicast-server 3.0.1.31
2
Configure Switch3 (after the SW4500 Ethernet switch is synchronized to Switch2).
# Enter system view.
<Switch3>
system-view
[Switch3]
# Set the SW4500 Ethernet switch to the peer of Switch3.
[Switch3]
ntp-service unicast-peer 3.0.1.33
The SW4500 Ethernet switch and Switch3 are a pair of peers. Switch3 operates in
active peer mode, while the SW4500 Ethernet switch operates in passive peer
mode. Because the stratum level of the local clock of Switch3 is 1, and that of the
SW4500 Ethernet switch is 3, the SW4500 Ethernet switch is synchronized to
Switch3.
View the status of the SW4500 Ethernet switch after synchronization.
[Sw4500]
display ntp-service status
Clock status: synchronized
Clock stratum: 2
Reference clock ID: 3.0.1.32
Nominal frequency: 250.0000 Hz
Actual frequency: 249.9992 Hz
Clock precision: 2^19
Clock offset: 0.66 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)
The output information indicates that the SW4500 Ethernet switch is synchronized
to Switch3 and the stratum level of its local clock is 2, one level lower than that
Switch3.
3.0.1.31/24
3.0.1.32/24
3.0.1.33/24
SW4500
3.0.1.31/24
3.0.1.32/24
3.0.1.33/24
3.0.1.31/24
3.0.1.32/24
3.0.1.33/24
Switch2
3.0.1.31/24
3.0.1.32/24
3.0.1.33/24
Switch3
Summary of Contents for Switch 4500 26-Port
Page 16: ...14 ABOUT THIS GUIDE...
Page 58: ...56 CHAPTER 2 PORT OPERATION...
Page 104: ...102 CHAPTER 5 NETWORK PROTOCOL OPERATION...
Page 130: ...128 CHAPTER 6 IP ROUTING PROTOCOL OPERATION...
Page 154: ...152 CHAPTER 7 ACL CONFIGURATION...
Page 228: ...226 CHAPTER 11 802 1X CONFIGURATION...
Page 250: ...248 CHAPTER 14 DEVICE MANAGEMENT...
Page 280: ...278 CHAPTER 15 SYSTEM MAINTENANCE AND DEBUGGING...
Page 312: ...310 CHAPTER 18 NTP CONFIGURATION...
Page 340: ...338 CHAPTER 19 SSH TERMINAL SERVICES...
Page 350: ...348 CHAPTER 20 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Page 388: ...386 APPENDIX B RADIUS SERVER AND RADIUS CLIENT SETUP...