Configuring The Ntp Source Ip Address - Cisco Nexus 3548 series Configuration Manual

Nx-os system management, release 7.x
Hide thumbs Also See for Nexus 3548 series:
Table of Contents

Advertisement

Configuring the NTP Source IP Address

Step 3
Step 4
Example
This example shows how to configure the device to allow it to synchronize to a peer from access
group "accesslist1":
switch# config t
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.
To configure the NTP source IP address, use the following command in global configuration mode:
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
28
Command or Action
(Optional) switch(config)# show ntp
access-groups
(Optional) switch(config)# copy
running-config startup-config
Purpose
queries and to synchronize itself to the
servers specified in the access list.
• 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.
Displays the NTP access group configuration.
Saves the change persistently through reboots
and restarts by copying the running
configuration to the startup configuration.
Configuring NTP

Advertisement

Table of Contents
loading

Table of Contents