cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
986
Views
15
Helpful
5
Replies

privilege configuration

acbenny
Level 1
Level 1

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 5

guruprasadr
Level 7
Level 7

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

dongdongliu
Level 1
Level 1

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

ajagadee
Cisco Employee
Cisco Employee

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 **

dongdongliu
Level 1
Level 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: