Deployment Guide

access-class
Apply a standard ACL to a terminal line.
Syntax
access-class access-list-name [ipv4 | ipv6]
Parameters
access-list-name Enter the name of a congured Standard ACL, up to 140 characters.
ipv4 Enter the keyword ipv4 to congure an IPv4 access class.
ipv6 Enter the keyword ipv6 to congure an IPv6 access class.
Defaults Not congured.
Command Modes LINE
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.8(0.0) Added the ipv4 and ipv6 parameters to the command.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information When you use the access-class access-list-name command without specifying the ipv4 or ipv6
attribute, both IPv4 as well as IPv6 rules that are dened in that ACL are applied to the terminal. This is a generic
way of conguring access restrictions.
To be able to lter access exclusively using either IPv4 or IPv6 rules, you must use either the ipv4 or ipv6
attribute along with the access-class access-list-name command. Depending on the attribute that you
specify (ipv4 or ipv6), the ACL processes either IPv4 or IPv6 rules, but not both. Using this conguration, you
can set up two dierent types of access classes with each class processing either IPv4 or IPv6 rules separately.
However, if you already have congured generic IP ACL on a terminal line, then you cannot further apply IPv4 or
IPv6 specic ltering on top of this conguration. Because, both IPv4 and IPv6 access classes are already
congured on this terminal line. Before applying either IPv4 or IPv6 ltering, you must rst undo the generic
conguration using the no access-class access-list-name command.
Similarly, if you have congured either IPv4 or IPv6 specic ltering on a terminal line, you cannot apply generic IP
ACLs on top of this conguration. Before applying the generic ACL conguration, you must rst undo the existing
conguration using the no access-class access-list-name [ipv4 | ipv6] command.
clear counters ip access-group
Erase all counters maintained for access lists.
Syntax
clear counters ip access-group [access-list-name]
Parameters
access-list-name (OPTIONAL) Enter the name of a congured access-list, up to 140 characters.
Command Modes EXEC Privilege
Supported Modes Full–Switch
152 Access Control Lists (ACL)