Clearing IPv6 Statistics

Clear all IPv6 statistics if you do not require previous statistics.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Clear all the IPv6 statistics:

    clear ipv6 statistics all [vrf WORD<1–16> | vrfids WORD<0–512>]

  3. Clear interface statistics:

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

  4. Clear TCP statistics:

    clear ipv6 statistics tcp [vrf WORD<1–16> | vrfids WORD<0–512>]

  5. Enter the following command to clear UDP statistics:

    clear ipv6 statistics udp [vrf WORD<1–16> | vrfids WORD<0–512>]

Variable Definitions

Use the information in the following table to use the clear ipv6 statistics commands.

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>

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.