beautypg.com

Clear counters (mac) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 140

background image

102

Network OS Command Reference

53-1003115-01

clear counters (MAC)

2

clear counters (MAC)

Clears the MAC counter statistics on all interfaces on the switch.

Synopsis

clear counters {all | access-list mac access_list_name | interface {port-channel number} |
fibrechannel {rbridge-id/slot/port} | gigabitethernet {rbridge-id/slot/port} |
tengigabitethernet {rbridge-id/slot/port} | fortygigabitethernet {rbridge-id/slot/port} |
slot-id number | vlan vlan_id}

Operands

all

Specifies to clear statistics on all interfaces.

access-list mac access_list_name Specifies the name of the MAC access list.

in | out

Specifies the binding direction (ingress or egress). In and out parameters
are used for access-list ip only.

interface

Specifies the use of the port-channel, fibrechannel, gigabitethernet or
tengigabitethernet keyword.

port-channel number

Specifies the interface is a port-channel. The number of available channels
range from 1 through 63 for standalone mode, and from 1 through 6144
for Brocade VCS Fabric mode. However, the channel can be assigned any
number from 1 through 6144.

fibrechannel rbridge-id/slot/port

Specifies a valid Fibre Channel interface.

rbridge-id

Specifies the RBridge ID. This is not valid in standalone mode.

slot

Specifies a valid slot number.

port

Specifies a valid port number.

gigabitethernet rbridge-id/slot/port

Specifies a valid 1-gigabit Ethernet interface.

rbridge-id

Specifies the RBridge ID. This is not valid in standalone mode.

slot

Specifies a valid slot number.

port

Specifies a valid port number.

tengigabitethernet rbridge-id/slot/port

Specifies a valid 10-gigabit Ethernet interface.

rbridge-id

Specifies the RBridge ID. This is not valid in standalone mode.

slot

Specifies a valid slot number.

port

Specifies a valid port number.

fortygigabitethernet rbridge-id/slot/port

Specifies a valid 40-gigabit Ethernet interface.

rbridge-id

Specifies the RBridge ID. This is not valid in standalone mode.

slot

Specifies a valid slot number.

port

Specifies a valid port number.

vlan vlan_id

Specifies the VLAN interface to which the ACL is bound. (Refer to the Usage
Guidelines.)