EasyManua.ls Logo

Cisco Nexus 5600 Series - Configuring the NTP Source IP Address

Cisco Nexus 5600 Series
378 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PurposeCommand or Action
•
The serve keyword enables the device to receive time requests
and NTP control queries from the servers specified in the
access list but not to synchronize itself to the specified servers.
•
The serve-only keyword enables the device to receive only
time requests from servers specified in the access list.
•
The query-only keyword enables the device to receive only
NTP control queries from the servers specified in the access
list.
(Optional) Displays the NTP access group configuration.switch(config)# show ntp
access-groups
Step 3
(Optional)
Saves the change persistently through reboots and restarts by copying
the running configuration to the startup configuration.
switch(config)# copy
running-config
startup-config
Step 4
This example shows how to configure the device to allow it to synchronize to a peer from access group
"accesslist1":
switch# configure terminal
switch(config)# ntp access-group peer accesslist1
switch(config)# show ntp access-groups
Access List Type
-----------------------------
accesslist1 Peer
switch(config)# copy running-config startup-config
[########################################] 100%
switch(config)#
Configuring the NTP Source IP Address
NTP sets the source IP address for all NTP packets based on the address of the interface through which the
NTP packets are sent. You can configure NTP to use a specific source IP address.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Configures the source IP address for all NTP packets.
The ip-address can be in IPv4 or IPv6 format.
[no] ntp source ip-address
Step 2
This example shows how to configure an NTP source IP address of 192.0.2.2.
switch# configure terminal
switch(config)# ntp source 192.0.2.2
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
OL-31641-01 227
Configuring NTP
Configuring the NTP Source IP Address

Table of Contents

Other manuals for Cisco Nexus 5600 Series

Related product manuals