Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

privilege configuration

enable secret 5 enable

!

username admin privilege 15 password 0 admin

username guest privilege 5 password 0 guest

username 123 password 123

privilege exec level 15 enable

privilege exec level 5 reload

privilege exec level 5 show tech-support

privilege exec level 5 show startup-config

privilege exec level 5 show running-config

!

line con 0

password console

login local

transport input none

line vty 0 4

password telnet

login local

I can't use 123 username to login to privilege mode, is it correct ?

Username: 123

Password:

Router>e?

exit

When I use guest account to login and issue " show running-config" Just show little config. Why not the whole config ?

Username: guest

Password:

Router#show running-config

Building configuration...

Current configuration : 51 bytes

!

boot-start-marker

boot-end-marker

!

!

end

5 REPLIES

Re: privilege configuration

HI, [pls rate if helps]

Username: 123

>> It is not associated with any privilege levels. So, enable access will be restricted for the user.

Username: guest

password:

>> Issue the below command:

Router#show prvilege

>> Verify the Output

!! Note the default privilege level for enable commmand is level 15

PLS RATE if HELPS

Best Regards,

Guru Prasad R

New Member

Re: privilege configuration

New Member

Re: privilege configuration

Hi,

1/ I am not sure why user 123 can not login eanble mode.

2/ user guest only can watch configuration that guest can config, because guest do not have enough privilege to config sth, so guest look at nothing.

regards

dongdong

Cisco Employee

Re: privilege configuration

This behavior is by design. Please refer the below URL for details:

http://www.cisco.com/en/US/tech/tk59/technologies_tech_note09186a00800949d5.shtml

Also, you may want to look at Role-Based CLI Access as a possible solution.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123newft/123t/123t_7/gtclivws.htm

Regards,

Arul

** Please rate all helpful posts **

New Member

Re: privilege configuration

hi all

i know,

with "username 123 password 123", user 123 only have a default privilege 1 and login "enable mode" need 15 privilege on that router, so...

thanks for your link,i am happy to rate...

dongdong

347
Views
15
Helpful
5
Replies
CreatePlease to create content