Command Manual (For Soliton) – NTP
H3C S3100 Series Ethernet Switches
authentication-keyid key-id: Specifies the key ID used for sending messages to the
peer. The key-id argument ranges from 1 to 4294967295. By default, authentication is
not enabled.
priority: Specifies the peer identified by the remote-ip argument as the preferred peer
for synchronization.
source-interface Vlan-interface vlan-id: Specifies an interface whose IP address
serves as the source IP address of NTP message sent to the peer. vlan-id is the VLAN
interface number.
version number: Specifies the NTP version number. The version number ranges from
1 to 3 and defaults to 3.
Description
Use the ntp-service unicast-peer command to configure an Ethernet switch to
operate in the symmetric-active peer mode.
Use the undo ntp-service unicast-peer command to remove the configuration.
By default, no NTP operate mode is configured.
Note:
If you use remote-ip or peer-name to specify a remote device as the peer of the local
Ethernet switch, the local switch operates in the symmetric-active peer mode. In this
case, the clock of local Ethernet switch and that of the remote device can be
synchronized to each other.
Example
# Configure the local switch to obtain time information from the peer with the IP address
128.108.22.44 and also to provide time information to the peer. Set the NTP version
number to 3. The source IP address of NTP messages is the IP address of Vlan-
interface1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ntp-service unicast-peer 128.108.22.44 version 3 source-interface
Vlan-interface 1
1.1.16 ntp-service unicast-server
Syntax
ntp-service unicast-server { remote-ip | server-name } [ authentication-keyid key-id
| priority | source-interface Vlan-interface vlan-id | version number ]*
Chapter 1 NTP Configuration Commands
1-15
Need help?
Do you have a question about the S3100 Series and is the answer not in the manual?