3Com Switch 7750 Configuration Guide Guide
704 CHAPTER 66: NTP CONFIGURATION
c
CAUTION:
■ The source IP address in an NTP packet is the address of the sending interface
specified by the ntp-service unicast-server command or the ntp-service
unicast-peer command if you provide the address of the sending interface in
these two commands.
■ Dynamic connections can only be established when a switch operates in
passive peer mode, NTP broadcast client mode, or NTP multicast client mode.
In other modes, the connections established are static.
Displaying and
Debugging NTP
After the above configuration, you can execute the display command in any view
to display the running status of the NTP configuration, and verify the effect of the
configuration.
Configure the local clock as
the NTP master clock
ntp-service refclock-master
[ ip-address ] [ stratum ]
Optional
Configure the local interface
that sends NTP packets
ntp-service
source-interface
interface-type
interface-number
Optional
Configure the number of the
sessions that can be
established locally
ntp-service
max-dynamic-sessions
number
Optional
By default, up to 100 dynamic
sessions can be established
locally.
Enter VLAN interface view
interface interface-type
interface-number
-
Disable the interface from
receiving NTP packets
ntp-service in-interface
disable
Optional
By default, a VLAN interface
receives NTP packets.
Return to system view quit -
Disable NTP service globally ntp-service disable
Optional
By default, the NTP service is
enabled
Table 547 Configure optional NTP parameters
Operation Command Description
Tabl e 548 Display and debug NTP
Operation Command Description
Display the status of NTP
service
display ntp-service status
The display command can be
executed in any view
Display the information about
the sessions maintained by
NTP
display ntp-service sessions
[ verbose ]
Display the brief information
about the NTP time servers of
the reference clock sources
that the local device traces to
display ntp-service trace