The display ntp-service statistics packet command displays statistics about global NTP packets.
| Parameter | Description | Value |
|---|---|---|
| ipv6 ipv6Addr |
Displays NTP packet statistics on a specified IPv6 peer. |
The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
| interface ifname |
Interface name. |
- |
| interface interface_type |
Interface type. |
- |
| interface interface_num |
Interface number. |
- |
| all |
Displays the packet statistics on all interfaces. |
- |
| peer |
Displays packet statistics on IPv4 peers. |
- |
| ipv4Addr |
Displays NTP packet statistics on a specified IPv4 peer. |
The value is an IPv4 address in dotted decimal notation. |
| vpn-instance vpnName |
Specifies the name of a VPN instance associated with the NTP peer. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. |
The actual command output varies according to the device. The command output here is only an example.
<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 : 30
Interface disabled : 0
Max dynamic association reached : 0
Server disabled : 0
Others : 0
Last 2 packets drop reasons:
| Item | Description |
|---|---|
| NTP IPv4 Packet Statistical Information | Statistics about NTP IPv4 packets. |
| Sent | Number of packets sent. |
| Send failures | Number of times packet sending failed. |
| Received | Number of packets received. |
| Processed | Number of packets processed. |
| Dropped | Number of packets dropped. |
| Validity test failures | Number of packets dropped due to NTP validity test failures. |
| Authentication failures | Number of packets dropped due to authentication failures. |
| 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 associations is reached. |
| Server disabled | Number of packets dropped as server disabled. |
| 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. |