display ipv6 statistics

Function

The display ipv6 statistics command displays IPv6 traffic statistics.

Format

display ipv6 statistics [ interface interface-name | interface interface-type interface-number ]

Parameters

Parameter Description Value
interface interface-name

Specifies the name of an interface.

The value is a string of 1 to 63 case-sensitive characters, spaces not supported.

interface interface-type interface-number

Displays IPv6 traffic statistics on the interface with a specified type and number.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ip-stack read

Usage Guidelines

Usage Scenario

To view statistics about the sent and received IPv6 packets, run the display ipv6 statistics command.

During transmission of IPv6 packets, when the source end implements fragmentation on IPv6 packets, run the display ipv6 statistics command to view the number of successfully fragmented IPv6 packets and the total number of sent fragmented packets. On the destination end, this command also displays whether the number of received fragmented packets is correct. The incorrect packets are discarded and the number of discarded packets is increased correspondingly.

Precautions

The packets received by a router include the forwarded packets, the packets transmitted to the upper layer, and the discarded packets.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display IPv6 traffic statistics on a router.
<HUAWEI> display ipv6 statistics
IPv6 protocol:
  Sent packets:
    Total                : 16         
    Local sent out       : 16           Forwarded            : 0          
    Raw packets          : 16           Discarded            : 0          
    Fragmented           : 0            Fragments            : 0          
    Fragments failed     : 0            Multicast            : 0          
  Received packets:
    Total                : 576453       Local host           : 281268     
    Hop count exceeded   : 0            Header error         : 0           
    Too big              : 0            Routing failed       : 0          
    Address error        : 0            Protocol error       : 0          
    Truncated            : 0            Option error         : 0          
    Fragments            : 0            Reassembled          : 0          
    Reassembly timeout   : 0            Multicast            : 576453   
    Fragments error      : 1
    Extension header:
      Hop-by-hop options    : 284107       Mobility header        : 0         
      Destination options   : 0            Routing header         : 0         
      Fragment header       : 0            Authentication header  : 0         
      Encapsulation header  : 0            No header              : 0         
      TLV length error      : 0            Header length error    : 0         
      Unknown header type   : 0            Unknown TLV type       : 0
    filter:
      Hop-by-hop options    : 2            Fragment header        : 0         
      Destination options   : 0            Routing header         : 0         
      Authentication header : 0            Encapsulation header   : 0
Table 1 Description of the display ipv6 statistics command output
Item Description
IPv6 protocol

IPv6 protocol.

Sent packets

Statistics about sent packets.

Total

Total number of sent packets.

Total

Total number of received packets.

Local sent out

Number of locally sent packets.

Local host

Number of packets received by the local host, that is, the number of packets whose unicast destination address is the host address or the multicast destination address and the host address belong to the same multicast group. Packets with incorrect IPv6 headers, packets with the packet length shorter than 40 bytes, and packets with the extension header length greater than the packet length are not counted.

Forwarded

Number of forwarded packets.

Raw packets

Packets sent by raw socket, such as ping or tracert packets.

Discarded

Total number of discarded packets.

Fragmented

Number of successfully fragmented IPv6 packets.

Fragments

Number of sent fragmented packets.

Fragments failed

Number of IPv6 packets that fail to be fragmented.

Fragments

Number of received fragmented packets.

Fragments error

Number of packets with an incomplete first fragment header.

Multicast

Number of sent multicast packets.

Multicast

Number of received multicast packets.

Received packets

Statistics about received packets.

Hop count exceeded

Number of packets discarded because of excessive hop count.

Header error

Number of packets carrying an incorrect header format.

Header length error

Number of extension headers in which the length field is wrong.

Too big

Number of packets that fail to be forwarded because of excessive sizes.

Routing failed

Number of packets that fail to be routed.

Routing header

Number of routing option headers.

Routing header

Route extension header.

Address error

Number of packets carrying an incorrect address.

Protocol error

Number of packets carrying an incorrect protocol type.

Truncated

Number of packets discarded because the actual packet length is shorter than that specified in the packet length field.

Option error

Number of packets carrying an incorrect option.

Reassembled

Number of successfully reassembled packets.

Reassembly timeout

Number of packets that fail to be reassembled because of timeout.

Extension header

Statistics on extension headers of received packets.

Hop-by-hop options

Number of hop-by-hop option headers.

Hop-by-hop options

Hop-by-hop extension header.

Mobility header

Number of mobility headers.

Destination options

Number of destination option headers.

Destination options

Destination option extension header.

Fragment header

Number of fragment headers.

Fragment header

Fragment extension header.

Authentication header

Number of authentication headers.

Authentication header

Authentication extension header.

Encapsulation header

Number of encapsulation headers.

Encapsulation header

Encapsulating payload extension header.

No header

Number of headers not followed by any upper-layer protocols.

TLV length error

Number of extension headers in which the TLV length field is wrong.

Unknown header type

Number of unknown extension header types.

Unknown TLV type

Number of unknown TLV types.

filter

Number of packets discarded based on the configured IPv6 extension header.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >