cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
23843
Views
17
Helpful
18
Replies

Privilege 5 access show running-config not working

BrianPersaud
Spotlight
Spotlight

Hi All

I have show running-config working with privPrivilege 5 5 on all of our switches except one particular IOS version.  Wanted to know if anyone encountered this issue as well.  When I do the show run view full the output is blank.

Here is the output of the commands:

switch1#show running-config view full
switch1#show running-config
switch1#

 

username test5 privilege 5 secret 5 xxxxxxxxxxxxxxxxxxxx

privilege exec level 5 show running-config view full
privilege exec level 5 show running-config view
privilege exec level 5 show running-config
privilege exec level 5 show

 

Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 28 WS-C3650-24PD 16.6.6 CAT3K_CAA-UNIVERSALK9 INSTALL

2 Accepted Solutions

Accepted Solutions

Thanks Balaji for the document.  I was able to find the solution in there and it is now working successfully using show running-config view full command.  The syntax was a bit different:

 

Device> enable
Device# configure terminal
Device(config)# privilege exec all level 5 show running-config
Device(config)# file privilege 5
Device(config)# privilege configure all level 5 logging
Device(config)# end
  

View solution in original post

18 Replies 18

Thanks Balaji for the document.  I was able to find the solution in there and it is now working successfully using show running-config view full command.  The syntax was a bit different:

 

Device> enable
Device# configure terminal
Device(config)# privilege exec all level 5 show running-config
Device(config)# file privilege 5
Device(config)# privilege configure all level 5 logging
Device(config)# end
  

think you

need 

file privilege 5

Thank You So Much This Worked Great.

Glad that this thread was very helpful to resolve your issue.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

It worked . Thanks

#username test privilege 3 password ****
WARNING: Command has been added to the configuration using a type 0 password. However, recommended to migrate to strong type-6 encryption
#privilege exec level 3 show
#privilege exec level 3 show running-config
#file privilege 3
#privilege exec level 3 show running-config view
#privilege exec level 3 show running-config view full

that is warning only , future version will be depricated.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thanks Balaji for the document.  I was able to find the solution in there and it is now working successfully using show running-config view full command.  The syntax was a bit different:

Device> enable
Device# configure terminal
Device(config)# privilege exec all level 5 show running-config
Device(config)# file privilege 5
Device(config)# privilege configure all level 5 logging
Device(config)# end

this is working for me but it is not working for "show derived-config", the command is accepted but the output is empty. Any idea?

give more information on what device and IOS code running.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi and thank you for your kindly reply.

Here the informations:

 

Model SW Version
----- ----------
C9200L-48P-4X 17.06.04
C9200L-24P-4X 17.06.04

 

This is the configuration about the priviledges

file privilege 7

privilege exec level 7 show access-session
privilege exec all level 7 show derived-config
privilege exec level 7 show running-config view full

Thank you

Luca

output empty when you issue  show derived-config (or show run not show that config ?)

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

This is the output. The show run has no problemSHOW DERIVED.png

this is if the because of priv 7? what is the outcome user has priv 15 ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card