display ipv6 statistics

Syntax

display ipv6 statistics [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

slot slot-number: Displays the IPv6 and ICMPv6 packets statistics on a specific IRF member switch. The slot-number argument specifies the ID of an IRF member switch. The value range for the argument depends on the number of member switches and their member IDs in the IRF fabric, which you can display with the display irf command. On a standalone device, the slot-number argument specifies the ID of the device.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display ipv6 statistics to display statistics of IPv6 packets and ICMPv6 packets.

You can use the reset ipv6 statistics command to clear all IPv6 and ICMPv6 packet statistics.

Examples

# Display the statistics of IPv6 packets and ICMPv6 packets.

<Sysname> display ipv6 statistics
  IPv6 Protocol:

    Sent packets:
      Total:      0
        Local sent out:0            forwarded:0
        raw packets:    0            discarded:0
        routing failed:0            fragments:0
        fragments failed:0

    Received packets:
      Total:      0
        local host:0            hopcount exceeded:0
        format error:0            option error:0
        protocol error:0            fragments:0
        reassembled:    0            reassembly failed:0
        reassembly timeout:0

  ICMPv6 protocol:

    Sent packets:
      Total:      0
        unreached:0               too big:0
        hopcount exceeded:0               reassembly timeout:0
        parameter problem:0
        echo request:0               echo replied:    0
        neighbor solicit:0               neighbor advert:0
        router solicit:0               router advert:0
        redirected:    0               router renumbering:   0
      Send failed:
        ratelimited:0               other errors:0

    Received packets:
      Total:      0
        checksum error:0              too short:0
        bad code:0
        unreached:0              too big:0
        hopcount exceeded:0              reassembly timeout:0
        parameter problem:0              unknown error type:0
        echo request:0              echo replied:    0
        neighbor solicit:0              neighbor advert:0
        router solicit:0              router advert:    0
        redirected:    0              router renumbering:0
        unknown info type:0
      Deliver failed:
        bad length:    0               ratelimited:0

Table 38: Command output

Field

Description

IPv6 Protocol:

Statistics of IPv6 packets.

Sent packets:

Total: 0

Local sent out: 0 forwarded: 0

raw packets: 0 discarded: 0

routing failed: 0 fragments: 0

fragments failed: 0

Statistics of sent IPv6 packets:

  • Total number of packets sent and forwarded locally.

  • Number of packets sent locally.

  • Number of forwarded packets.

  • Number of packets sent via raw socket.

  • Number of discarded packets.

  • Number of packets failing to be routed.

  • Number of sent fragment packets.

  • Number of fragments failing to be sent.

Received packets:

Total: 0

local host: 0 hopcount exceeded: 0

format error: 0 option error: 0

protocol error:0 fragments: 0

reassembled: 0 reassembly failed: 0

reassembly timeout: 0

Statistics of received IPv6 packets:

  • Total number of received packets.

  • Number of packets received locally.

  • Number of packets exceeding the hop limit.

  • Number of packets in an incorrect format.

  • Number of packets with incorrect options.

  • Number of packets with incorrect protocol.

  • Number of received fragment packets.

  • Number of reassembled packets.

  • Number of packets failing to be reassembled.

  • Number of packets whose reassembly times out.

ICMPv6 protocol:

Statistics of ICMPv6 packets.

Sent packets:

Total: 0

unreached: 0 too big: 0

hopcount exceeded: 0 reassembly timeout: 0

parameter problem: 0

echo request: 0 echo replied: 0

neighbor solicit: 0 neighbor advert: 0

router solicit: 0 router advert 0

redirected: 0 router renumbering: 0

Send failed:

ratelimited: 0 other errors: 0

Statistics of sent ICMPv6 packets:

  • Total number of sent packets.

  • Number of Destination Unreachable packets.

  • Number of Packet Too Big packets.

  • Number of Hop Limit Exceeded packets.

  • Number of Fragment Reassembly Time Exceeded packets.

  • Number of Parameter Problem packets.

  • Number of Echo Request packets.

  • Number of Echo Reply packets.

  • Number of neighbor solicitation packets.

  • Number of neighbor advertisement packets.

  • Number of router solicitation packets.

  • Number of router advertisement packets.

  • Number of Redirect packets.

  • Number of router renumber (RR) packets.

  • Number of packets failing to be sent due to rate limitation.

  • Number of packets with other errors.

Received packets:

Total: 0

checksum error: 0 too short: 0

bad code: 0

unreached: 0 too big: 0

hopcount exceeded: 0 reassembly timeout: 0

parameter problem: 0 unknown error type: 0

echo request: 0 echo replied: 0

neighbor solicit: 0 neighbor advert: 0

router solicit: 0 router advert 0

redirected: 0 router renumbering 0

unknown info type: 0

Deliver failed:

bad length: 0 ratelimited: 0

Statistics of received ICMPv6 packets:

  • Total number of received packets.

  • Number of packets with checksum errors.

  • Number of too small packets.

  • Number of packets with error codes.

  • Number of Destination Unreachable packets.

  • Number of Packet Too Big packets.

  • Number of Hop Limit Exceeded packets.

  • Number of Fragment Reassembly Times Exceeded packets.

  • Number of Parameter Problem packets.

  • Number of packets with unknown errors.

  • Number of Echo Request packets.

  • Number of Echo Reply packets.

  • Number of neighbor solicitation messages.

  • Number of neighbor advertisement packets.

  • Number of router solicitation packets.

  • Number of router advertisement packets.

  • Number of Redirect packets.

  • Number of RR packets.

  • Number of unknown type of packets.

  • Number of packets with a incorrect size.

  • Number of packets failing to be received due to rate limitation.