From CCIE Study Wiki
The access class command allows you to control who can access a telnet (vty) line by applying an access list to it.
Theory
The access class command allows you to secure your telnet lines by using access lists. Telnet sessions can be secured in both incoming and outgoing directions.
To use this command, first set up a normal access-list with the addresses you wish to permit or deny. Then apply this to one or more vty lines by using the access-class command.
Commands
- access-class acl [in|out] (line) - The IOS will use the specified access list to filter incoming/outgoing telnet sessions on the lines you are configuring.
Default Settings
- No telnet sessions are filtered by default.
Verification
- show line [line-number | summary]
Troubleshooting, Tips, and Tricks
- The access list you apply to a line must be a numbered list, and not a named one.
Online Resources
Have something to contribute? See a mistake on this page? Have a hint or a link to share?
The CCIE Study Wiki is open to everyone to edit! All you need to do is to create an account to start contributing.
Please be sure to follow our posting guidelines when editing the wiki.
Maybe you have just have some thoughts or suggestions for this entry?
Use the Discussion link on the top or bottom menu to create or join the CCIE forum post on this topic.
You can also go straight to the CCIE Forums and start a new discussion in the forum of your choice.
If you'd rather just contact us with your thoughts, we'd love to hear what you have to say.