F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100
132
Default
The device does not operate in any NTP operation mode.
Views
Interface view
Default command level
3: Manage level
Parameters
authentication-keyid keyid: Specifies the key ID to be used for sending broadcast messages to broadcast
clients, where keyid is in the range of 1 to 4294967295. This parameter is not meaningful if
authentication is not required.
version number: Specifies the NTP version, where number is in the range of 1 to 3 and defaults to 4.
Examples
# Configure the device to operate in broadcast server mode and send NTP broadcast messages on
GigabitEthernet 0/1, using key 4 for encryption, and set the NTP version to 3.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] ntp-service broadcast-server authentication-keyid 4 version
3
ntp-service in-interface disable
Use ntp-service in-interface disable to disable an interface from receiving NTP messages.
Use undo ntp-service in-interface disable to restore the default.
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 0/1 from receiving NTP messages.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/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.