cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
546
Views
0
Helpful
3
Replies

Possible to hide commands?

John Blakley
VIP Alumni
VIP Alumni

Is it possible to hide commands for lower privilege levels?

Thanks,

John

HTH, John *** Please rate all useful posts ***
3 Replies 3

John Blakley
VIP Alumni
VIP Alumni

I figured it out, so I'm going to let everyone know for those that don't.

If you have a user who has priv level 3, then the commands that you want to hide need to be configured for a higher priv level.

Running a '?' at the # prompt came up with a slew of commands to run, but wouldn't because they weren't granted access. I wanted to hide these, and in order to do so I did:

Router(config)# priv exec level 5 telnet

That hides the telnet command for priv level 3.

HTH,

John

HTH, John *** Please rate all useful posts ***

depending on what yo'ure trying to accomplish, sometimes its easier to go the other direction...

assign someone a lower privelege, then lower the privelege of the commands you want them to have.