1-15
Disabling an Interface from Receiving NTP Messages
Follow these steps to disable an interface from receiving NTP messages:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter VLAN interface view
interface
Vlan-interface
vlan-id
—
Disable an interface from
receiving NTP messages
ntp-service in-interface
disable
Required
By default, a VLAN interface
receives NTP messages.
Displaying NTP Configuration
To do…
Use the command…
Remarks
Display the status of NTP services
display ntp-service status
Display the information about the
sessions maintained by NTP
display ntp-service sessions
[
verbose
]
Display the brief information about NTP
servers along the path from the local
device to the reference clock source
display ntp-service trace
Available in any
view
Configuration Examples
Configuring NTP Server/Client Mode
Network requirements
z
The local clock of Device A (a switch) is to be used as a master clock, with the stratum level of 2.
z
Device A is used as the NTP server of Device B (an S4200G Ethernet switch)
z
Configure Device B to work in the client mode, and then Device A will automatically work in the
server mode.
Network diagram
Figure 1-6
Network diagram for the NTP server/client mode configuration
Configuration procedure
Perform the following configurations on Device B.
# View the NTP status of Device B before synchronization.
<DeviceB> display ntp-service status
Clock status: unsynchronized
Clock stratum: 16
Содержание Switch 4800G PWR 24-Port
Страница 165: ...1 8 4 mac address es found on port GigabitEthernet1 0 2 ...
Страница 214: ...ii Displaying and Maintaining System Guard 4 1 ...
Страница 445: ...ii ...
Страница 727: ...i Table of Contents Appendix A Acronyms A 1 ...
Страница 730: ...A 3 VOD Video On Demand W WRR Weighted Round Robin X XID eXchange Identification XRN eXpandable Resilient Networking ...