cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3679
Views
5
Helpful
5
Replies

9300 switch output of show config while in user mode is blank

cybrsage
Level 1
Level 1

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.

 

1 Accepted Solution

Accepted Solutions

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

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/16-9/command_reference/b_169_9300_cr.pdf

HTH

View solution in original post

5 Replies 5

Reza Sharifi
Hall of Fame
Hall of Fame

You get the same output when you use "sh run"?

HTH

sh run does not work from the user prompt, so I get an error.  It does not appear in the show ? listing either.

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

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/16-9/command_reference/b_169_9300_cr.pdf

HTH

Thank you, that is what I thought as well, but was hoping to be just missing something simple. :)

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!

Review Cisco Networking for a $25 gift card