how to find the nexus 9000 switch epld versions in aci mode? · 2017-08-18 · 101 calo1-leaf1...

12
From the desk of Mr. T ACI Solutions February 11, 2015 TECHNOTE OF THE DAY How to find the Nexus 9000 switch EPLD versions in ACI Mode? In the Following case scenario, a customer has Nexus 9000 Series switches in ACI mode. The customer wants to check and verify the EPLD versions on their Nexus 9000 Series switches in ACI mode. How do we do this? For Example: Nexus 9000 Series Switches in NXOS Mode has some commands that we can run to check the EPLD versions on the switch. show hardware internal dev-version show hardware internal version show install epld status show version module <slot#> epld n9k-nxos# show hardware internal dev-version ------------------------------------------------------------------- Name InstanceNum Version Date ------------------------------------------------------------------- IO FPGA 0 0x22 20140915 BIOS version v08.06(09/10/2014) n9k-nxos# show hardware internal version ------------------------------------------------- Name InstanceNum Version ------------------------------------------------- IO FPGA 0x01 0.034(0x0.0x022 PowerSupplyFMW 0x01 P:3.00,S:3.00 PowerSupplyFMW 0x02 P:3.00,S:3.00 PowerSupplyFMW 0x03 P:0.00,S:3.00 n9k-nxos# show install epld status 1) Module 28 upgraded on Tue Nov 18 20:57:20 2014 (545414 us) EPLD Install Image: EPLD image file 6.1.2.I3.2. built on Sat Nov 8 19:24:01 2014 Status: EPLD Upgrade was Successful EPLD Curr Ver Old Ver ------------------------------------------------------- IO FPGA 0x22 0x10 Tomas de Leon ([email protected]) Cisco Systems 1

Upload: others

Post on 03-Jul-2020

64 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: How to find the Nexus 9000 switch EPLD versions in ACI Mode? · 2017-08-18 · 101 calo1-leaf1 SAL1819S0QX 192.168.112.95/32 leaf active 102 calo1-leaf2 SAL1817R818 192.168.112.93/32

From the desk of Mr. T ACI Solutions February 11, 2015

TECHNOTE OF THE DAY How to find the Nexus 9000 switch EPLD versions in ACI Mode? In the Following case scenario, a customer has Nexus 9000 Series switches in ACI mode. The customer wants to check and verify the EPLD versions on their Nexus 9000 Series switches in ACI mode. How do we do this?

For Example: Nexus 9000 Series Switches in NXOS Mode has some commands that we can run to check the EPLD versions on the switch.

show hardware internal dev-versionshow hardware internal versionshow install epld statusshow version module <slot#> epld

n9k-nxos# show hardware internal dev-version

-------------------------------------------------------------------

Name InstanceNum Version Date

-------------------------------------------------------------------

IO FPGA 0 0x22 20140915

BIOS version v08.06(09/10/2014)

n9k-nxos# show hardware internal version

-------------------------------------------------

Name InstanceNum Version

-------------------------------------------------

IO FPGA 0x01 0.034(0x0.0x022

PowerSupplyFMW 0x01 P:3.00,S:3.00

PowerSupplyFMW 0x02 P:3.00,S:3.00

PowerSupplyFMW 0x03 P:0.00,S:3.00

n9k-nxos# show install epld status

1) Module 28 upgraded on Tue Nov 18 20:57:20 2014 (545414 us)

EPLD Install Image: EPLD image file 6.1.2.I3.2. built on Sat Nov 8 19:24:01 2014

Status: EPLD Upgrade was Successful

EPLD Curr Ver Old Ver

-------------------------------------------------------

IO FPGA 0x22 0x10

Tomas de Leon ([email protected]) Cisco Systems �1

Page 2: How to find the Nexus 9000 switch EPLD versions in ACI Mode? · 2017-08-18 · 101 calo1-leaf1 SAL1819S0QX 192.168.112.95/32 leaf active 102 calo1-leaf2 SAL1817R818 192.168.112.93/32

From the desk of Mr. T ACI Solutions February 11, 2015

2) Module 27 upgraded on Tue Nov 18 20:36:41 2014 (267145 us)

EPLD Install Image: EPLD image file 6.1.2.I3.2. built on Sat Nov 8 19:24:01 2014

Status: EPLD Upgrade was Successful

EPLD Curr Ver Old Ver

-------------------------------------------------------

IO FPGA 0x22 0x10

3) Module 27 upgraded on Tue Nov 18 20:36:41 2014 (267082 us)

EPLD Install Image: EPLD image file 6.1.2.I3.2. built on Sat Nov 8 19:24:01 2014

Status: EPLD Upgrade was Successful

< note: Abbreviated Output >

n9k-nxos# show version module 1 epld

EPLD Device Version

---------------------------------------

MI FPGA 0x13

IO FPGA 0x15

n9k-nxos# show version module 2 epld

EPLD Device Version

---------------------------------------

MI FPGA 0x13

IO FPGA 0x15

n9k-nxos# show version module 5 epld

EPLD Device Version

---------------------------------------

MI FPGA 0x3

IO FPGA 0x8

< note: Abbreviated Output >

Note: the versions listed above are listed in Hex.

Tomas de Leon ([email protected]) Cisco Systems �2

Page 3: How to find the Nexus 9000 switch EPLD versions in ACI Mode? · 2017-08-18 · 101 calo1-leaf1 SAL1819S0QX 192.168.112.95/32 leaf active 102 calo1-leaf2 SAL1817R818 192.168.112.93/32

From the desk of Mr. T ACI Solutions February 11, 2015

Steps to find EPLD versions on Nexus 9000 switches in ACI Mode The following technote is written against Application Policy Infrastructure ControllerVersion: 1.0(2m). The following information may not apply to earlier or later versions of Application Policy Infrastructure Controller firmware versions.

Perform an “acidiag fnvread” from the CLI of the APIC controller. This command will display nodes in your fabric which can be used to cross reference the subsequent display output for EPLD versions for each node.

admin@calo1-apic1:~> acidiag fnvread ID Name Serial Number IP Address Role State --------------------------------------------------------------------------------- 101 calo1-leaf1 SAL1819S0QX 192.168.112.95/32 leaf active 102 calo1-leaf2 SAL1817R818 192.168.112.93/32 leaf active 201 calo1-spine1 FGE18200AVQ 192.168.80.94/32 spine active 202 calo1-spine2 FGE18170ABF 192.168.112.94/32 spine active

Total 4 nodes

FROM THE APIC SSH to an APIC in the cluster and run the following commands:

• version• moquery -c firmwareCompRunning | grep -E "dn|expectedVer|version"

For this Example

admin@calo1-apic2:~> version node type node id node name version ---------- ------- ----------- ------- controller 2 calo1-apic2 1.0(2m)

admin@calo1-apic1:~> moquery -c firmwareCompRunning | grep -E "dn|expectedVer|version"

dn : topology/pod-1/node-101/sys/ch/supslot-1/sup/fpga-1/running expectedVer : 0x13 version : 0x14 dn : topology/pod-1/node-101/sys/ch/supslot-1/sup/fpga-2/running expectedVer : 0x14 version : 0x14 dn : topology/pod-1/node-101/sys/ch/supslot-1/sup/fpga-3/running expectedVer : 0x18

Tomas de Leon ([email protected]) Cisco Systems �3

Page 4: How to find the Nexus 9000 switch EPLD versions in ACI Mode? · 2017-08-18 · 101 calo1-leaf1 SAL1819S0QX 192.168.112.95/32 leaf active 102 calo1-leaf2 SAL1817R818 192.168.112.93/32

From the desk of Mr. T ACI Solutions February 11, 2015

version : 0x18

dn : topology/pod-1/node-102/sys/ch/supslot-1/sup/fpga-1/running expectedVer : 0x8 version : 0x8 dn : topology/pod-1/node-102/sys/ch/supslot-1/sup/fpga-2/running expectedVer : 0x9 version : 0x9 dn : topology/pod-1/node-102/sys/ch/supslot-1/sup/fpga-3/running expectedVer : 0x18 version : 0x18

dn : topology/pod-1/node-202/sys/ch/supslot-1/sup/fpga-1/running expectedVer : 0x22 version : 0x22 dn : topology/pod-1/node-202/sys/ch/scslot-2/sc/fpga-1/running expectedVer : 0x17 version : 0x17 dn : topology/pod-1/node-202/sys/ch/lcslot-1/lc/fpga-1/running expectedVer : 0x5 version : 0x5 dn : topology/pod-1/node-202/sys/ch/lcslot-1/lc/fpga-2/running expectedVer : 0x5 version : 0x5 dn : topology/pod-1/node-202/sys/ch/fcslot-2/fc/fpga-1/running expectedVer : 0x18 version : 0x18 dn : topology/pod-1/node-202/sys/ch/fcslot-4/fc/fpga-1/running expectedVer : 0x18 version : 0x18 dn : topology/pod-1/node-202/sys/ch/fcslot-6/fc/fpga-1/running expectedVer : 0x18 version : 0x18 dn : topology/pod-1/node-202/sys/ch/scslot-1/sc/fpga-1/running expectedVer : 0x17 version : 0x17 dn : topology/pod-1/node-202/sys/ch/supslot-2/sup/fpga-1/running expectedVer : 0x22 version : 0x22

dn : topology/pod-1/node-201/sys/ch/supslot-2/sup/fpga-1/running expectedVer : 0x22 version : 0x22 dn : topology/pod-1/node-201/sys/ch/scslot-1/sc/fpga-1/running expectedVer : 0x17 version : 0x17

Tomas de Leon ([email protected]) Cisco Systems �4

Page 5: How to find the Nexus 9000 switch EPLD versions in ACI Mode? · 2017-08-18 · 101 calo1-leaf1 SAL1819S0QX 192.168.112.95/32 leaf active 102 calo1-leaf2 SAL1817R818 192.168.112.93/32

From the desk of Mr. T ACI Solutions February 11, 2015

dn : topology/pod-1/node-201/sys/ch/scslot-2/sc/fpga-1/running expectedVer : 0x17 version : 0x17 dn : topology/pod-1/node-201/sys/ch/lcslot-1/lc/fpga-1/running expectedVer : 0x5 version : 0x5 dn : topology/pod-1/node-201/sys/ch/lcslot-1/lc/fpga-2/running expectedVer : 0x5 version : 0x5 dn : topology/pod-1/node-201/sys/ch/fcslot-4/fc/fpga-1/running expectedVer : 0x18 version : 0x18 dn : topology/pod-1/node-201/sys/ch/fcslot-6/fc/fpga-1/running expectedVer : 0x18 version : 0x18 dn : topology/pod-1/node-201/sys/ch/fcslot-1/fc/fpga-1/running expectedVer : 0x18 version : 0x18

FROM THE LEAF SSH to an LEAF node in the cluster and run the following commands:

• moquery -c firmwareRunning• cat /mnt/pss/installer_detail.log | grep -E “Compatibility|New-Version|FPGA"

For this Example

calo1-leaf1# moquery -c firmwareRunning Total Objects shown: 1

# firmware.Running biosTs : 2014-09-10T00:00:00.000+00:00 biosVer : 07.17 childAction : descr : version 11.0(2m) [build 11.0(2m)] dn : sys/fwstatuscont/running internalLabel : 9f84b1549fb396d5fd70f1e8fbc4de61b80a7a32 ksFile : bootflash:aci-n9000-dk9.11.0.2m.bin modTs : never mode : normal peVer : 1.0(2m) rn : running status : sysFile : bootflash:///auto-s ts : 2014-11-21T07:08:49.000+00:00 type : switch version : n9000-11.0(2m)

Tomas de Leon ([email protected]) Cisco Systems �5

Page 6: How to find the Nexus 9000 switch EPLD versions in ACI Mode? · 2017-08-18 · 101 calo1-leaf1 SAL1819S0QX 192.168.112.95/32 leaf active 102 calo1-leaf2 SAL1817R818 192.168.112.93/32

From the desk of Mr. T ACI Solutions February 11, 2015

calo1-leaf1# cat /mnt/pss/installer_detail.log | grep -E "Compatibility|New-Version|FPGA"

extract_fpga_imgs: Successfully extracted FPGA image Compatibility check: Module Type EPLD Running-Version New-Version Upg-Required 1 SUP MI FPGA 0.020 0.020 No 1 SUP IO FPGA 0.020 0.019 No 1 SUP MI FPGA2 0.024 0.024 No

Note: The above output displays the Running-Version value in DECIMAL. The moquery command and GUI displays Running-Version in HEX. For example. 20 = 0x14 and 24 = 0x18.

FROM THE SPINE SSH to an SPINE node in the cluster and run the following commands:

• moquery -c firmwareRunning• cat /mnt/pss/installer_detail.log | grep -E “Compatibility|New-Version|FPGA"

For this Example

calo1-spine1# moquery -c firmwareRunning Total Objects shown: 1

# firmware.Running biosTs : 2014-09-10T00:00:00.000+00:00 biosVer : 08.06 childAction : descr : version 11.0(2m) [build 11.0(2m)] dn : sys/fwstatuscont/running internalLabel : 9f84b1549fb396d5fd70f1e8fbc4de61b80a7a32 ksFile : bootflash:aci-n9000-dk9.11.0.2m.bin modTs : never mode : normal peVer : 1.0(2m) rn : running status : sysFile : bootflash:///auto-s ts : 2014-11-21T07:08:49.000+00:00 type : switch version : n9000-11.0(2m)

Tomas de Leon ([email protected]) Cisco Systems �6

Page 7: How to find the Nexus 9000 switch EPLD versions in ACI Mode? · 2017-08-18 · 101 calo1-leaf1 SAL1819S0QX 192.168.112.95/32 leaf active 102 calo1-leaf2 SAL1817R818 192.168.112.93/32

From the desk of Mr. T ACI Solutions February 11, 2015

calo1-spine1#cat /mnt/pss/installer_detail.log | grep -E "Compatibility|New-Version|FPGA"

extract_fpga_imgs: Successfully extracted FPGA image Compatibility check: Module Type EPLD Running-Version New-Version Upg-Required 28 SUP IO FPGA 0.034 0.034 No 29 SC IO FPGA 0.023 0.023 No 30 SC IO FPGA 0.023 0.023 No

Note: The above output displays the Running-Version value in DECIMAL. The moquery command and GUI displays Running-Version in HEX. For example. 34 = 0x22 and 23 = 0x17.

The above steps are the quickest and easiest method to provide the customer for retrieving EPLD versions from the Nexus 9000 Switches in ACI Mode. But, you can also find out the versions using the APIC Admin GUI, Visore, and POSTMAN API requests.

USING THE APIC ADMIN GUI

For this Example

Tomas de Leon ([email protected]) Cisco Systems �7

Page 8: How to find the Nexus 9000 switch EPLD versions in ACI Mode? · 2017-08-18 · 101 calo1-leaf1 SAL1819S0QX 192.168.112.95/32 leaf active 102 calo1-leaf2 SAL1817R818 192.168.112.93/32

From the desk of Mr. T ACI Solutions February 11, 2015

Tomas de Leon ([email protected]) Cisco Systems �8

Page 9: How to find the Nexus 9000 switch EPLD versions in ACI Mode? · 2017-08-18 · 101 calo1-leaf1 SAL1819S0QX 192.168.112.95/32 leaf active 102 calo1-leaf2 SAL1817R818 192.168.112.93/32

From the desk of Mr. T ACI Solutions February 11, 2015

The APIC GUI Screens above can be found by going to FABRIC > INVENTORY. Expand POD 1 and select a SWITCH NODE. Under the Chassis folder, you can drill down the hardware folders and select the Modules to display the EPLD firmware versions.

Tomas de Leon ([email protected]) Cisco Systems �9

Page 10: How to find the Nexus 9000 switch EPLD versions in ACI Mode? · 2017-08-18 · 101 calo1-leaf1 SAL1819S0QX 192.168.112.95/32 leaf active 102 calo1-leaf2 SAL1817R818 192.168.112.93/32

From the desk of Mr. T ACI Solutions February 11, 2015

USING THE VISORE TOOL

For this Example

Tomas de Leon ([email protected]) Cisco Systems �10

Page 11: How to find the Nexus 9000 switch EPLD versions in ACI Mode? · 2017-08-18 · 101 calo1-leaf1 SAL1819S0QX 192.168.112.95/32 leaf active 102 calo1-leaf2 SAL1817R818 192.168.112.93/32

From the desk of Mr. T ACI Solutions February 11, 2015

USING THE POSTMAN API TOOL

For this Example

URLhttps://(apic.ip.address)/api/node/class/firmwareCompRunning.json

Tomas de Leon ([email protected]) Cisco Systems �11

Page 12: How to find the Nexus 9000 switch EPLD versions in ACI Mode? · 2017-08-18 · 101 calo1-leaf1 SAL1819S0QX 192.168.112.95/32 leaf active 102 calo1-leaf2 SAL1817R818 192.168.112.93/32

From the desk of Mr. T ACI Solutions February 11, 2015

For this Example

URLhttps://(apic.ip.address)/api/node/class/firmwareCompRunning.xml

Tomas de Leon ([email protected]) Cisco Systems �12