15 ip access-list – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 671
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 671 of 855
Command Syntax
clear access-list counters [acl]
acl: the name of an ACL. All access-list counters will be cleared if the name is not specified.
Command Mode
Privileged EXEC
Usage
None
Examples
This example shows how to clear the counters of MAC ACL mac_list_1.
Switch# clear access-list counters mac_list_1
Related Commands
None
33.15 ip access-list
Use this command to create IP ACL and then enter IP ACL configuration mode.
To remove this ACL, use the no form of this command.
Command Syntax
ip access-list acl
no ip access-list acl
acl: the name of an IP ACL
Command Mode
Global configuration
Usage
If the system already has an IP ACL with the same name, this command will enter the IP ACL
configuration mode. However, if the ACL name is used by other type of ACL, an prompt message will
be shown.
When the name is not used by any ACL, this command is to create the IP ACL firstly and then enter the
IP ACL configuration mode.
On how to apply the created IP ACL in the interface, please refer to the usage of ip access-group
command in related chapter.
Examples
This example shows how to create an IP ACL named list_ipv4_1 and then enter the IP ACL
configuration mode.