EasyManua.ls Logo

Cisco Nexus 3548 series - Configuration Examples for NTP

Cisco Nexus 3548 series
230 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
Displays the RTS update status.show ntp rts-update
Step 9
Displays the NTP CFS distribution session
information.
show ntp session status
Step 10
Displays the configured NTP source IP
address.
show ntp source
Step 11
Displays the configured NTP source interface.show ntp source-interface
Step 12
Displays the NTP statistics.show ntp statistics {io | local | memory | peer
{ipaddr {ipv4-addr | ipv6-addr} | name
peer-name}}
Step 13
Displays the NTP CFS distribution status.show ntp status
Step 14
Displays the configured NTP trusted keys.show ntp trusted-keys
Step 15
Displays NTP information.show running-config ntp
Step 16
Configuration Examples for NTP
This example shows how to configure an NTP server and peer, enable NTP authentication, enable NTP
logging, and then save the configuration in startup so that it is saved across reboots and restarts:
switch# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# ntp server 192.0.2.105 key 42
switch(config)# ntp peer 2001:0db8::4101
switch(config)# show ntp peers
--------------------------------------------------
Peer IP Address Serv/Peer
--------------------------------------------------
2001:db8::4101 Peer (configured)
192.0.2.105 Server (configured)
switch(config)# ntp authentication-key 42 md5 aNiceKey
switch(config)# show ntp authentication-keys
-----------------------------
Auth key MD5 String
-----------------------------
42 aNicekey
switch(config)# ntp trusted-key 42
switch(config)# show ntp trusted-keys
Trusted Keys:
42
switch(config)# ntp authenticate
switch(config)# show ntp authentication-status
Authentication enabled.
switch(config)# ntp logging
switch(config)# show ntp logging
NTP logging enabled.
switch(config)# copy running-config startup-config
[########################################] 100%
switch(config)#
This example shows an NTP access group configuration with the following restrictions:
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
33
Configuring NTP
Configuration Examples for NTP

Table of Contents

Related product manuals