Command Manual – NTP
H3C S5500-EI Series Ethernet Switches
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
# 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.
Use the undo ntp-service max-dynamic-sessions command to restore the
maximum number of dynamic NTP sessions to the system default.
By default, the number is 100.
Examples
# Set the maximum number of dynamic NTP sessions allowed to be established to 50.
<Sysname> system-view
[Sysname] ntp-service max-dynamic-sessions 50
Chapter 1 NTP Configuration Commands
1-10