Command mapping between Cisco and NVIDIA switches
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 |
|
| Show firmware version | show version |
nv show system |
| Display switch hardware information | show hardware |
|
| 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 |
|
| Save the current configuration | copy running-config startup-config |
|
| Display switch banner | show banner motd |
cat /etc/motd |
| Show management interface | show ip interface mgmt 0 |
|
| Delete startup configuration | write erase |
Install Cumulus Linux in Cumulus ModeEach 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 |
|
| Disable / Enable (shutdown or no shutdown) a port | Go to KB |
nv config apply |
| Display switch logs (in-memory) | show logging log |
|
| Display switch logs (persistent) | - |
|
| Display port stats | show interface ethernet 1/9 |
|
| 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 |
|
| Show startup configuration | show startup-config |
|
| Collect support bundle | show tech-support |
|
| Collect verbose support bundle | show tech-support details |
|
Additional Information
