Configuring The Ntp Source Ip Address - Cisco Nexus 5600 Series Configuration Manual

Nx-os system management
Hide thumbs Also See for Nexus 5600 Series:
Table of Contents

Advertisement

Configuring NTP
Step 3
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
Step 1
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
OL-31641-01
Command or Action
switch(config)# show ntp
access-groups
switch(config)# copy
running-config
startup-config
Command or Action
switch# configure terminal
[no] ntp source ip-address
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
Configuring the NTP Source IP Address
Purpose
• 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.
(Optional)
Saves the change persistently through reboots and restarts by copying
the running configuration to the startup configuration.
Purpose
Enters global configuration mode.
Configures the source IP address for all NTP packets.
The ip-address can be in IPv4 or IPv6 format.
227

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents