clear access-list

Clears ACL counters.

Syntax

clear access-list { all | std-acl-num | ext-acl-num }

Parameters

all
Clears all ACL counters.
std-acl-num
Clears the counter for the specified standard ACL. Valid values are from 1 through 99.
extd-acl-num
Clears the counter for the specified extended ACL. Valid values are from 100 through 199.

Modes

Privileged EXEC mode

Global configuration mode

Interface configuration mode

Examples

The following example clears all the ACL counters.

device# clear access-list all

The following example clears the counter for the standard ACL 10.

device# clear access-list 10