T
T
Trent Edison2017-09-13 10:01:59
System administration
Trent Edison, 2017-09-13 10:01:59

How to create a user to execute all commands except show version?

The user user must be authorized to issue all privileged mode commands except show version and show ip route, but must be authorized to issue all other show ip * commands.
I create a user (username user password cisco), create a view (parser view ForUser), bind the user to the view (username user view ForUser password cisco). I go to the user via ssh and see:
307f487a2c2545048d805dcff1850680.png
This user needs to have all the commands except show version and show ip route. I know that they can be added one at a time with "commands exec include all show" and disabled with "commands exec exclude all show".
So, how to add all possible commands at once and only then disable unnecessary ones?
Don't add them one by one.
ddb3f719dfa641198750031f74a8de7b.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DDwrt100, 2019-06-14
@DDwrt100

As far as I remember, that's how it is. Local command management mechanism, not very convenient. You can try to manage rights using the tacacs+ AAA server. It should be easier there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question