22.10.2013 Views

7.8.1.0 - Force10 Networks

7.8.1.0 - Force10 Networks

7.8.1.0 - Force10 Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Clearing interface counters<br />

The counters in the show interfaces command are reset by the clear counters command. This command<br />

does not clear the counters captured by any SNMP program.<br />

To clear the counters, use the following command in the EXEC privilege mode:<br />

Command Syntax Command Mode Purpose<br />

clear counters [interface]<br />

[vrrp [vrid] |<br />

learning-limit]<br />

When you enter this command, you must confirm that you want FTOS to clear the interface counters for<br />

that interface (Figure 239).<br />

Figure 239 Clearing an Interface<br />

<strong>Force10</strong>#clear counters gi 0/0<br />

Clear counters on GigabitEthernet 0/0 [confirm]<br />

<strong>Force10</strong>#<br />

EXEC privilege Clear the counters used in the show interface commands for<br />

all VRRP groups, VLANs, and physical interfaces or selected<br />

ones.<br />

Without an interface specified, the command clears all<br />

interface counters.<br />

(OPTIONAL) Enter the following interface keywords and slot/port or<br />

number information:<br />

• For a 1-Gigabit Ethernet interface, enter the keyword<br />

GigabitEthernet followed by the slot/port information.<br />

• For a Loopback interface, enter the keyword loopback<br />

followed by a number from 0 to 16383.<br />

• For a Port Channel interface, enter the keyword port-channel<br />

followed by a number from 1 to 255 for TeraScale, 1 to 32 for<br />

EtherScale.<br />

• For the management interface on the RPM, enter the keyword<br />

ManagementEthernet followed by slot/port information.<br />

The slot range is 0-1, and the port range is 0.<br />

• For a SONET interface, enter the keyword sonet followed by<br />

the slot/port information.<br />

• For a 10-Gigabit Ethernet interface, enter the keyword<br />

TenGigabitEthernet followed by the slot/port information.<br />

• For a VLAN, enter the keyword vlan followed by a number from<br />

1 to 4094<br />

(OPTIONAL) Enter the keyword vrrp to clear statistics for all<br />

VRRP groups configured. Enter a number from 1 to 255 as the vrid.<br />

(OPTIONAL) Enter the keyword learning-limit to clear<br />

unknown source address (SA) drop counters when MAC learning<br />

limit is configured on the interface.<br />

FTOS Configuration Guide, version 7.9.1.0 387

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!