
Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 7 NTP Configuration Commands
Huawei Technologies Proprietary
7-14
interface-type
: Specifies the interface type and determine an interface together with the
interface-number
parameter.
interface-number
: Specifies the interface number and determine an interface together
with the
interface-type
parameter.
priority
: Designates a server as the first choice.
Description
Use the
ntp-service
unicast-peer
command to configure NTP peer mode.
Use the
undo ntp-service
unicast-peer
command to cancel NTP peer mode.
By default, version number
number
defaults to 3, the authentication is disabled, and the
local server is not the first choice.
This command sets the remote server at
ip-address
as a peer of the local equipment,
which operates in symmetric active mode.
ip-address
specifies a host address other
than an IP address of broadcast, multicast, or reference clock. By operating in this
mode, a local device can synchronize and be synchronized by a remote server.
Example
# Configure the local equipment to synchronize or synchronized by a peer at
128.108.22.44. Set the NTP version to 3. The IP address of the NTP packets are taken
from that of Vlan-Interface1.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ntp-service unicast-peer 131.108.22.33 version 3 source-interface
Vlan-Interface 1
7.1.17 ntp-service unicast-server
Syntax
ntp-service
unicast-server
ip-address
[
version
number
] [
authentication-keyid
keyid
] [
source-interface
interface-type
interface-number
] [
priority
]*
undo
ntp-service
unicast-server
ip-address
View
System view
Parameter
ip-address
: Specifies the IP address of a remote server.
version
: Defines NTP version number.
number
: NTP version number, ranging from 1 to 3.
authentication-keyid
: Defines authentication key.