ACL Statistics

In this article we will discuss ACL Statistics, will make brief discussion on ACL Statistics, In last article we discuss about Verifying ACLs.

After an ACL has been applied to an interface and some testing has occurred, the show access-lists command will show statistics for each statement that has been matched. Note that some of the statements have been matched.

When traffic is generated that should match an ACL statement, the matches shown in the show access-lists command output should increase. For instance, in this example, if a ping is issued from PC1 to PC3 or PC4, the output will show an increase in the matches for the deny statement of ACL 1.

Both permit and deny statements will track statistics for matches; however, recall that every ACL has an implied deny any as the last statement. This statement will not appear in the show access-lists command; therefore, statistics for that statement will not appear. To view statistics for the implied deny any statement, the statement can be configured manually and will appear in the output.

During testing of an ACL, the counters can be cleared using the clear access-list counterscommand. This command can be used alone or with the number or name of a specific ACL. This command clears the statistic counters for an ACL.

Add a Comment

Your email address will not be published. Required fields are marked *