Brocade Network OS Command Reference v4.1.0 User Manual

Page 134

Advertising
background image

96

Network OS Command Reference

53-1003115-01

clear counters access-list (MAC)

2

Defaults

None

Command Modes

Privileged EXEC mode

Description

Use this command to clear counters for all or for a specific interface for MAC access list counters.

Usage Guidelines

If the interface keyword is not specified, then ACL counters on all interfaces which have this ACL
applied are cleared. There are 255 ACL counters supported per port group.

On the Brocade VDX family of hardware, switches, VLANs are treated as interfaces from a
configuration point of view. By default all the DCB ports are assigned to VLAN 1 (VLAN ID
equals 1). Valid VLAN IDs are as follows:

On Brocade VDX 8770 switches: 1 through 4086 for 802.1Q VLANs (VLAN IDs 4087
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.

On all other Brocade VDX switches: 1 through 3962 for 802.1Q VLANs (VLAN IDs 3963
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.

Examples

To clear counters for the configured MAC access list named test on an interface:

switch# clear counters access-list mac test interface tengigabitethernet 0/1

To clear counters for the configured MAC access list named test on all interfaces on which this ACL
is applied:

switch# clear counters access-list mac test

See Also

show mac-address-table, show statistics access-list

Advertising