![Cisco ASR 14000 Series Скачать руководство пользователя страница 444](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667444.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
NTP Commands on Cisco IOS XR Software
peer (NTP)
SMR-442
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
peer (NTP)
To configure the system clock to synchronize a peer or to be synchronized by a peer, use the
peer
command in NTP configuration mode. To remove the
peer
command from the configuration file and
restore the system to its default condition with respect to the command, use the
no
form of this command.
peer
ip-address
[
version
number
] [
key
key-id
] [
minpoll
interval
] [
maxpoll
interval
]
[
source
interface-type
interface-id
] [
prefer
]
no
peer
ip-address
Syntax Description
Defaults
No peers are configured by default. If a peer is configured, the default NTP version number is 4, no
authentication key is used, and the source IP address is taken from the outgoing interface.
minpoll
interval
: 6 seconds
maxpoll
interval
: 10 seconds
Command Modes
NTP configuration
ip-address
IPv4 address of the peer providing or being provided with the clock
synchronization.
version
number
(Optional) Defines the Network Time Protocol (NTP) version number,
where the
number
argument is a value from 1 to 4. The default is 4.
key
key-id
(Optional) Defines the authentication key, where the
key-id
argument is the
authentication key to use when packets are sent to this peer. The
authentication key is also used for packets received from the peer.
minpoll
interval
(Optional) Defines the shortest polling interval, where the
interval
argument
is specified in seconds as a power of two. The number is used in a
power-of-two (for example, 2 meaning 2
6
= 64), and can be in the range from
4 to 14. The default value is 6.
maxpoll
interval
(Optional) Defines the longest polling interval, where the
interval
argument
is specified in seconds as a power-of-two. The default value is 10.
source
(Optional) IP source address. The default is the outgoing interface.
interface-type
(Optional) Interface type. For more information, use the question mark (
?
)
online help function.
interface-id
(Optional) Identifies a physical interface or a virtual interface.
Note
Use the
show interfaces
command to see a list of all possible
interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(
?
) online help function.
prefer
(Optional) Makes this peer the preferred peer that provides synchronization.