beautypg.com

6 displaying and debugging ntp, 7 configuration example, 1 configuring ntp server mode – H3C Technologies H3C S3100 Series Switches User Manual

Page 475: I. network requirements, 1 configuring ntp server mode -13

background image

Operation Manual – NTP

H3C S3100-52P Ethernet Switch

Chapter 1 NTP Configuration

1-13

Operation

Command

Description

Disable an interface

from receiving NTP

packets

ntp-service in-interface
disable

Optional
By default, a VLAN interface

receives NTP packets.

Caution:

z

If a sending interface is specified in the ntp-service unicast-server command or
the ntp-service unicast-peer command, the source IP address of an NTP packet is
the address of this interface.

z

Dynamic connections can 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.

1.6 Displaying and Debugging NTP

After the above configurations, you can execute display commands in any view to
display the running status of switch, and verify the effect of the configurations.

Table 1-7

Display and debug NTP

Operation

Command

Description

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

The display

commands

can be

executed in

any view

1.7 Configuration Example

1.7.1 Configuring NTP Server Mode

I. Network requirements

The local clock of H3C1 is set to the NTP master clock, with a stratum level of 2.