R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

82
Syntax
ntp-service in-interface disable
undo ntp-service in-interface disable
Default
All interfaces are enabled to receive NTP messages.
Views
Interface view
Default command level
3: Manage level
Examples
# Disable interface GigabitEthernet 2/0/1 from receiving NTP messages.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] ntp-service in-interface disable
ntp-service max-dynamic-sessions
Use ntp-service max-dynamic-sessions to set the maximum number of dynamic NTP sessions that are
allowed to be established locally.
Use undo ntp-service max-dynamic-sessions to restore the maximum number of dynamic NTP sessions to
the system default.
Syntax
ntp-service max-dynamic-sessions number
undo ntp-service max-dynamic-sessions
Default
The number is 100.
Views
System view
Default command level
3: Manage level
Parameters
number: Specifies the maximum number of dynamic NTP sessions that are allowed to be established, in
the range of 0 to 100.
Usage guidelines
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 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 passively upon
the receipt of a message, rather than creating an association (static or dynamic). In symmetric mode,