beautypg.com

Clearing ip interface counters, Clearing ip virtual interface counters – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 233

background image

Multi-Service IronWare Switching Configuration Guide

203

53-1003036-02

IP interface commands

7

eth 12/2 0 0 0 0

p0 0 0 0 0

p7 0 0 0 0

To display the detailed aggregate count of the routed packets and switched packets of a virtual IP
interface are configured combined mode, use the following command.

Brocade# show ip interface ve 10 statistics detail

Extended Routed/Switched Counters (applicable for G2 modules only):

Interface RxPkts TxPkts RxBytes TxBytes

eth 12/1 0 0 0 0

p0 0 0 0 0

p1 0 0 0 0

p6 0 0 0 0

p7 0 0 0 0

Syntax: show ip interface ve vid statistics [detail]

Use the vid option to specify the interface name of the virtual IP interface for which you want to
display the routed and switched packets aggregate count.

TABLE 35

show ip interface ve output details

Clearing IP interface counters

When clearing IP interface counters, the counters that are cleared are dependent on the
accounting mode configuration. If you have configured accounting mode to count routed and
switched packets separately, only the routed counters will be cleared. If you have configured
accounting mode to count routed and switched packets together, the combined counter will be
cleared.

To clear the routed packet and switched packet counters of a specific IP interface, enter the
following command.

Brocade# clear ip interface ethernet 1/2 statistics

Syntax: clear ip interface ethernet port-id statistics

Use the port-id option to specify the interface name to clear.

Clearing IP virtual interface counters

When clearing IP virtual interface counters, the counters that are cleared are dependent on the

Field

Description

Interface

The interface the counter statistics are displayed.

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.