OcNOS-SP : System Management Guide : System Management Command Reference : Network Time Protocol : show ntp statistics
show ntp statistics
Use this command to display NTP statistics.
Command Syntax
show ntp statistics (io | local | memory | peer ( ipaddr (A.B.C.D | X:X::X:X ) | name (HOSTNAME)) )
Parameters
io
Counters maintained in the input-output module
local
Counters maintained in the local protocol module
memory
Counters related to memory allocation
peer
Counters associated with the specified peer
A.B.C.D
Peer IPv4 address
X:X::X:X
Peer IPv6 address
HOSTNAME
Peer host name
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show ntp statistics local
time since restart: 1685
time since reset: 1685
packets received: 4
packets processed: 0
current version: 0
previous version: 0
declined: 0
access denied: 0
bad length or format: 0
bad authentication: 0
rate exceeded: 0
#show ntp statistics memory
time since reset: 1698
total peer memory: 15
free peer memory: 15
calls to findpeer: 0
new peer allocations: 0
peer demobilizations: 0
hash table counts: 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
Table 14-26 explains the output fields.
 
Table 14-26: show ntp statisticsfields
Entry
Description
Time since restart
Time when the ntp protocols were last started and how long they have been running.
Time since reset
Time when the ntp protocols were last reset and how long they have been running.
Packets received
Number of packets received from the peers.
Packets processed
Number of packets processed to the peers.
Current version
Current version of the protocol that is being used.
Previous version
Previous version of the protocol that has been used.
Declined
Access to the protocol declined
Access denied
Number of attempts denied to access protocol
Bad length or format
Number of messages received with length or format errors so severe that further classification could not occur.
Bad authentication
Number of messages received with incorrect authentication.
Rate exceeded
Exceed the configured rate if additional bandwidth is available from other queues
Total peer memory
Actual memory available to the peer system.
Free peer memory
Free memory available to the peer system.
Calls to find peer
Number of calls to find peer.
New peer allocations
Number of allocations from the free peer list.
Peer demobilizations
Number of structures freed to free peer list.
Hash table counts
Peer hash table’s each bucket count.
Last modified date: 10/19/2023