show access-list counter

show access-list counter {countername} {any | ports port_list | vlan vlan_name} {ingress | egress}

Description

Displays the specified access list counters.

Syntax Description

countername Specifies the ACL counter to display.
port_list Specifies to display the counters on these ports.
vlan_name Specifies to display the counters on the VLAN.
ingress Specifies to display ingress counters.
egress Specifies to display egress counters (BlackDiamond X8 series switches, BlackDiamond 8000 c-, xl-, and xm-series modules, E4G-200 andn E4G-400 switches, and Summit X460, X480, X670, and X770 series switches only).

Default

The default direction is ingress.

Usage Guidelines

Use this command to display the ACL counters.

Example

The following example displays all the counters for all ACLs:

show access-list counter

On a BlackDiamond 8000 c-, e-, xl-, or xm-series module, the output of this command is similar to the following:

Policy Name       Vlan Name        Port   Direction
Counter Name                   Packet Count         Byte Count
==================================================================
don1              *                2:1 ingress
source1111 													0
source2222 																				0

History

This command was first available in ExtremeXOS 10.1.

The egress option was first available in ExtremeXOS 11.3.

Platform Availability

This command is available on all platforms.

The egress option is available on BlackDiamond X8 series switches, BlackDiamond 8000 c- xl-, and xm-series modules, E4G-200 and E4G-400 switches, and Summit X460, X480, X670, and X770 series switches only.