Chapter 5
Initial Configuration
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
Figure 5-3
Stratum-2
Server-1
In this configuration, the switches were configured as follows:
•
•
•
•
•
•
Configuring NTP
You can configure NTP using either IPv4 addresses, IPv6 addresses, or DNS names.
To configure NTP in a server association using IPv4 addresses, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# ntp server 10.10.10.10
Step 3
switch(config)# ntp peer 10.20.10.0
Step 4
switch(config)# exit
switch#
OL-18084-01, Cisco MDS NX-OS Release 4.x
NTP Peer and Server Association
From lower stratum
server-1
Peer association
Server
association
Peer association
Switch-1
Stratum 2 Server 1
–
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
NTP server 10.10.10.10
–
NTP peer 10.10.10.2
–
Switch 2 IPv4 address–10.10.10.2
Switch 2 NTP configuration
NTP server 10.10.10.9
–
NTP peer 10.10.10.1
–
From lower stratum
server-2
Stratum-2
Server-2
Server
association
Switch-2
Purpose
Enters configuration mode.
Forms a server association with a server.
Forms a peer association with a peer. You can
specify multiple associations.
Returns to EXEC mode.
Cisco MDS 9000 Family CLI Configuration Guide
NTP Configuration
5-21