Skip to main content
NetApp Knowledge Base

Command mapping between Cisco and NVIDIA switches

Views:
144
Visibility:
Public
Votes:
0
Category:
fabric-interconnect-and-management-switches
Specialty:
metrocluster
Last Updated:

 

Applies to

  • MetroCluster switches
  • Cluster network switches
  • Cisco Nexus switches with NX-OS
  • NVIDIA switches running Cumulus Linux

Answer

Basic switch commands
Action Cisco Nexus NVIDIA SN2100 - 5.X and above
Enter Privileged Exec mode enable sudo (used on a per-command basis when required)
Enter Global Configuration mode configure -
Enable/Disable pagination terminal length 0

nv show --paginate on|off

e.g. nv show --paginate on system

Show firmware version show version nv show system
 
Display switch hardware information show hardware

nv show platform

nv show platform environment

nv show platform hardware

nv show interface --view=pluggables

Display any RCF files saved to the switch dir bootflash: ls /tmp (if RCF has not been applied yet; will not be visible otherwise)
Reboot the switch reload

sudo reboot

Save the current configuration copy running-config startup-config

nv config save

nv config apply (with auto-save option enabled, which is default)

Display switch banner show banner motd cat /etc/issue
Show management interface show ip interface mgmt 0

nv show interface mgmt

ip route show vrf mgmt

Delete startup configuration write erase Install Cumulus Linux in Cumulus Mode

Each time Cumulus Linux is installed, the entire file system structure is erased and rebuilt.

 

Troubleshooting
Action Cisco Nexus NVIDIA SN2100 - 5.X and above
Display all interfaces show interface brief nv show interface
Display a vlan summary show vlan brief nv show interface
Display vlan port summary show vlan all-ports nv show interface
Display configuration for a specific port (example port 9) show running-config interface ethernet 1/9

nv show interface <if_name>

nv show interface swp3

Disable / Enable (shutdown or no shutdown) a port Go to KB

nv set interface <if_name> link state down|up

nv config apply
Display switch logs (in-memory) show logging log

cd /var/log

ls -l

cat or vi

Display switch logs (persistent) -

cd /var/log

ls -l

cat or vi

Display port stats show interface ethernet 1/9

nv show interface <if_name>

nv show interface swp3

Clear all port stats clear counters -
Display neighbor devices show cdp neighbors nv show interface neighbor
Display difference between running and startup config show running-config diff nv config diff
Display transceiver power show interface transceiver details nv show interface --view=pluggables
Display port channels show port-channel summary nv show interface
Display SFP information  show interface transceiver nv show interface --view=pluggables

 

Data collection
Action Cisco Nexus NVIDIA SN2100 - 5.X and above
Show current configuration show running-config

nv config show

nv config show -o commands

Show startup configuration show startup-config

nv config show --startup -o commands

nv config show --rev=startup

Collect support bundle show tech-support

sudo cl-support

cd /var/log

ls -l

Gather log files from here

Collect verbose support bundle show tech-support details

sudo cl-support

cd /var/log

ls -l

Gather log files from here

 

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.