cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

346
Views
5
Helpful
5
Replies
Highlighted
Beginner

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

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.

 

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
VIP Expert

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

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

5 REPLIES 5
VIP Expert

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

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

HTH

Beginner

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

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

VIP Expert

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

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

Beginner

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

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

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

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!

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards