Ntp-Service Unicast-Server - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

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.
priority: Specifies the server identified by the remote-ip or the server-name argument as the preferred
server.
source-interface Vlan-interface vlan-id: Specifies an interface whose IP address serves as the source
IP address of NTP packets sent by the local switch to the server.
version number: Specifies the NTP version number. The number argument ranges from 1 to 3 and
defaults to 3.
Description
Use the ntp-service unicast-server command to configure an Ethernet switch to operate in the NTP
client mode.
Use the undo ntp-service unicast-server command to remove the configuration.
By default, no NTP operate mode is configured.
1-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents