3Com 5500-SI Switch User Manual


 
Typical NTP Configuration Examples 499
Setting Maximum Local Sessions
This configuration task is to set the maximum local sessions.
Perform the following configurations in System View.
Table 575 Set the Maximum Local Sessions
number specifies the maximum number of local sessions, ranges from 0 to 100, and
defaults to 100.
Displaying and
Debugging NTP
After completing the above configurations, you can use the display command to
show how NTP runs and verify the configurations according to the outputs.
In User View, you can use the
debugging command to debug NTP.
Table 576 NTP Display and Debugging
Typical NTP
Configuration
Examples
This section contains examples of typical NTP configurations.
Configure NTP Server Network Requirements
On Switch1, set the local clock as the NTP master clock at stratum 2. On Switch 2,
configure Switch 1 as the time server in server mode and set the local equipment as in
client mode. (Note that Switch 1 must support setting local clock as the NTP master
clock.)
Operation Command
Set the maximum local sessions ntp-service max-dynamic-sessions number
Resume the maximum number of
local sessions
undo ntp-service max-dynamic-sessions
Operation Command
Display the status of NTP service display ntp-service status
Display the status of sessions maintained by NTP
service
display ntp-service sessions [
verbose ]
Display the brief information about every NTP time
server on the way from the local equipment to the
reference clock source.
display ntp-service trace
Enable NTP debugging debugging ntp-service