View IPv6 Statistics on an Interface

View IPv6 statistics to view information about the IPv6 datagrams on an interface.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. View statistics:

    show ipv6 interface statistics [gigabitethernet <slot/port[/sub-port]> | loopback <1–256> | mgmtethernet mgmt | tunnel <1-2000> | vlan <1-4059>] [vrf WORD<1–16>] [vrfids WORD<0–512>]

Example

View IPv6 statistics on an interface:

Switch:1>enable
Switch:1#show ipv6 interface statistics

================================================================================
                                Interface Stats
================================================================================


If Stats for mgmt, IfIndex = 64

InReceives: 404
InHdrErrors: 0
InTooBigErrors : 0
InNoRoutes : 0
InAddrErrors : 0
InUnknownProtos : 0
InTruncatedPkts : 0
InDiscards : 0
InDelivers : 404
OutForwDatagrams : 0
OutRequests : 417
OutDiscards : 0
OutFragOKs : 0
OutFragFails : 0
OutFragCreates : 0

--More-- (q = quit)

Variable Definitions

Use the data in the following table to use the show ipv6 interface statistics command

Variable

Value

gigabitethernet {slot/port[/sub-port]}

Identifies a single slot and port. If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

loopback <1–256>>

Identifies a loopback interface.

mgmtethernet mgmt
Note:

Exception: only supported on VSP 8600 Series.

Identifies the management interface. This parameter only applies to hardware with a dedicated, physical management interface.

tunnel <1-2000>

Identifies a 6in4 tunnel ID.

vlan <1-4059>

Shows statistics for the specific interface index. If you do not specify an interface index, the command output includes all IPv6 interfaces.

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

vrf WORD<1–16>

Specifies the VRF name.

vrfids WORD<0–512>

Specifies the VRF ID.