On Switch-PT in Packet Tracer, I'm trying to set a user with username b
and secret b
, with privilege level 5:
username b privilege 5 secret b
line console 0
login local
But when I do show running-config
, the output for the username shows:
username b secret 5 $1$mERr$k9GHGlBNgfi56AfbMB8eT1
show run
does not show that the user is assigned to a privilege level.
But when I login with username b
and password b
, I go straight into Privileged EXEC mode, and when I do show privilege
, I get:
Current privilege level is 5
What's confusing is that show running-config
does not show that the user is assigned to a privilege level whereas when I login with the username and password, it shows that I'm in privilege level 5.
But then I can still issue configure terminal
, which I'm not sure why, because shouldn't users with privilege level less than 15 not be able to go into global configuration mode?
I tried running the same commands on a Router-PT, and my show running-config
output is:
username b privilege 5 secret 5 $1$mERr$k9GHGlBNgfi56AfbMB8eT1
When I login with the username and password, I also go into Privileged EXEC mode, and show privilege
still says:
Current privilege level is 5
, but I can not go into global config mode with configure terminal
It seems like configuring a privilege level for a user works fine on the router, but I'm confused on why isn't it working like the same on the switch.
show privilege
show that the privilege level forb
is 5 whenb
has all privileges?