11-07-2018 11:15 AM - edited 03-08-2019 04:34 PM
I have always been able to do a show config from user mode on all other switches, after setting the exec level for the command to 0. On the 9300, it gives me an empty output but works while in enable mode.
9300_Stack#show config
Using 43861 out of 2097152 bytes
!
! Last configuration change at xxxxxxxx
! NVRAM config last updated at xxxxxxxxx
!
version 16.9
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
...truncated...
9300_Stack>show config
Using 43861 out of 2097152 bytes
9300_Stack>
9300_Stack#show run | incl priv
privilege exec level 0 traceroute
privilege exec level 0 ping
privilege exec level 0 show configuration
privilege exec level 0 show
9300_Stack#
9300_Stack# show ver
System image file is "flash:cat9k_iosxe.16.09.01.SPA.bin"
Any idea why this is not working? I am currently using it on a 4500 switch, as well as a ton of 2xxx and 3xxx switches.
Solved! Go to Solution.
11-07-2018 01:22 PM
It appears that command is only available from the privilege mode.
This example shows how to enter the show configuration privileged EXEC command in an abbreviated form: Device# show conf
link
HTH
11-07-2018 01:00 PM
You get the same output when you use "sh run"?
HTH
11-07-2018 01:07 PM
sh run does not work from the user prompt, so I get an error. It does not appear in the show ? listing either.
11-07-2018 01:22 PM
It appears that command is only available from the privilege mode.
This example shows how to enter the show configuration privileged EXEC command in an abbreviated form: Device# show conf
link
HTH
11-07-2018 01:25 PM
11-07-2018 01:42 PM
Yes, I also tried it on a 9300 and it is not an option
c9300>sh c?
cache call call-home capability
cca class-map clock cns
compress controllers crypto
c9300>sh c
Good Luck!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide