Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Cisco NX-OS Cheat Sheet (6.x - 7.

x)
CISCO NX-OS Cheat
Checkpoint Sheet (6.x - 7.x)
& Rollback Show Hardware Inventory & Serial Number
checkpoint checkpoint_name Show hardware inventory with serial numbers:
CISCO
showCISCO NX-OS
NX-OS CheatCheat
checkpoint summarySheet (6.xSheet
- 7.x) (6.x - 7.x) show inventory
show checkpoint name Detailed hardware inventory:
checkpoint name description description show hardware
show diff rollback-patch checkpoint name running-config Display the switch serial number:
rollback running-config checkpoint name show sprom backplane 1
VDC Commands - Nexus 7000 Only Environment Commands
Show VDCs: Display environment:
show vdc show environment
Create VDC: Display temperature:
vdc vdc-name show enviornment temperature
Assign interfaces to a VDC: Show fan environment:
(within the VDC to which the interfaces will be allocated) show environment fan
vdc vdc-name Show power usage:
allocate interface ethernet #/# show environment power
View ports allocated to a VDC: Display system redundancy status:
show vdc vdc-name membership show system redundancy status
Switch to within a VDC: Display CPU and Memory usage data:
switchto vdc vdc-name show system resources
switchback (use this command to exit the VDC)
Module Commands - Nexus 7000 Only
Display the status of a module: View the resources of a specific module:
show module (# ) attach module #
Identify line card using LED: show system resources
locator-led module # exit (use this command to exit the module)
no locator-led module # Shutdown a supervisor module (for removal only):
Power off an I/O or Interface module: out-of-service module #
poweroff module # Power cycle a module:
no poweroff module # (use to restore power) reload module #
Power off a Fabric module: Purge module config (module must be off or removed):
poweroff xbar # purge module # running-config
no poweroff xbar # (use to restore power) Switch over to redundant supervisor module:
Shutdown a Fabric module (for removal only): system switchover
out-of-service xbar # vPC Commands
Interface Commands Show global VPC status:
View the type of transceiver in a SFP port: show vpc
show interface Ethernet #/# transceiver show vpc brief
Port Channel interfaces: Show VPC peer status, role, MAC address & priority:
show run interface port-channel # membership show vpc role
show lacp neighbor interface port-channel # Show VPC consistency checks (very useful command):
show port-channel {usage, database, summary } show vpc consistency-parameters global
Display all FEX units and their state, model, serial #: Assorted Helpful Commands
show fex show cli history unformatted show license usage
show fex # detail (FEX software version, port state) show feature show HSRP or VRRP
show fex # transceiver (type, part number & serial #) show vrf copy run tftp: vdc-all
Reset an interface config back to default settings: show boot show system reset-reason
default interface Ethernet # /# dir bootflash://sup-active{sup-standby} /
show interface status module # | inc connected
Jeff Talamini - version 1.7

You might also like