1-8
ntp-service in-interface disable
Syntax
ntp-service in-interface disable
undo ntp-service in-interface disable
View
VLAN interface view
Parameter
None
Description
Use the ntp-service in-interface disable command to disable the interface from receiving NTP
messages.
Use the undo ntp-service in-interface disable command to restore the default.
By default, the interface can receive NTP messages.
Example
# Disable Vlan-interface1 from receiving NTP messages.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[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
Parameter
number: Maximum number of the dynamic NTP sessions that can be established locally. This argument
ranges from 0 to 100.
Description
Use the ntp-service max-dynamic-sessions command to set the maximum number of dynamic NTP
sessions that can be established locally.
Use the undo ntp-service max-dynamic-sessions command to restore the default.
By default, up to 100 dynamic NTP sessions can be established locally.
Example
# Set the maximum number of dynamic NTP sessions that can be established locally to 50.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ntp-service max-dynamic-sessions 50