stuck setting privilege level
inscom.brigade
Member Posts: 400 ■■■□□□□□□□
I keep trying to set privilege level but when I test it the password does not work.
here is the config i have entered.
R1>ena
R1#conf t
R1(config)#enable secret level 15 5 cisco123
R1(config)#enable secret level 4 0 ping
R1(config)#exit
R1#exit
R1>
R1>enable
password: cisco123
R1#exit
R1>
R1>enable
password: ping
password:
I am not sure what is wrong with my config for level 4
here is the config i have entered.
R1>ena
R1#conf t
R1(config)#enable secret level 15 5 cisco123
R1(config)#enable secret level 4 0 ping
R1(config)#exit
R1#exit
R1>
R1>enable
password: cisco123
R1#exit
R1>
R1>enable
password: ping
password:
I am not sure what is wrong with my config for level 4
Comments
-
lurker53 Member Posts: 7 ■□□□□□□□□□enable <level 0-15> does the trick
In your case,
R1>enable 4
Password: ping
should work -
inscom.brigade Member Posts: 400 ■■■□□□□□□□I can get the privilege level 15 to work, but all others don’t I tried in a couple different devices so it must be me.
This is what I typed in:
Router(config)#hostname r1
r1(config)#ena
r1(config)#enable se
r1(config)#enable secret le
r1(config)#enable secret level 10 0 ping
r1(config)#enable secret level 15 cisco
r1(config)#exit
r1#
r1>ena
r1>enable
Password:
Password:
Password:
r1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r1(config)#en
r1(config)#ena
r1(config)#enable se
r1(config)#enable secret le
r1(config)#enable secret level 8
r1>enable
Password:
Password:
Password:
% Password: timeout expired!
% Bad secrets
nothing but level 15 works.
I don't find what I am doing wrong, the poster above suggests exactly what I did. What am i not seeing here? -
lurker53 Member Posts: 7 ■□□□□□□□□□Seems to work for me, the red text has been added for the sake of clarifying the post, and is not part of the normal output:
R3(config)#enable secret priv15 <--- This is my privilege 15 password, IIRC "level 15" is already the default variable for the command so you don't need to put it in
R3(config)#enable secret level 10 priv10 <--- This is my privilege 10 password
R3(config)#exit
R3#disable
R3>
*Dec 12 02:41:44.279: %SYS-5-CONFIG_I: Configured from console by console
R3>enable
Password: priv15
R3#sh privilege
Current privilege level is 15
R3#disable
R3>enable
Password: priv10
Password:
Password:
% Bad secrets
R3>
R3>
R3>enable 10
Password: priv10
R3#sh privilege
Current privilege level is 10
R3#
I hope this helps.