Ntp-Service Unicast-Server - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

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.
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

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 ]*
undo ntp-service unicast-server { remote-ip | server-name }
View
System view
Parameter
remote-ip: IP address of an NTP server. This argument can be a unicast address only, and cannot be a
broadcast address, multicast group address, or IP address of the local clock.
server-name: NTP server name, a string comprising 1 to 20 characters.
authentication-keyid key-id: Specifies the key ID used for sending messages to the NTP server. The
key-id argument ranges from 1 to 4294967295. You do not need to configure authentication-keyid
key-id if authentication is not required.
1-12

Advertisement

Table of Contents
loading

Table of Contents