cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
305
Views
5
Helpful
2
Replies

Restriction on telnet Access

Amin Shaikh
Level 1
Level 1

Hi,

How to restrict a subnet only to telnet to a router or a switch.

I need to create local user and password.

2 Replies 2

Jerry Ye
Cisco Employee
Cisco Employee

Hi Amin,

You need to configure ACL and apply the ACL into the VTY

http://www.cisco.com/en/US/partner/docs/ios/sec_data_plane/configuration/guide/sec_cntrl_acc_vtl_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1049991

If you want to create local database for user and password, you can do

username xyz password xyz

HTH,

jerry

Istvan_Rabai
Level 7
Level 7

Hi,

An example:

You wish to restrict the users of the 10.10.10.0/24 subnet to be able to have telnet access to a router or switch:

access-list 1 permit 10.10.10.0 0.0.0.255

username xxx privilege y password zzz

line vty 0 4

access-class 1 in

transport input telnet

login local

Cheers:

Istvan

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card