I have a L2 switch and I would like to define two users with different privilages for local console access. I have defined as below but it's not working. Pelase advise. I am expecting the user monitor only to have show and ping commands.
IOS Version:
Cisco IOS Software, IE3010 Software (IE3010-LANBASEK9-M), Version 12.2(53)EZ, RELEASE SOFTWARE (fc1)
username monitor privilege 5 password 7 002D1D12015803575D72
username administrator privilege 15 secret 5 $1$o.e0$gPOsV0q9S/F4N21ko3VCr/
enable secret level 1 5 $1$tTOx$LhGUi0XuUjxoQjQZzxqt9.
enable secret level 5 5 $1$hG3Q$QC/LgUYy6n2iDuBfw38Ic0
enable secret 5 $1$fB0t$mxC1AQFs6ZewfUkBSgLd/.
privilege exec level 5 show
privilege exec level 5 ping
!
line con 0
session-timeout 9
exec-timeout 9 0
!