C613-50100-01 REV C Command Reference for x930 Series 1941
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
IPV4 SOFTWARE ACCESS CONTROL LIST (ACL) COMMANDS
VTY
ACCESS-CLASS (NUMBERED)
vty access-class (numbered)
Overview For IPv4, use this command to set a standard numbered software access list to be
the management ACL. This is then applied to all available VTY lines for controlling
remote access by Telnet and SSH. This command allows or denies packets
containing the IP addresses included in the ACL to create a connection to your
device.
ACLs that are attached using this command have an implicit deny-all filter as the
final entry in the ACL. So a typical configuration would be to permit a specific
address, or range of addresses, and rely on the deny-all filter to block all other
access.
Use the no variant of this command to remove the access list.
Syntax
vty access-class {<1-99>|<1300-1999>}
no vty access-class [<1-99>|<1300-1999>]
Mode Global Configuration
Examples To set access-list 4 to be the management ACL, use the following commands:
awplus# configure terminal
awplus(config)# vty access-class 4
To remove access-list 4 from the management ACL, use the following commands:
awplus# configure terminal
awplus(config)# no vty access-class 4
Output Figure 38-4: Example output from the show running-config command
Related
Commands
show running-config
vty ipv6 access-class (named)
Parameter Description
<1-99> IPv4 standard access-list number
<1300-1999> IPv4 standard access-list number (expanded range)
awplus#show running-config|grep access-class
vty access-class 4