Skip to content

"show version" reporting incorrect PLATFORM for NXOS ACI-mode #2326

Description

@vv0bbLeS

Not sure if this is a TextFSM issue or an NTC_TEMPLATES issue, but will post here to start.

textfsm version: 2.1.0
ntc_templates version: 9.1.0

Background Information: The NXOS show version command outputs slightly differently depending on whether the NXOS switch is running in classic NXOS-Mode or ACI-mode

classic NXOS mode:

n9ksw1# show version
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (C) 2002-2025, Cisco and/or its affiliates.
All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under their own
licenses, such as open source.  This software is provided "as is," and unless
otherwise stated, there is no warranty, express or implied, including but not
limited to warranties of merchantability and fitness for a particular purpose.
Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or 
GNU General Public License (GPL) version 3.0  or the GNU
Lesser General Public License (LGPL) Version 2.1 or 
Lesser General Public License (LGPL) Version 2.0. 
A copy of each such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://opensource.org/licenses/gpl-3.0.html and
http://www.opensource.org/licenses/lgpl-2.1.php and
http://www.gnu.org/licenses/old-licenses/library.txt.

Software
  BIOS: version 07.72
  NXOS: version 10.3(8) [Maintenance Release]
  BIOS compile time:  02/15/2025
  NXOS image file is: bootflash:///nxos64-cs.10.3.8.M.bin
  NXOS compile time:  6/23/2025 1:00:00 [06/26/2025 10:02:19]

Hardware
  cisco Nexus9000 C93180YC-EX chassis 
  Intel(R) Xeon(R) CPU  @ 1.80GHz with 24607552 kB of memory.
  Processor Board ID ABC12345678
  Device name: n9ksw1
  bootflash:   53298520 kB

Kernel uptime is 61 day(s), 22 hour(s), 23 minute(s), 46 second(s)

Last reset at 220479 usecs after Wed Apr 29 17:02:31 2026
  Reason: Reset due to upgrade
  System version: 10.3(6)
  Service: 

plugin
  Core Plugin, Ethernet Plugin

Active Package(s):
        
n9ksw1#

ACI-mode:

leaf1# 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 05.53
  kickstart: version 16.0(9e) [build 16.0(9e)]
  system:    version 16.0(9e) [build 16.0(9e)]
  PE:        version 6.0(9e)
  BIOS compile time:       01/22/2025
  kickstart image file is: /bootflash/aci-n9000-dk9.16.0.9e.bin
  kickstart compile time:  08/05/2025 12:57:46 [08/05/2025 12:57:46]
  system image file is:    /bootflash/auto-s
  system compile time:     08/05/2025 12:57:46 [08/05/2025 12:57:46]


Hardware
  cisco N9K-C93180LC-EX ("supervisor")
   Intel(R) Xeon(R) CPU D-1526 @ 1.80GHz with 24419328 kB of memory.
  Processor Board ID XYZ12345678

  Device name: leaf1
  bootflash:    62522368 kB

Kernel uptime is 79 day(s), 19 hour(s), 33 minute(s), 28 second(s)

Last reset at 484000 usecs after Sat Apr 11 20:02:15 2026 CDT
  Reason: reset-by-installer
  System version: 16.0(7e)
  Service: Upgrade

plugin
  Core Plugin, Ethernet Plugin
leaf1#

When the switch is running in classic NXOS-mode, the Platform is correctly returned as C93180YC-EX . However, if the switch is running in ACI-mode , the platform is incorrectly returned as simply EX and that's it. Thoughts?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions