H3C S7500 Series Ethernet Switches Operation Manual
Operation Manual – NTP
H3C S7500 Series Ethernet Switches Chapter 1
NTP Configuration
1-11
Note:
The procedures for configuring NTP authentication on the server are the same as those
on the client. Besides, the client and the server must be configured with the same
authentication key.
1.5 Configuration of Optional NTP Parameters
The configurations of optional NTP parameters are:
z Setting the local clock as the NTP master clock
z Configuring the local VLAN interface that sends NTP packets
z Configuring the number of the dynamic sessions that can be established locally
z Disabling the VLAN interface configured on a switch from receiving NTP packets
z Disabling NTP service globally
Follow these steps to configure optional NTP parameters:
To do... Use the command... Remarks
Enter system view
system-view
—
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