Configuring Ntp; Ntp Cfs Distribution - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Chapter 1
Configuring the Switch
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

Configuring NTP

You can configure NTP using either IPv4 addresses, IPv6 addresses, or Domain Name Services (DNS)
names. To configure NTP associations, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# ntp server
{ip-address | ipv6-address |
dns-name}
Step 3
switch(config)# ntp peer {ip-address
| ipv6-address | dns-name}
Step 4
switch(config)# exit
Step 5
switch# copy running-config
startup-config
Step 6
switch# show ntp peers

NTP CFS Distribution

You can enable NTP fabric distribution for all Cisco Nexus 5000 Series switches in a fabric using the
Cisco Fabric Services (CFS). When you perform NTP configurations, and distribution is enabled, the
entire server or peer configuration is distributed to all the switches in the fabric.
You automatically acquire a fabric-wide lock when you enter the first configuration command after you
enabled distribution in a switch.The NTP application uses an effective and pending database model to
store or commit the commands based on your configuration. You changes are stored in the pending
database and committed to the effective database.
See the
This section includes the following sections:
OL-16597-01
IPv4 address–10.10.10.10
Stratum–2 Server-2
IPv4 address–10.10.10.9
Switch 1 IPv4 address–10.10.10.1
Switch 1 NTP configuration commands
ntp server 10.10.10.10
ntp peer 10.10.10.2
Switch 2 IPv4 address–10.10.10.2
Switch 2 NTP configuration commands
ntp server 10.10.10.9
ntp peer 10.10.10.1
"Information About CFS" section on page 1-1
Enabling NTP Distribution, page 1-18
Purpose
Enters configuration mode.
Forms an association with a server.
Forms an association with a peer. You can specify
multiple associations.
Returns to EXEC mode.
Saves your configuration changes to NVRAM.
This is one instance where you can save the
Tip
configuration as a result of an NTP configuration
change. You can enter this command at any time.
Displays the configured server and peer associations.
for more information on the CFS application.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
NTP Configuration
1-17

Advertisement

Table of Contents
loading

Table of Contents