HPE FlexNetwork 7500 Series Command Reference Manual page 137

Network management and monitoring
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.
vpn-instance vpn-instance-name: Specifies the MPLS L3VPN instance to which the
symmetric-passive peer belongs. The vpn-instance-name argument is a case-sensitive string of 1 to
31 characters. If the symmetric-passive peer is on the public network, do not specify this option.
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.
maxpoll maxpoll-interval: Specifies the maximum polling interval. The value range for the
maxpoll-interval argument is 4 to 17, to which base 2 is raised to get the interval in seconds. The
maximum polling interval is in the range of 2
maxpoll-interval argument is 6 and the default maximum polling interval is 2
minpoll minpoll-interval: Specifies the minimum polling interval. The value range for the
minpoll-interval argument is 4 to 17, to which base 2 is raised to get the interval in seconds. The
minimum polling interval is in the range of 2
minpoll-interval argument is 6 and the default minimum polling interval is 2
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.
To synchronize the PE to a PE or CE in a VPN instance, provide vpn-instance vpn-instance-name in
your command.
If you include vpn-instance vpn-instance-name in the undo ntp-service unicast-peer command,
the command removes the symmetric-passive peer in the specified VPN instance. If you do not
include vpn-instance vpn-instance-name in the command, the command removes the
symmetric-passive peer on the public network.
After you specify a symmetric-passive peer for a device, the device polls and synchronizes its time
with the peer device at the minimum polling interval. If the time discrepancy between the two
maintains in the acceptable range, the system gradually increases the polling interval until the
maximum polling interval is reached. If the time discrepancy exceeds the acceptable range
repeatedly, the polling interval decreases gradually.
The polling interval configuration takes effect from the next polling.
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
4
17
to 2
(16 to 131072) seconds. The default value for the
4
17
to 2
(16 to 131072) seconds. The default value for the
127
6
(64) seconds.
6
(64) seconds.

Advertisement

Table of Contents
loading

Table of Contents