Possible to hide commands?

Unanswered Question
Nov 20th, 2008

Is it possible to hide commands for lower privilege levels?



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
John Blakley Thu, 11/20/2008 - 13:39

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.



srue Mon, 11/24/2008 - 12:43

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.


This Discussion