Access-Class - Cisco Nexus 7000 Series Command Reference Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

A Commands

access-class

To apply an IPv4 access control list (ACL) to a virtual terminal (VTY) line, use the access-class command.
To remove an IPv4 ACL from a VTY line, use the no form of this command.
access-class access-list-name {in| out}
no access-class access-list-name {in| out}
Syntax Description
access-list-name
in
out
Command Default
None
Command Modes
Line configuration
Command History
Release
4.0(1)
Usage Guidelines
Because a user can connect to any VTY line, you should set identical restrictions on all virtual terminal lines.
This command does not require a license.
Examples
This example shows how to remove dynamically learned, secure MAC addresses from the Ethernet 2/1
interface:
switch# config t
switch(config)# clear port-security dynamic interface ethernet 2/1
This example shows how to remove the dynamically learned, secure MAC addresses 0019.D2D0.00AE:
switch# config t
switch(config)# clear port-security dynamic address 0019.D2D0.00AE
Name of the IPv4 ACL.
(Optional) Specifies that the device applies the ACL
to inbound traffic.
(Optional) Specifies that the device applies the ACL
to outbound traffic.
Modification
This command was introduced.
Cisco Nexus 7000 Series Security Command Reference
access-class
7

Advertisement

Table of Contents
loading

Table of Contents