Access Control Lists (ACL) | 95
The following commands allow you to clear, display, and assign IP ACL configurations.
• access-class
• clear counters ip access-group
• ip access-group
• show ip access-lists
• show ip accounting access-list
access-class
Apply a standard ACL to a terminal line.
Syntax
access-class access-list-name
Parameters
Defaults
Not configured.
Command Modes
LINE
Command
History
clear counters ip access-group
Erase all counters maintained for access lists.
Syntax
clear counters ip access-group [access-list-name]
Parameters
Command Modes
EXEC Privilege
Command
History
ip access-group
Assign an IP access list (IP ACL) to an interface.
Syntax
ip access-group access-list-name {in | out} [implicit-permit] [vlan vlan-id]
Parameters
Note: See also Commands Common to all ACL Types.
access-list-name
Enter the name of a configured Standard ACL, up to 140 characters.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
access-list-name
(OPTIONAL) Enter the name of a configured access-list, up to 140 characters.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
access-list-name
Enter the name of a configured access list, up to 140 characters.
in Enter the keyword in to apply the ACL to incoming traffic.
out Enter the keyword out to apply the ACL to outgoing traffic.