display ipv6 interface tunnel

Syntax

display ipv6 interface tunnel [ number ] [ brief ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

number: Displays IPv6 information on a specific tunnel interface. If no interface number is specified, IPv6 information about all tunnel interfaces will be displayed.

brief: Displays brief information about tunnel interfaces. If this keyword is not specified, detailed information and IPv6 packet statistics for tunnel interfaces are displayed.

|: 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 interface tunnel to display IPv6 information for tunnel interfaces.

Examples

# Display detailed IPv6 information and IPv6 packet statistics for interface Tunnel 0.

<Sysname> display ipv6 interface tunnel 0
Tunnel0 current state :UP
Line protocol current state :UP
IPv6 is enabled, link-local address is FE80::202:201
  Global unicast address(es):
    3000::1, subnet is 3000::/64
  Joined group address(es):
    FF02::1:FF02:201
    FF02::1:FF00:1
    FF02::1:FF00:0
    FF02::2
    FF02::1
  MTU is 1480 bytes
  ND reachable time is 30000 milliseconds
  ND retransmit interval is 1000 milliseconds
  Hosts use stateless autoconfig for addresses
IPv6 Packet statistics:
  InReceives:                    45
  InTooShorts:                   0
  InTruncatedPkts:               0
  InHopLimitExceeds:             0
  InBadHeaders:                  0
  InBadOptions:                  0
  ReasmReqds:                    0
  ReasmOKs:                      0
  InFragDrops:                   0
  InFragTimeouts:                0
  OutFragFails:                  0
  InUnknownProtos:               0
  InDelivers:                    45
  OutRequests:                   45
  OutForwDatagrams:              0
  InNoRoutes:                    0
  InTooBigErrors:                0
  OutFragOKs:                    0
  OutFragCreates:                0
  InMcastPkts:                   0
  InMcastNotMembers:             0
  OutMcastPkts:                  0
  InAddrErrors:                  0
  InDiscards:                    0
  OutDiscards:                   0

Table 57: Command output

Field

Description

Tunnel0 current state

Physical state of the tunnel interface:

  • Administratively DOWN—The interface is administratively down. That is, the interface is shut down with the shutdown command.

  • DOWN—The interface is administratively up but its physical state is down.

  • UP—Both the administrative and physical states of the interface are up.

Line protocol current state

Link layer state of the tunnel interface:

  • DOWN—The protocol state of the interface is down.

  • UP—The protocol state of the interface is up.

IPv6 is enabled

IPv6 packet forwarding state of the tunnel interface. IPv6 packet forwarding is automatically enabled after an IPv6 address is assigned to the interface. IPv6 packet forwarding is enabled in the example.

link-local address

Link-local address configured for the tunnel interface.

Global unicast address(es)

Global unicast addresses configured for the tunnel interface.

Joined group address(es)

Multicast addresses of the tunnel interface.

MTU is 1480 bytes

Maximum transmission unit of the tunnel interface. It is 1480 bytes in the example.

ND reachable time

Neighbor reachable time.

ND retransmit interval

Interval for retransmitting a neighbor solicitation message.

Hosts use stateless autoconfig for addresses

Hosts use stateless autoconfiguration mode to acquire IPv6 addresses.

InReceives

All IPv6 packets received by the tunnel interface, including types of error packets.

InTooShorts

Received IPv6 packets that are too short, with a length less than 40 bytes, for example.

InTruncatedPkts

Received IPv6 packets with a length less than that specified in the packets.

InHopLimitExceeds

Received IPv6 packets with a hop count exceeding the limit.

InBadHeaders

Received IPv6 packets with bad basic headers.

InBadOptions

Received IPv6 packets with bad extension headers.

ReasmReqds

Received IPv6 fragments.

ReasmOKs

Number of packets after reassembly rather than the number of fragments.

InFragDrops

IPv6 fragments discarded due to certain errors.

InFragTimeouts

IPv6 fragments discarded because the interval for which they had stayed in the system buffer exceeded the specified period.

OutFragFails

Packets failed in fragmentation on the outbound interface.

InUnknownProtos

Received IPv6 packets with unknown or unsupported protocol type.

InDelivers

Received IPv6 packets that were delivered to application layer protocols (such as ICMPv6, TCP, and UDP).

OutRequests

Local IPv6 packets sent by IPv6 application protocols.

OutForwDatagrams

Packets forwarded by the outbound interface.

InNoRoutes

IPv6 packets that were discarded because no matched route can be found.

InTooBigErrors

IPv6 packets that were received normally but discarded before they were forwarded because they exceeded the PMTU.

OutFragOKs

Packets that were fragmented on the outbound interface.

OutFragCreates

Number of packet fragments after fragmentation on the outbound interface.

InMcastPkts

IPv6 multicast packets received on the interface.

InMcastNotMembers

Incoming IPv6 multicast packets that were discarded because the interface did not belong to the corresponding multicast groups.

OutMcastPkts

IPv6 multicast packets sent by the interface.

InAddrErrors

IPv6 packets that were discarded due to invalid destination addresses.

InDiscards

Received IPv6 packets that were discarded due to resource problems rather than packet content errors.

OutDiscards

Sent packets that were discarded due to resource problems rather than packet content errors.

# Display brief IPv6 information for interface Tunnel 0.

<Sysname> display ipv6 interface tunnel 0 brief
*down: administratively down
(s): spoofing
Interface                                Physical   Protocol   IPv6 Address
Tunnel0                                    up         up       3000::1

Table 58: Command output

Field

Description

*down

The tunnel interface is administratively down, that is, the interface is closed by using the shutdown command.

(s)

Spoofing attribute of the tunnel interface, that is, the link protocol state of the tunnel interface is up, but the link does not exist, or the link is established on demand, instead of being permanent.

Interface

Name of the tunnel interface.

Physical

Physical state of the tunnel interface:

  • *down—The interface is administratively down. That is, the interface is shut down with the shutdown command.

  • down—The interface is administratively up but its physical state is down.

  • up—Both the administrative and physical states of the interface are up.

Protocol

Link layer protocol state of the tunnel interface:

  • down—The protocol state of the interface is down.

  • up—The protocol state of the interface is up.

IPv6 Address

IPv6 address of the tunnel interface. Only the first of configured IPv6 addresses is displayed. If no address is configured for the interface, Unassigned is displayed.