Cisco Nexus 7000 Series Configuration Manual page 81

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring NTP
Step 2
Step 3
Step 4
Step 5
Command or Action
[no] ntp server {ip-address |
ipv6-address | dns-name} [key
key-id] [maxpoll max-poll]
[minpoll min-poll] [prefer]
[use-vrf vrf-name]
Example:
switch(config)# ntp server
192.0.2.10
[no] ntp peer {ip-address |
ipv6-address | dns-name} [key
key-id] [maxpoll max-poll]
[minpoll min-poll] [prefer]
[use-vrf vrf-name]
Example:
switch(config)# ntp peer
2001:0db8::4101
show ntp peers
Example:
switch(config)# show ntp peers
copy running-config
startup-config
Example:
switch(config)# copy
running-config startup-config
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Configuring an NTP Server and Peer
Purpose
Forms an association with a server.
Use the key keyword to configure a key to be used while
communicating with the NTP server. The range for the key-id
argument is from 1 to 65535.
Use the maxpoll and minpoll keywords to configure the
maximum and minimum intervals in which to poll a server. The
range for the max-poll and min-poll arguments is from 4 to 16
seconds, and the default values are 6 and 4, respectively.
Use the prefer keyword to make this server the preferred NTP
server for the device.
Use the use-vrf keyword to configure the NTP server to
communicate over the specified VRF. The vrf-name argument
can be default, management, or any case-sensitive,
alphanumeric string up to 32 characters.
If you configure a key to be used while communicating
Note
with the NTP server, make sure that the key exists as a
trusted key on the device.
Forms an association with a peer. You can specify multiple peer
associations.
Use the key keyword to configure a key to be used while
communicating with the NTP peer. The range for the key-id
argument is from 1 to 65535.
Use the maxpoll and minpoll keywords to configure the
maximum and minimum intervals in which to poll a peer. The
range for the max-poll and min-poll arguments is from 4 to 17
seconds, and the default values are 6 and 4, respectively.
Use the prefer keyword to make this peer the preferred NTP
peer for the device.
Use the use-vrf keyword to configure the NTP peer to
communicate over the specified VRF. The vrf-name argument
can be default, management, or any case-sensitive,
alphanumeric string up to 32 characters.
(Optional)
Displays the configured server and peers.
Note
A domain name is resolved only when you have a DNS
server configured.
(Optional)
Copies the running configuration to the startup configuration.
53

Advertisement

Table of Contents
loading

Table of Contents