Verifying The Ntp Configuration; Configuration Examples For Ntp - Cisco Nexus 9000 Series Configuration Manual

Nx-os system management configuration guide, release 6.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring NTP
Step 4

Verifying the NTP Configuration

To display the NTP configuration, perform one of the following tasks:
Command
show ntp access-groups
show ntp authentication-keys
show ntp authentication-status
show ntp logging-status
show ntp peer-status
show ntp peers
show ntp rts-update
show ntp source
show ntp source-interface
show ntp statistics {io | local | memory | peer
{ipaddr {ipv4-addr | ipv6-addr} | name peer-name}}
show ntp trusted-keys
show running-config ntp
Use the clear ntp session command to clear the NTP sessions.
Use the clear ntp statistics command to clear the NTP statistics.

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# configure 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
Command or Action
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Cisco Nexus 9000 Series NX-OS System Management Configuration Guide, Release 6.x
Verifying the NTP Configuration
Purpose
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Displays the NTP access group configuration.
Displays the configured NTP authentication keys.
Displays the status of NTP authentication.
Displays the NTP logging status.
Displays the status for all NTP servers and peers.
Displays all the NTP peers.
Displays the RTS update status.
Displays the configured NTP source IP address.
Displays the configured NTP source interface.
Displays the NTP statistics.
Displays the configured NTP trusted keys.
Displays NTP information.
19

Advertisement

Table of Contents
loading

Table of Contents