cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
279
Views
0
Helpful
1
Replies

Telnet command understanding

nnn_sss22
Level 1
Level 1

Hello

Please give me answers

1) when we configure telnet and we put this command

s1(config)#line vty 0 15

what is mean by line?

2) i have 2 users.  first admin and second assistant

my requirement is when admin come through telnet on switch then he can work on switch with full access. But when assistant come through telnet on switch then he could not enter the configuration mode.

Please tell me command . thanks 

1 Reply 1

Hi

If you need a credential to allow certain commands, you can use the following, for example:

username assistant admin 15 password SuperCisco    <--- it will have full access because it has privilege 15
username assistant privilege 7 password Cisco123+

privilege exec level 7 show running
privilege exec level 7 show ip route
privilege exec level 7 show interfaces

So you can specify what you can allow for this user.  

I recommend use SSH instead telnet if your device has the proper IOS. It can be configured:

Basic SSH Configuration:

hostname <name of device>
ip domain name 

ip ssh ver 2
ip ssh authentica 3
ip ssh time 120
ip ssh maxstartups <maximum concurrent users>  not all the images support that. 

crypto key generate rsa
<select at least 1024>

line vty 0 15
transport input ssh
login local

no aaa new-model (if you are going to use local credentials>

Hope it is useful

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
Review Cisco Networking for a $25 gift card