Operation Manual - System Management
Quidway S6500 Series Ethernet Switches Chapter 7 NTP Configuration
Huawei Technologies Proprietary
7-4
Table 7-1 Configure NTP time server
Operation Command
Configure NTP time
server
ntp-service unicast-server ip-address [ version number ]
[ authentication-keyid keyid ] [ source-interface
{ interface-name | interface-type interface-number } ]
[ priority ]
Cancel NTP server
mode
undo ntp-service unicast-server ip-address
NTP version number number ranges from 1 to 3 and defaults to 3; the authentication
key ID keyid ranges from 0 to 4294967295; interface-name or interface-type
interface-number specifies the IP address of an interface, from which the source IP
address of the NTP packets sent from the local Ethernet Switch to the time server will
be taken; priority indicates the time server will be the first choice.
II. Configure NTP Peer Mode
Set a remote server whose ip address is ip-address as the peer of the local equipment.
In this case, the local equipment operates in symmetric active mode. ip-address
specifies a host address other than a broadcast, multicast or reference clock IP
address. In this mode, both the local Ethernet Switch and the remote server can
synchronize their clocks with the clock of opposite end.
Perform the following configurations in system view.
Table 7-2 Configure NTP peer mode
Operation Command
Configure NTP peer
mode
ntp-service unicast-peer ip-address [ version number ]
[ authentication-key keyid ] [ source-interface
{ interface-name | interface-type interface-number } ]
[ priority ]
Cancel NTP peer
mode
undo ntp-service unicast-peer ip-address
NTP version number number ranges from 1 to 3 and defaults to 3; the authentication
key ID keyid ranges from 0 to 4294967295; interface-name or interface-type
interface-number specifies the IP address of an interface, from which the source IP
address of the NTP packets sent from the local Ethernet Switch to the peer will be taken;
priority indicates the peer will be the first choice for time server.