Displaying And Clearing Ntp Statistics - Cisco MDS 9000 Series Configuration Manual

Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Configuring NTP
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
ntp server {ip-address | ipv6-address | dns-name}
Example:
switch(config)# ntp server 192.0.2.10
Step 3
ntp peer {ip-address | ipv6-address | dns-name}
Example:
switch(config)# ntp peer 2001:0db8::4101
Step 4
show ntp peers
Example:
switch(config)# show ntp peers
Step 5
copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config

Displaying and Clearing NTP Statistics

NTP generates statistics that you can display and clear as needed.
SUMMARY STEPS
1. display ntp statistics {peer | io | local | memory}
2. clear ntp statistics {peer | io | local | memory}
DETAILED STEPS
Command or Action
Step 1
display ntp statistics {peer | io | local | memory}
Example:
switch# show ntp statistics peers
OL-29291-02
Purpose
Enters configuration mode.
Forms an association with a server.
Forms an association with a peer. You can specify
multiple peer associations.
(Optional)
Displays the configured server and peers.
A domain name is resolved only when you
Note
have a DNS server configured.
(Optional)
Saves this configuration change.
Purpose
Displays the NTP statistics. You can display the following NTP
statistics:
• peer—NTP statistics for per peer.
• io—NTP statistics for I/O devices.
Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
Displaying and Clearing NTP Statistics
135

Advertisement

Table of Contents
loading

Table of Contents