Brocade Network OS Command Reference v4.1.0 User Manual

Page 132

Advertising
background image

94

Network OS Command Reference

53-1003115-01

clear counters access-list (ip)

2

interface

Specifies the interface.

out

Specifies the egress direction.

ve vlan_id

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

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.

Defaults

None

Command Modes

Privileged EXEC mode

Description

Use this command to clear counters for all or for a specific interface for IP 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 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 IP access list named test on an interface:

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

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

switch# clear counters access-list ip test

See Also

show statistics access-list

Advertising