< Home

display ipv6 statistics

Function

The display ipv6 statistics command displays the IPv6 traffic statistics.

Format

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

Parameters

Parameter Description Value
interface interface-type interface-number Indicates the IPv6 traffic statistics on the specified interface. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The display ipv6 statistics command can be used to display the statistics on sent and received IPv6 packets.

If the source device has fragmented packets during packet transmission, you can run the display ipv6 statistics command to view the total number of IPv6 packets that are successfully fragmented and the total number of sent fragments. Then, check whether the number of the fragments received by the destination device is correct.

Precautions

The total number of packets received by a routing device includes the number of packets forwarded by the device, the number of packets sent to the CPU of the device, and the number of packets discarded by the device.

Example

# Display the statistics of the IPv6 packet processed by the device.

<sysname> display ipv6 statistics
IPv6 Protocol:                                                                  

  Sent packets:                                                                 
    Total              : 3630                                                   
    Local sent out     : 3630       Forwarded          : 0                      
    Raw packets        : 0          Discarded          : 0                      
    Fragmented         : 0          Fragments          : 0                      
    Fragments failed   : 0          Multicast          : 0                      
                                                                                
  Received packets:                                                             
    Total              : 3630       Local host         : 3630                   
    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 on the sent packets

Total

Total count of the sent packets

Local sent out

Total count of the packets sent by local hosts

Multicast

multicast

Forwarded

Count of the forwarded packets

Raw packets

Total count of the packets sent through the raw socket, such as Ping or Tracert packets

Discarded

Total count of the discarded packets

Fragmented

Total count of the IPv6 packets successfully fragmented

Fragments

Total count of the sent fragments

Fragments failed

Total count of the IPv6 packets that fail to be fragmented

Multicast

Total count of the sent multicast packets

Received packets

Statistics about the received packets

Total

Total count of the received packets

Local host

Total count of the packets received by local hosts

Hop count exceeded

Total count of the packets with excessive hop count

Header error

Total count of the packets with wrong header. The errors in the header include version number mismatch, other format errors, hop count exceeded, and errors discovered in processing their IPv6 options.

Too big

Total count of the received packets that cannot be forwarded because of excessive sizes

Routing failed

Total count of the packets that fail to be routed

Address error

Total count of the packets that carry wrong IP addresses

Protocol error

Total count of the packets that carry wrong protocol types

Truncated

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

Option error

Total count of the packets that carry wrong options

Fragments

Total count of the received fragments

Reassembled

Total count of the packets successfully reassembled

Reassembly timeout

Total count of the packets that fail to be reassembled because of timeout

Fragments overlap

Total count of overlapped fragments

Extension Header

Total count of the IPv6 extension headers

Hop-by-Hop Options

Total count of the hop-by-hop options headers

Mobility Header

Total count of the mobility headers

Destination Options

Total count of the destination options headers

Routing Header

Total count of the routing options headers

Fragment Header

Total count of the fragment headers

Authentication Header

Total count of the authentication headers

Encapsulation Header

Total count of the encapsulation headers

No header

Total count of the packets without headers

TLV Length error

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

Header Length error

Total count of the extension headers in which the length field is wrong

Unknown header type

Total count of the unknown extension header types

Unknown TLV type

Total count of the unknown TLV types

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