Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

I cant find docs on restricting vty access

Hello,

I can't find a document in Cisco's site that explains how to restrict all remote access to manage a router via telnet. Currently I'm running IOS 12.2.7 on a 2610

Thank you

1 REPLY
Gold

Re: I cant find docs on restricting vty access

Here is a document:

http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps1835/products_command_reference_chapter09186a00800873c8.html#1017389

To summarize, you define an access-list containing what hosts you wish to be able to telnet to the router, and apply that to all the VTY interfaces. Here is a set of examples from the linked document:

Examples

The following example defines an access list that permits only hosts on network 192.89.55.0 to connect to the virtual terminal ports on the router:

access-list 12 permit 192.89.55.0 0.0.0.255

line 1 5

access-class 12 in

The following example defines an access list that denies connections to networks other than network 36.0.0.0 on terminal lines 1 through 5:

access-list 10 permit 36.0.0.0 0.255.255.255

line 1 5

access-class 10 out

76
Views
0
Helpful
1
Replies
CreatePlease to create content