clear counters

This command deletes all interface counters or one specific interface counter.

Syntax

# clear counters

Command

Description

(Carriage Return)

Deletes all counters.

atm <Group/Subinterface>

Deletes the counters of Asynchronous Transfer Mode (ATM) on xDSL interface counters (per DSL line group and ATM sub-interface ID).

bvi <Bridge Interface>

Deletes the counters of the Bridge group Virtual Interface (BVI), per interface.

cellular <Cellular Interface ID Number>

Deletes the counters of the 3G Cellular interface, per interface ID number.

dot11radio <Interface ID Number>

Deletes the counters of the WiFi interface, per WiFi interface ID number.

efm <Slot/Port.VLAN ID>

Deletes the counters of the Ethernet in the First Mile interface, per interface slot and port (VLAN ID is optional).

fiber <Slot/Port.VLAN ID>

Deletes the counters of the Fiber interface, per interface slot and port (VLAN ID is optional).

gigabitethernet <Slot/Port.VLAN ID>

Deletes the counters of the Gigabit Ethernet interface, per interface slot and port (VLAN ID is optional).

gre <Interface ID Number>

Deletes the counters of the Generic Routing Encapsulation (GRE) tunneling interface, per GRE tunneling interface ID number.

ipip <Interface ID Number>

Deletes the counters of the IP in IP tunneling interface, per IP in IP tunneling interface ID number.

ipipv6 <Interface ID Number>

Deletes the counters of the IP in IP version 6 tunneling interface, per IP in IP version 6 tunneling interface ID number.

ipv6ip <Interface ID Number>

Deletes the counters of the IP version 6 in IP tunneling interface, per IP version 6 in IP tunneling interface ID number.

l2tp <Interface ID Number>

Deletes the counters of the Layer 2 Tunneling Protocol (L2TP), per L2TP tunneling interface number.

loopback <Interface ID Number>

Deletes the counters of the PPPoE interface / Loopback interface, per interface ID number.

pppoe <Interface ID Number>

Deletes the counters of the Point-to-Point Protocol over Ethernet (PPPoE) interface, per PPPoE interface ID number.

pptp <Interface ID Number>

Deletes the counters of the Point-to-Point Tunneling Protocol (PPTP) interface, per PPTP interface ID number.

track [Track ID]

Deletes the statistics of the maximum round-trip time (RTT) of packets for all Tracks or optionally, per Track ID. It clears (resets to zero) the minimum and maximum RTT counter displayed in the output of the command, show data track brief.

vlan <Interface ID Number>

Deletes the counters of the VLAN interface, per VLAN interface ID number.

vti <Interface ID Number>

Deletes the counters of the Virtual Tunnel Interface (VTI), per VTI number.

Command Mode

Privileged User

Example

This example clears all counters:

# clear counters

This example clears the counter of the PPTP interface whose ID is 0:

# clear counters pptp 0