< Home

display ntp-service statistics packet

Function

The display ntp-service statistics packet command displays the statistics about global NTP packets.

Format

display ntp-service statistics packet [ ipv6 | peer [ ip-address [ vpn-instance vpn-instance-name ] | ipv6 [ ipv6-address [ vpn-instance vpn-instance-name ] ] ] ]

Parameters

Parameter Description Value
ipv6 Displays statistics about global IPv6 NTP packets. -
peer Displays the packet statistics on IPv4 peers. -
ip-address Specifies anIPv4 peer. -
vpn-instance vpn-instance-name Specifies the VPN instance associated with the NTP peer. -
ipv6 Displays the packet statistics on IPv6 peers. -
ipv6-address Specifies an IPv6 peer. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display output of display ntp-service statistics packet command provides the following information, which can be used for debugging NTP:
  • The number of NTP packets received from the peer.
  • The number of NTP packets sent for the peer.
  • The number of NTP packets processed.
  • The number of NTP packets dropped.

Example

# Display the statistics about global NTP packets.

<sysname> display ntp-service statistics packet
NTP IPv4 Packet Statistical Information    
-------------------------------------------
Sent                                  : 100
   Send failures                      : 10 
Received                              : 1000
   Processed                          : 800
   Dropped                            : 200
      Validity test failures          : 50
         Authentication failures      : 20
      Invalid packets                 : 50
      Access denied                   : 50
      Rate-limited                    :  0
      Processing delay                : 50
      Interface disabled              :  0
      Max dynamic association reached :  0
      Autokey failures               :  0
      Others                          :  0
Last 2 packets drop reasons:
  [2011-11-24 12:19:26-08:00] Global drop: NTP service disabled for interface.
  [2011-11-24 12:20:30-08:00] Global drop: NTP service disabled for interface.
Table 1 Description of the display ntp-service statistics packet command output

Item

Description

NTP IPv4 Packet Statistical Information Statistics about NTP IPv4 packets
Sent Number of sent packets
Send failures Number of times packet sending failed
Received Number of received packets
Processed Number of processed packets
Dropped Number of dropped packets
Validity test failures Number of packets dropped due to NTP validity test failure
Authentication failures Number of packets dropped due to authentication failure
Invalid packets Number of packets dropped due to invalid packets
Access denied Number of packets dropped due to denial of access
Rate-limited Number of packets dropped due to rate limit
Processing delay Number of packets dropped due to processing delay
Interface disabled Number of packets dropped as the interface is disabled
Max dynamic association reached Number of packets dropped as the maximum number of dynamic association is reached
Autokey failures Number of packets dropped due to autokey failure
Others Number of packets dropped due to other reasons
Last 2 packets drop reasons Reason for dropping the last n packets, where the maximum value of n can be 10

# Display the packet statistics on the peer whose IPv4 address is 1.1.1.1.

<sysname> display ntp-service statistics packet peer 1.1.1.1
NTP Peer Packet Statistical Information
---------------------------------------
Peer 1.1.1.1 (Local mode: Client/Configured)
Sent                            : 100
   Send failures                : 10
Received                        : 1000
   Processed                    : 800
   Dropped                      : 20
      Access denied             : 5
      Rate-limited              : 5
      Validity test failures    : 5
         Authentication failures: 3
      Autokey failures          : 5
      Others                    : 0
Table 2 Description of the display ntp-service statistics packet peer ip-address command output

Item

Description

Peer 1.1.1.1 (Local mode: Client/Configured) IP address, local mode, and session type of the peer
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >