beautypg.com

Viewing acl statistics, Viewing acl statistics 99 – Blade ICE G8000 User Manual

Page 99

background image

RackSwitch G8000 Application Guide

Chapter 6: Quality of Service

„

99

BMD00041, November 2008

N

OTE

To ensure your ACLs function properly, do not assign the same ACL to different ports

using different filtering directions. It is recommended that you create two ACLs, one for
ingress traffic, and one for egress traffic.

To assign an ACL to a port:

To delete an ACL from a port:

Each port retains its assigned ACLs, even if the port becomes a member of a trunk group
(portchannel).

Viewing ACL statistics

ACL statistics display how many packets hit (matched) each ACL. Use ACL statistics to check
filter performance, and debug the ACL filters. You must enable statistics for each ACL that
you want to monitor. Use the following command to enable statistics for the ACL:

Use the following command to view ACL statistics:

RS G8000 (config)# interface port 1

RS G8000 (config-if)# ip access-group 1001 in

RS G8000 (config-if)# exit

RS G8000 (config)# interface port 1

RS G8000 (config-if)# no ip access-group 1001 in

RS G8000 (config-if)# exit

RS G8000 (config)# access-list ip standard 1 statistics

RS G8000 (config)# show access-list counters