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

"Show" commands don't work on Cisco 9336C-FX2 Nexus. Possible bug?

kamokoba
Level 1
Level 1

I am reading documentation of Nexus 9000 Series NX-OS(https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/9-x/command_references/921/show/b_N9K_Show_Commands_921.html)

 

I tried several "show" commands and none of them is working.

 

For example:

 

leaf# show ip bgp [hitting Esc key twice here to show options]
A.B.C.D IP address
A.B.C.D/LEN IP prefix
all Display BGP information for all address families
ipv4 Display BGP information for IPv4 address family
neighbors Display all configured BGP neighbors
nexthop Display routes matching the nexthop
nexthop-database Display nexthop database
summary Show summary information

 

leaf# show ip bgp summary
Incorrect command "show ip bgp summary"
leaf#

 

And:

 

leaf# show ip route [hitting Esc key twice here to show options]
A.B.C.D Display single route longest match lookup
A.B.C.D/LEN Display single exact match route
A:B::C:D Display single route longest match lookup
A:B::C:D/LEN Display single exact match route
bgp Display routes owned by bgp
detail Display routes in full detail
eigrp Display routes owned by eigrp
interface Display routes with this output interface only
next-hop Display routes with this next-hop only
ospf Display routes owned by ospf
summary Display route counts
updated Display routes filtered by last updated time
vrf Display per-VRF information

 

leaf# show ip route 10.36.136.51
Incorrect command "show ip route 10.36.136.51"
leaf#

 

As you see, the options are displayed when i hit Esc key twice, but if i choose any valid option, i get "incorrect command".

I am aware of bug CSCvi51338 where some show commands do not work for read-only users on a certain firmware version. But there is no extensive list which "show" commands fall under this bug. So, regarding my above mentioned show commands examples, do they fall under this bug or is it a potentially other bug. Or do I use CLI incorrectly?

 

Version info:

 

leaf# show version
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html
Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

Software
BIOS: version Unknown
kickstart: Unknown
system: Unknown
PE: version Unknown
BIOS compile time: 12/25/2020
kickstart image file is: Unknown
kickstart compile time: 12/25/2020 12:00:00 [12/25/2020 12:00:00]
system image file is: Unknown
system compile time: 12/25/2020 12:00:00 [12/25/2020 12:00:00]


Hardware
cisco Unknown ("supervisor")
Unknown CPU with 0 kB of memory.
Processor Board ID Unknown

Device name: none
bootflash: 0 kB

Kernel uptime is Unknown

Last reset at Unknown
Reason: Unknown
System version: Unknown
Service: Unknown

plugin
Core Plugin, Ethernet Plugin
leaf#

 

 

 

 

 

 

 

 

5 Replies 5

PatrickH1
Level 1
Level 1

Hi,

 

try to use in promt "vsh" to go to the Cisco iNX-OS Debug Shell. In this shell you can use "show ip route vrf xxx xxx.xxx.xxx.xxx.

 

When you are in ACI Shell use "show ip route vrf all xxx.xxx.xxx.xxx." or use the specific vrf.

 

Same for "show ip bgp summary". Specifiy the VRF during the execution of the command.

 

I hope this helps you, if yes, mark it as helpful :)

 

Kind Regards

 

Patrick

RedNectar
VIP
VIP

Hi fthgfhng,

I'm a little confused by your references to the documentation for the Nexus 9000 in NX OS mode and the APIC bug. "NX-OS" and "APIC" have virtually no relationship with each other.

Are you using the 9336C-FX2 in NX-OS mode or in ACI mode? If you are using it in ACI mode, the NX-OS manual is useless to you. The show version command output you pasted is VERY STRANGE - it has no version information at all!  It SHOULD look more like this:

apic1# fabric 101 show version
----------------------------------------------------------------
 Node 101 (Leaf101)
----------------------------------------------------------------
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html
Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

Software
  BIOS:      version 07.64
  kickstart: version 13.2(3o) [build 13.2(3o)]
  system:    version 13.2(3o) [build 13.2(3o)]
  PE:        version 3.2(3o)
  BIOS compile time:       05/16/2018
  kickstart image file is: /bootflash/aci-n9000-dk9.13.2.3o.bin
  kickstart compile time:  10/17/2018 09:18:13 [10/17/2018 09:18:13]
  system image file is:    /bootflash/auto-s
  system compile time:     10/17/2018 09:18:13 [10/17/2018 09:18:13]


Hardware
  cisco N9K-C9396PX ("supervisor")
   Intel(R) Core(TM) i3- CPU @ 2.50GHz with 16267264 kB of memory.
  Processor Board ID SAL1914CNMH

  Device name: Leaf101
  bootflash:    62522368 kB

Kernel uptime is 38 day(s), 22 hour(s), 01 minute(s), 16 second(s)

Last reset at 900000 usecs after Wed Nov 07 13:21:29 2018 AEDT
  Reason: reset-by-installer
  System version: 13.2(3i)
  Service: Upgrade

plugin
  Core Plugin, Ethernet Plugin

[BTW - a tip for pasing CLI output - use the Insert Code function on the edit toolbar]

 

 

RedNectar aka Chris Welsh.
Forum Tips: 1. Paste images inline - don't attach. 2. Always mark helpful and correct answers, it helps others find what they need.

Hi Chris.

 

How do I enter the ACI mode then?

 

When I issue "ls" command and choose "aci" I get this:

 

leaf221# ls
aci bin controller debug dev etc isan lc lib mit proc sbin sys tmp usr var
leaf221# aci
bash: aci: command not found
leaf221#

Same with "show vrf":

 

leaf221# show vrf 
 <CR>       Carriage return                      
 WORD       VRF name                             
 all        Display VRF information for all VRFs 
 detail     Display VRF detail information       
 interface  Display interface VRF information    
 order      Specify ordering                     

leaf221# show vrf 
URL: http://127.0.0.1:7777/api//class/l3Ctx.xml?query-target-filter=eq(l3Dom.l3vmCfgState,"0")&page-size=200&page=0&order-by=l3Dom.name|asc
Code: 403
Output: <?xml version="1.0" encoding="UTF-8"?><imdata totalCount="1"><error code="403" text="Need a valid webtoken cookie (named APIC-Cookie) or a signed request with signature in the cookie APIC-Request-Signature for all REST API requests"/></imdata>
Data Posted:
None
Error executing command, check logs for details
leaf221#

I agree, the show version output issued on the leaf switch is very strange (and this leaf is in production). I get the normal output when I issue this command from APIC:

 

apic001# fabric 221 show version
----------------------------------------------------------------
 Node 221 (leaf221)
----------------------------------------------------------------
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html
Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

Software
  BIOS:      version 05.28
  kickstart: version 13.1(2m) [build 13.1(2m)]
  system:    version 13.1(2m) [build 13.1(2m)]
  PE:        version 3.1(2m)
  BIOS compile time:       01/18/2018
  kickstart image file is: /bootflash/aci-n9000-dk9.13.1.2m.bin
  kickstart compile time:  03/01/2018 17:15:01 [03/01/2018 17:15:01]
  system image file is:    /bootflash/auto-s
  system compile time:     03/01/2018 17:15:01 [03/01/2018 17:15:01]


Hardware
  cisco N9K-C9336C-FX2 ("supervisor")
   Intel(R) Xeon(R) CPU D-1526 @ 1.80GHz with 24437760 kB of memory.
  Processor Board ID FDO22120J09

  Device name: leaf221
  bootflash:    250058752 kB

Kernel uptime is 237 day(s), 01 hour(s), 28 minute(s), 33 second(s)

Last reset at 801000 usecs after Wed May 09 06:37:38 2018 UTC
  Reason: reset-requested-by-cli-command-reload
  System version: 13.1(2m)
  Service: PolicyElem Ch reload

plugin
  Core Plugin, Ethernet Plugin

apic001#

 

Hi fthgfhng,

Definately something stange going on there - it does seem (now that you've finally established that the code is version 13.1(2m)[Switch]/3.1(2m) [ACI]) that this could well be related to the bug you mentioned. (CSCvi51338)

 

Is doing a firmware upgrade possible? That's what I'd have to recommend at this stage.

 

RedNectar aka Chris Welsh.
Forum Tips: 1. Paste images inline - don't attach. 2. Always mark helpful and correct answers, it helps others find what they need.

peterzhang
Level 1
Level 1

try specifying a VRF when using the show commands via "vrf overlay-1" or whatever VRF you need to see in ACI mode. Do a "show vrf" if you don't know the format

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Save 25% on Day-2 Operations Add-On License