04-23-2013 12:56 PM - edited 03-07-2019 12:59 PM
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?
04-23-2013 01:07 PM
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.
04-23-2013 03:13 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide