Ip Access-Class - Cisco Nexus 7000 Series Command Reference Manual

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

Advertisement

I Commands

ip access-class

To configure a virtual teletype (VTY) access control list (ACL) to control access to all IPv4 traffic over all
VTY lines in the ingress or egress direction, use the ip access-classcommand. To remove the VTY ACL, use
the no form of this command.
ip access-class name {in| out}
no ip access-class name {in| out}
Syntax Description
name
in
out
Command Default
None
Command Modes
Global configuration
Command History
Release
5.1(1)
Usage Guidelines
The VTY ACL feature restricts all traffic for all VTY lines. You cannot specify different traffic restrictions
for different VTY lines.
Any router ACL can be configured as a VTY ACL.
This command does not require a license.
Examples
This example shows how to configure a VTY ACL to control access to all IPv4 traffic over all VTY lines :
switch# configure terminal
switch(config)# ip access-list vtyacl
switch(config-ip-acl)# exit
switch(config)# line vty
switch(config-line)# ip access-class vtyacl out
switch(config-line)#
Access class name. The name can be up to 64
alphanumeric, case-sensitive characters. Names
cannot contain a space or quotation mark.
Specifies the incoming packets.
Specifies the outgoing packets.
Modification
This command was introduced.
Cisco Nexus 7000 Series Security Command Reference
ip access-class
373

Advertisement

Table of Contents
loading

Table of Contents