Displaying interface counters for all ports, Clearing the interface counters – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 866
![background image](/manuals/361635/866/background.png)
836
Multi-Service IronWare Switching Configuration Guide
53-1003036-02
Displaying IP information
19
Displaying interface counters for all ports
The Brocade device supports IPv4 and IPv6 packet and byte counters. The contents of these
counters can be displayed for all ports on a device or per-port. Output from the show ip interface
ethernet command has been enhanced to include packet and byte counter information on a
per-port basis. This is described in
“Displaying interface counters for all ports”
.
NOTE
The shop ip interface ethernet command is not supported on Brocade NetIron CES and Brocade
NetIron CER devices. The command is supported only on the Brocade NetIron XMR and the Brocade
MLXe series devices.
Commands have been added under IPv4 and IPv6 to display the interface counters for all ports on
a device. The following example uses the show ip interface counters command to display to packet
and byte counter information for all ports.
Brocade# show ip interface counters
Interface RxPkts TxPkts RxBytes TxBytes
eth 3/1 1200 1200 600000 60000
eth 3/2 500 500 25000 25000
Syntax: show ip interface counters
Default byte counters include the 20-byte per-packet Ethernet overhead. You can configure an
Brocade device to exclude the 20-byte per-packet Ethernet overhead from byte accounting by
configuring the vlan-counter exclude-overhead command.
describes each of the fields
that display interface counter statistics.
Clearing the interface counters
Use the following command to clear all interface counters on a device.
NOTE
The clear ip interface counters command is available for the Brocade NetIron CES and the Brocade
NetIron CER devices; however, the counters are not supported and the values will always be 0.
Brocade# clear ip interface counters
Syntax: clear ip interface counters
Use the following command to clear the interface counters for a specified port.
Brocade# clear ip interface ethernet 3/2
Syntax: clear ip interface ethernet port-number
TABLE 103
Interface counter display statistics
This field...
Displays...
Interface
The interface that counter statistics are being displayed for.
RxPkts
The number of packets received at the specified port.
TxPkts
The number of packets transmitted from the specified port.
RxBytes
The number of bytes received at the specified port.
TxBytes
The number of bytes transmitted from the specified port.