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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Restriction on telnet Access

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
Cisco Employee

Re: Restriction on telnet Access

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

Re: Restriction on telnet Access

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

133
Views
5
Helpful
2
Replies
CreatePlease to create content