NTP Configuration Commands 507
Designate an interface on the local equipment to broadcast NTP packets. The local
equipment runs in broadcast-server mode and regularly broadcasts packets to its
clients.
Example
Configure to broadcast NTP packets via Vlan-Interface1 and encrypt them with
Key 4 and set the NTP version number as 3.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]interface vlan-interface1
[SW5500-Vlan-Interface1]ntp-service broadcast-server
authentication-key 4 version 3
ntp-service
max-dynamic sessions
Syntax
ntp-service max-dynamic-sessions
number
undo ntp-service max-dynamic-sessions
View
System view
Parameter
number
: The maximum sessions can be created locally, ranging from 0 to 100.
Description
Use the ntp-service max-dynamic-sessions command to set how many
sessions can be created locally. Use the
undo ntp-service
max-dynamic-sessions
command to resume the default maximum session
number
By default, a local device allows up to 100 sessions.
Example
Set the local equipment to allow up to 50 sessions.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]ntp-service max-dynamic-sessions 50
ntp-service
multicast-client
Syntax
ntp-service multicast-client [
ip-address
]
undo ntp-service multicast-client [
ip-address
]
View
VLAN interface view
Parameter
ip-address
: Specify a multicast IP address of Class D.