Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.91 KB

Cisco-Nexus-9000-9k-debug-and-diagnostic-commands-cheat-sheet.adoc

File metadata and controls

60 lines (41 loc) · 1.91 KB

Cisco Nexus 9000 9k debug and diagnostic commands complete cheat sheet (work in progress)

Status: Work in progress.

Command Descritption

show run interface <port-channel number> membership

List physical interfaces included in the given Port-Channel, e.g. show run int po1 membership

show port-channel usage

Show port-channel numbers already in use.

show port-channel summary

Display list of all configured Port-Channels with their state, protocol (LACP or None), physical interface members.

show vpc role

Role of this peer in vPC, also vPC MAC address, vPC and system priority, local Nexus switch MAC.

show vpc brief

Gives verbose info about the vPC (vPC domain stats, vPC peer-link stats, port-channels with active VLANs etc.).

show vpc peer-keepalive

Display real-time stats on peering keepalives: last send/receive time, IP of the peer, port and protocol used, vrf for communicaiton.

show feature

Show enabled features, make sure FEX is on.

show fex [fex-num] [detail]

Show FEX, optionally with details - FEX associated number, state (Online/Offline/Connecting), model, serial number (of the module). If detail, then also show log of the last registration/offline/online of the FEX.

show interface fex

In addition to above, show physical interface names (uplinks) where FEX is connected on Nexus and its state.

reload fex fex-num

Reload the specified FEX (it should be online for this).

show inventory fex fex-num

Show hardware info and serial numbers of the FEX chassis, network module, fans, power supplies.

show environment fex fex-num/all

Show power consumed, temperature.

show int port-channel n fex

Show physical interfaces pinned to a given port-channel.