
25
undo ntp-service in-interface disable
View
Layer 3 Ethernet port view, VLAN interface view
Default level
3: Manage level
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
ntp-service max-dynamic-sessions
Syntax
ntp-service max-dynamic-sessions
number
undo ntp-service max-dynamic-sessions
View
System view
Default level
3: Manage level
Parameters
number
: Maximum number of dynamic NTP sessions that are allowed to be established, which ranges
from 0 to 100.
Description
Use the
ntp-service max-dynamic-sessions
command to set the maximum number of dynamic NTP
sessions that are 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.
A single device can have a maximum of 128 concurrent associations, including static associations and
dynamic associations. A static association refers to an association that a user has manually created by
using an NTP command, while a dynamic association is a temporary association created by the system
during operation. A dynamic association is removed if the system fails to receive messages from it over
a specific long period of time. In client/server mode, for example, when you carry out a command to
synchronize the time to a server, the system creates a static association, and the server just responds