access-class access-list-number {in | out}

no access-class number


Syntax Description:


Specifies an integer between 1 and 199 that defines the access-list.


Controls which nodes can make LAT connections into the server.


Defines the access checks made on outgoing connections. (A user who types a node name at the system prompt to initiate a LAT connection is making an outgoing connection.)


Command Description:

To define restrictions on incoming and outgoing connections, use the access-class line configuration command. To remove the access-list number, use the no form of this command. This command defines access list numbers that will then be used with the lat access-list command to specify the access conditions.

The value supplied for the access-list-number argument is used for all protocols supported by the Cisco IOS software. If you are already using an IP access list, you must define LAT (and possibly X.25) access lists permitting connections to everything, to emulate the behavior of previous software versions.

When both IP and LAT connections are allowed from a terminal line and an IP access list is applied to that line with the access-class line command, a LAT access list must also be created with the same number if any LAT connections from that terminal are going to be allowed. Only one incoming and one outgoing access list number can be specified for each terminal line. When checking LAT access lists, if the specified list does not exist, the system denies all LAT connections.


The following example configures an incoming access class on virtual terminal line 4:

Router(config)#line vty 4
Router(config-line)#access-class 4 in




Related Commands:




� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)