Operation Manual – NTP
Quidway S3100 Series Ethernet Switches
Chapter 1 NTP Configuration
Huawei Technologies Proprietary
1-6
1.2.1 Prerequisites
When an S3100 switch operates in NTP server mode or NTP peer mode, you need to
perform configuration on the client or the active peer only. When an S3100 switch
operates in NTP broadcast mode or NTP multicast mode, you need to perform
configurations on both the server side and the client side.
1.2.2 Configuring NTP Implementation Modes
Table 1-2
Configure NTP implementation modes
Operation
Command
Description
Enter system view
system-view
—
Configure the
maximum number
of dynamic NTP
sessions
ntp-service
max-dynamic-sessions
Optional
By default, the maximum
number of dynamic NTP
sessions is 100.
Configure to
operate in NTP
server mode
ntp-service
unicast-server
{
remote-ip
|
server-name }[
authenticati
on-keyid
key-id
|
priority
|
source-interface
vlan-interface
VLAN-interface-number
|
version
number
]*
Optional
By default, the authentication
is not performed, the
number
argument is set to 3, and a
NTP server is not preferred.
Configure to
operate in NTP
peer mode
ntp-service
unicast-peer
{
remote-ip
|
peer-name
}
[
authentication-keyid
key-id
|
priority
|
source-interface
vlan-interface
vlan-interface-number
|
version
number
]*
Optional
By default, the authentication
is not performed, the
number
argument is set to 3, and a
peer is not preferred.
Enter VLAN
interface view
interface
vlan-interface
vlan-id
—
Configure to
operate in NTP
broadcast client
mode
ntp-service
broadcast
-
client
Optional
Configure to
operate in NTP
broadcast server
mode
ntp-service
broadcast-server
[
authentication-keyid
key-id
|
version
number
]*
Optional
By default, the
number
argument is set to 3.
Configure to
operate in NTP
multicast client
mode
ntp-service
multicast
-
client
[
ip-address
]
Optional
By default, the multicast IP
address is 224.0.1.1.