EasyManua.ls Logo

3Com SuperStack 4 - Page 353

3Com SuperStack 4
432 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Typical NTP Configuration Examples 365
Configuration Procedure
Configure Switch 1:
1 Enter System View.
<switch1> system-view
2 Set the local clock as the NTP master clock at stratum 2.
[switch1]ntp-service refclock-master 2
Configure Switch 2:
1 Enter System View.
<switch2> system-view
2 Set SW5500 1 as the NTP server.
[switch2]ntp-service unicast-server 1.0.1.11
The above examples synchronized Switch 2 by Switch 1. Before the
synchronization, the Switch 2 is shown in the following status:
[switch2]display ntp-service status
clock status: unsynchronized
clock stratum: 16
reference clock ID: none
nominal frequency: 100.0000 Hz
actual frequency: 100.0000 Hz
clock precision: 2^17
clock offset: 0.0000 ms
root delay: 0.00 ms
root dispersion: 0.00 ms
peer dispersion: 0.00 ms
reference time: 00:00:00.000 UTC Jan 1 1900(00000000.00000000)
After the synchronization, Switch 2 turns into the following status:
[switch2]display ntp-service status
clock status: synchronized
clock stratum: 3
reference clock ID: 1.0.1.11
nominal frequency: 60.0002 Hz
actual frequency: 60.0002 Hz
clock precision: 2^17
clock offset: -9.8258 ms
root delay: 27.10 ms
root dispersion: 48.29 ms
peer dispersion: 10.94 ms
reference time: 19:21:32.287 UTC Oct 24 2004(C5267F3C.49A61EOC)
By this time, Switch 2 has been synchronized by Switch 1 and is at stratum 3,
higher than Switch 1 by 1.
Display the sessions of Switch 2 and you will see Switch 2 has been connected
with Switch 1.
[switch2]display ntp-service sessions
source reference stra reach poll now offset delay disper