< Home

display ntp-service statistics packet

Function

The display ntp-service statistics packet command displays statistics on 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 statistics on an NTP symmetric peer.

-

ip-address

Specifies the IP address of an NTP symmetric peer.

-

vpn-instance vpn-instance-name

Specifies a VPN instance related to an NTP symmetric peer.

The value must be an existing VPN instance name.

ipv6 Displays the packet statistics on IPv6 peers. -
ipv6-address Displays the NTP packet statistics on the specified IPv6 peer. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display ntp-service statistics packet command output includes the following information, and can help you to debug NTP packets.

  • Number of packets sent and received by an interface
  • Number of packets failing authentication
  • Number of dropped packets
  • Reason for dropping an NTP packet last time

Example

# Display the statistics on NTP packets.

<HUAWEI> 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   
       Server disabled                 : 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 on IPv4 NTP packets.
Sent Number of packets sent.
Send failures Number of failures in sending packets.
Received Number of received packets.
Processed Number of processed packets.
Dropped Number of dropped packets.
Validity test failures Number of packets dropped because the packets fail to pass the validity test.
Authentication failures Number of packets dropped because the packets fail to pass the authentication.
Invalid packets Number of packets dropped because the packets are invalid.
Access denied Number of packets dropped for lack of access control authority.
Rate-limited Number of packets dropped due to rate limit.
Processing delay Number of packets dropped because processing of the packets is delayed.
Interface disabled Number of packets dropped because the interface is disabled.
Max dynamic association reached Number of packets dropped because the maximum number of dynamic sessions is reached.
Server disabled Indicates the number of packets dropped as server disabled.
Others Number of packets dropped for other reasons.
Last 2 packets drop reasons Reason for dropping the last n packets, where the maximum value of n can be 10.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >