Switch 7700 Configuration Guide, v2

42 CHAPTER 11: SYSTEM MANAGEMENT
with peer, serve, serve only, and query only in an ascending order of the
limitation. The first matched authority will be given.
Perform the following configurations in system view.
IP address ACL number is specified through the acl-number parameter and ranges
from 1 to 99. The meanings of other authority levels are as follows:
query: Allow control query for the local NTP service only.
synchronization: Allow request for local NTP time service only.
serve: Allow local NTP time service request and control query. However, the
local clock will not be synchronized by a remote server.
peer: Allow local NTP time service request and control query. And the local
clock will also be synchronized by a remote server.
Setting Maximum Local Sessions
This configuration task sets the maximum local sessions.
Perform the following configurations in system view.
number specifies the maximum number of local sessions, ranges from 0 to 100,
and defaults to 100.
Displaying and
Debugging NTP
After completing the previous configurations, you can use the display command
to show how NTP runs and verify the configurations according to the outputs. You
can use the debugging command, in user view, to debug NTP. See
Tabl e 79 for
the details of these commands.
Tab le 77 Set Authority to Access a Local Ethernet Switch
Operation Command
Set authority to access a local Ethernet switch ntp-service access { query |
synchronization | serve | peer } acl-number
Cancel settings of the authority to access a
local Ethernet switch
undo ntp-service access { query |
synchronization | serve | peer }
Tab le 78 Set the Maximum Local Sessions
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
Tab le 79 Display and Debug NTP
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