Cisco Privilege Level Configuration

Hello Experts,

I'm trying to set the privilege level a router so that 'show' commands aren't allowed. Also, I don't want configuration commands permitted on the router.

I attempted this with, the following command:

rotuername(config)#username testusr privilege 1

However, when I  login with testusr I still see that the privilege level is 15

I'm sure its something very simple that I'm missing.

Any thoughts?

Cheers

cpatte7372
cpatte7372Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Daniel SheppardSenior Network Analyst - Core & PerimeterCommented:
If you enable'd, the privledge will automatically go to 15.

You will want to integrate your enable command with aaa.

aaa authorization enable default enable
aaa authorization exec default local if-authenticated

Open in new window


Try this out.  Leave a SSH session open and initiate a new session to ensure it works.
0
cpatte7372Author Commented:
Hi Daniel,

Thanks for responding.

I'm not using aaa authentication.
I'm using login local.

Can you show me the equivalent commands for local login?

Cheers mate.
0
cpatte7372Author Commented:
Experts,

I don't think I've made myself clear.

I don't want certain users to be able to issue the command 'show run' while in enable mode.

Thanks
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Daniel SheppardSenior Network Analyst - Core & PerimeterCommented:
You will need to switch to AAA, using login local, the users needs to "enable" using the enable password.  If you switch to AAA, they will enable with their own password.

These commands will get you setup with "local" AAA:

aaa new-model
aaa authentication login default local
aaa authorization exec default local

Open in new window

0
cpatte7372Author Commented:
Daniel,

Just to be clear, if I implement your suggestion, users won't be able to issue the 'show run' command, correct?

Cheers
0
cpatte7372Author Commented:
Any help would be appreciated....
0
cpatte7372Author Commented:
I just needed to add enable level to the user.

Thanks anyway
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cpatte7372Author Commented:
I just needed to add enable level to the user.

Thanks anyway
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.