Command Manual – NTP
H3C S7500E Series Ethernet Switches
View
VLAN interface view
Parameters
None
Description
Use the ntp-service in-interface disable command to disable an interface from
receiving NTP messages.
Use the undo ntp-service in-interface disable command to restore the default.
By default, all interfaces are enabled to receive NTP messages.
Examples
On an Ethernet interface:
# Disable interface Ethernet 2/0/1 from receiving NTP messages.
<Sysname> system-view
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] ntp-service in-interface disable
On a VLAN interface:
# Disable VLAN-interface 1 from receiving NTP messages.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] ntp-service in-interface disable
1.1.10 ntp-service max-dynamic-sessions
Syntax
ntp-service max-dynamic-sessions number
undo ntp-service max-dynamic-sessions
View
System view
Parameters
number: Maximum number of dynamic NTP sessions that allowed to be established, in
the range of 0 to 100.
Description
Use the ntp-service max-dynamic-sessions command to set the maximum number
of dynamic NTP sessions that allowed to be established locally.
Chapter 1 NTP Configuration Commands
1-10