cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1889
Views
4
Helpful
2
Replies

Enable and vty password

Kristian Leth
Level 1
Level 1

Hello.

First of all im pretty new to cisco CLI.

I have a Cisco switch a 2950 24 port.

But when i set a password for line vty 0 15 its required to use when i telnet to the switch - as it should.

But when i type enable it asks for a password again, and i have to use the same password to enter enable mode?

Can i change that?

2 Replies 2

Bilal Nawaz
VIP Alumni
VIP Alumni

Hello please try to add this under the vty lines...

conf t

!

line vty 0 15

privilege level 15

password xxxxxxx

Hope this helps

Please rate useful posts and remember to mark any solved questions as answered. Thank you.

Please rate useful posts & remember to mark any solved questions as answered. Thank you.

Hello Kristian,

Bilal's example is one way to accomplish that. But I prefer this way to secure all kinds of access to device.

aaa new-model                                    

aaa authentication login default local

aaa authentication enable default enable

username USER password PASSforUSER     ! create user USER with password PASSforUSER

enable secret ENABLE_PASS                        ! configure enable password ENABLE_PASS

service password-encryption                          ! encrypt all passwords/keys stored in router configuration

Best Regards

Please rate all helpful posts and close solved questions

Best Regards Please rate all helpful posts and close solved questions