privilege exec all level 10 show running-config alias exec shrun show running-config view full username hdesk privilege 10 secret hdesk@1234Explanation:
- Move show running-config command to a privilege level 10
- But to view the running configuration, instead of show running-config, we have to type complete show running-config view full. So let's create a alias named shrun. This is optional.
- Now create a user with the privilege level 10. This user will be now able to see running configuration using the alias command shrun .