< Home

display ipv6 statistics

Function

The display ipv6 statistics command displays IPv6 traffic statistics.

Format

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

Parameters

Parameter Description Value
interface interface-type interface-number Displays IPv6 traffic statistics on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

You can run the display ipv6 statistics command to view statistics on received and sent IPv6 packets.

During packet transmission, if the source node has fragmented packets, you can run this command to view the total number of IPv6 packets that are successfully fragmented and the total number of fragmented packets that have been sent, and then check whether the number of fragmented packets received by the destination node is correct.

Precautions

The total number of packets received by the device includes the number of forwarded packets, number of packets delivered by the routing device to the upper layer, and number of discarded packets.

Example

# Display IPv6 traffic statistics on the device.

<HUAWEI> display ipv6 statistics
IPv6 Protocol:                                                                  
                                                                                
  Sent packets:                                                                 
    Total              : 0                                                      
    Local sent out     : 0          Forwarded          : 0                      
    Raw packets        : 0          Discarded          : 0                      
    Fragmented         : 0          Fragments          : 0                      
    Fragments failed   : 0          Multicast          : 0                      
                                                                                
  Received packets:                                                             
    Total              : 0          Local host         : 0                      
    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          : 0                      
    Fragments overlap  : 0                                                      
    Extension header:                                                            
      Hop-by-hop options   : 0               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   
Table 1 Description of the display ipv6 statistics command output
Item
Description

Sent packets

Statistics about sent packets.

Total

Total number of sent packets.

Local sent out

Total number of packets sent by the local device.

Forwarded

Number of forwarded packets.

Raw packets

Total number of packets sent through the raw socket, such as ping or tracert packets.

Discarded

Total number of discarded packets.

Fragmented

Total number of IPv6 packets that are successfully fragmented.

Fragments

Total number of sent fragmented packets.

Fragments failed

Total number of IPv6 packets that fail to be fragmented.

Multicast

Total number of sent multicast packets.

Received packets

Statistics about received packets.

Total

Total number of received packets.

Local host

Total number of packets received by the local device.

Hop count exceeded

Total number of packets whose hops exceed the upper limit.

Header error

Total number of packets with incorrect packet header.

Too big

Total number of received packets that fail to be forwarded because of excessive size.

Routing failed

Total number of packets that fail to be routed.

Address error

Total number of packets with incorrect IP addresses.

Protocol error

Total number of packets with the incorrect protocol.

Truncated

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

Option error

Total number of packets that carry incorrect options.

Fragments

Total number of received fragmented packets.

Reassembled

Total number of packets that are successfully reassembled.

Reassembly timeout

Total number of packets that fail to be reassembled due to timeout.

Multicast

Total number of received multicast packets.

Fragments overlap

Total number of received fragmented packets that are overlapped.

Extension Header

Total number of the IPv6 extension headers.

Hop-by-Hop Options

Total number of the hop-by-hop options headers.

Mobility Header

Total number of the mobility headers.

Destination Options

Total number of the destination options headers.

Routing Header

Total number of the routing options headers.

Fragment Header

Total number of the fragment headers.

Authentication Header

Total number of the authentication headers.

Encapsulation Header

Total number of the encapsulation headers.

No header

Total number of the packets without headers.

TLV Length error

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

Header Length error

Total number of the extension headers in which the length field is wrong.

Unknown header type

Total number of the unknown extension header types.

Unknown TLV type

Total number of the unknown TLV types.

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