Ntp-Service Unicast-Server - HPE FlexNetwork 5130 HI Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 5130 HI Series:
Table of Contents

Advertisement

Parameters
peer-name: Specifies a symmetric-passive peer by its host name, a case-insensitive string of 1 to
253 characters.
ip-address: Specifies a symmetric-passive peer by its IP address. It must be a unicast address,
rather than a broadcast address, a multicast address, or the IP address of the local clock.
authentication-keyid keyid: Specifies the key ID to be used for sending NTP messages to the peer.
The value range for the keyid argument is 1 to 4294967295. If you do not specify this option, the local
device and the peer do not authenticate each other.
priority: Specifies the peer specified by ip-address or peer-name as the first choice under the same
condition.
source interface-type interface-number: Specifies the source interface for NTP messages. In an
NTP message the local device sends to its peer, the source IP address is the primary IP address of
this interface. The interface-type interface-number argument represents the interface type and
number. If you do not specify this option, the device searches the routing table for the outgoing
interface and uses the primary IP address of the outgoing interface as the source IP address of the
NTP messages.
version number: Specifies the NTP version. The value range for the number argument is 1 to 4. The
default value is 4.
Usage guidelines
When you specify a passive peer for the device, the device and its passive peer can be synchronized
to each other. If their clocks are in synchronized state, the clock with a high stratum level is
synchronized to the clock with a lower stratum level.
Examples
# Specify the device with the IP address of 10.1.1.1 as the symmetric-passive peer of the device, and
configure the device to run NTP version 4. Specify the source interface of NTP messages as
VLAN-interface 1.
<Sysname> system-view
[Sysname] ntp-service unicast-peer 10.1.1.1 version 4 source-interface vlan-interface 1
Related commands
ntp-service authentication enable
ntp-service authentication-keyid
ntp-service reliable authentication-keyid

ntp-service unicast-server

Use ntp-service unicast-server to specify an NTP server for the device.
Use undo ntp-service unicast-server to remove an NTP server specified for the device.
Syntax
ntp-service unicast-server { server-name | ip-address } [ authentication-keyid keyid | priority |
source interface-type interface-number | version number ] *
undo ntp-service unicast-server { server-name | ip-address }
Default
No NTP server is specified.
Views
System view
121

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents