Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

privilege on switch

Status
Not open for further replies.

jeremy007

Technical User
Oct 19, 2010
2
FR
Hi everybody,

I'm working on switch ( 3750 ) and i need some informations about privilege. I'm talking about user privilege.

Show this command :

username nick privilege <0-15> password pwd

I know there are different level of privilege ( 15 for admin, 6 for ...) What i would like is to know the privilege of each number, starting by 6



In fact, i need to give some privilege to my new trainee but not a lot.

Thanks for yours replies,

Jeremy
 
Well fiirst, Thank you MrOyvind for your answer,

BUT, i don't found what i'm searching, maybe i had misspoken :)

What i need is "what you can with the privilege level X" (6<X<15)

Exemple :

- Level 6 :
- permit : show vlan, show privilege ...
- forbiden : show running-config, conf t ....

- Level 8 :...

ECT

Thanks
 
!below you can add the command you want to allow them to run in exec mode
(config)#privilege exec level 6 show vlan


basically
(config)# privilege prompt level privilege command

where :

Prompt is the at which the command must be entered [exec | configure | interface .... ]

command: is the command they are executing

We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
jeremy, the only pre-defined privilege levels are 0, 1 and 15. Everything in between is user-defined. If you want a lower-privilege trainee account, take something like privilege level 6 (which will have everything user-exec mode has only), and add access to commands as needed using the syntax imbadatthis posted. If you want to take access away from that privilege level, then define the commands in a higher privilege level, which will take it away from all lower levels.

CCNP, CCDP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top