Disabling an Interface from Receiving NTP Messages
Follow these steps to disable an interface from receiving NTP messages:
To do...
Enter system view
Enter VLAN interface view
Disable an interface from
receiving NTP messages
Displaying NTP Configuration
Display the status of NTP services
Display the information about the
sessions maintained by NTP
Display the brief information about NTP
servers along the path from the local
device to the reference clock source
Configuration Examples
Configuring NTP Server/Client Mode
Network requirements
The local clock of Device A (a switch) is to be used as a master clock, with the stratum level of 2.
Device A is used as the NTP server of Device B (an S4200G Ethernet switch)
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
Use the command...
system-view
interface Vlan-interface
vlan-id
ntp-service in-interface
disable
To do...
Use the command...
display ntp-service status
display ntp-service sessions
[ verbose ]
display ntp-service trace
1-15
Remarks
—
—
Required
By default, a VLAN interface
receives NTP messages.
Remarks
Available in any
view