Command Reference Guide Line (Telnet) Interface Config Command Set
61200510L1-35E Copyright © 2005 ADTRAN 554

access-class <listname> in

Use the access-class in command to restrict Telnet access using a configured access list. Received packets
passed by the access list will be allowed. Use the access list configuration to deny hosts or entire networks
or to permit specified IP addresses. See ip access-list standard <listname> [permit | deny] <ip address>
on page 398 and ip access-list extended <listname> on page 392 for more information about configuring
access lists.
Syntax Description
<listname> Identifies the co nf igu re d ac ce ss lis t usi ng an alphanumeric descriptor (all access
list descriptors are case-sensitive).
Default Values
By default, there are no configured access lists associated with Telnet sessions.
Applicable Platforms
This command applies to the NetVanta 300, 1000, 1000R, 2000, 3000, 4000, and 5000 and
Total Access 900 Series units.
Command History
Release 1.1 Command was introduced.
Functional Notes
When using the access-class in comma nd to associate an access list with a Te lnet se ssion, rememb er to
duplicate the access-class in command for all configured Telnet sessions 0 through 4. Telnet access to
the unit using a particular Telnet session is not possible. Users will be assigned the first available Telnet
session.
Usage Examples
The following example associates the access list Trusted (to allow Telnet sessions from the
192.22.56.0/24 network) with all Telnet sessions (0 through 4):
Create the access list:
(config)#ip access-list st andard Trusted
(config)#permit 192.22.56.0 0.0.0.255
Enter the line (telnet):
(config)#line telnet 0 4
Associate the access list with the Telnet session:
(config-telnet0-4)#access-class Trusted in