Cisco Nexus Show Commands

A list of Cisco Nexus show commands that you can run to obtain information about Nexus switches.

General System Information

  • show version: Displays uptime, software version, hardware model, and boot images.
  • show inventory: Lists physical components (chassis, fans, power supplies) with serial numbers.
  • show module: Shows the status, model, and slot placement of all line cards and supervisors.
  • show environment: Provides sensor data for temperature, fan speeds, and power supply health.
  • show license usage: Checks which features are currently consuming licenses.
  • show license: Displays installed license files and their validity/expiration status.
  • show cdp neighbor: Lists directly connected Cisco devices via Cisco Discovery Protocol.
  • show cdp neighbors detail: Provides IP addresses and software versions of CDP neighbors.
  • show lldp neighbor: Lists neighboring devices using the Link Layer Discovery Protocol.
  • show lldp neighbor detail: Shows expanded capabilities and management IPs of LLDP neighbors.
  • show vtp status: Displays VTP domain, mode (transparent/off), and configuration revision.
  • show vtp password: Displays the current password used for VTP authentication.
  • show snmp user: Lists configured SNMP users and their security/privacy levels.
  • show ntp peer-status: Displays NTP synchronization status and reachability of time servers.

Interfaces

  • show ip interface brief vrf all: Summarizes IPv4 addresses and statuses across all VRFs.
  • show ipv6 interface brief vrf all: Summarizes IPv6 addresses and statuses across all VRFs.
  • show interface status: Shows port speed, duplex, VLAN, and link state (up/down).
  • show interface status err-disable: Lists ports shut down by system security or error policies.
  • show interface status err-vlan: Shows VLANs suspended due to configuration errors.
  • show interface brief: A high-level table of interface types and current link states.
  • show interface description: Displays user-configured labels/descriptions for all ports.
  • show port-channel summary: Lists all EtherChannels, their member ports, and protocol status.
  • show lacp neighbor: Shows information about the LACP partner on the other end of a link.
  • show port-profile brief: Summarizes defined port profiles and their inheritance.
  • show interface trunk: Shows active trunk ports, native VLANs, and allowed/pruned VLANs.
  • show interface counters error: Checks for CRC errors, discards, and input/output errors.
  • show interface switchport: Displays Layer 2 configuration details (mode, trunking, tagging).
  • show interface transceiver details: Provides optical diagnostic data (Tx/Rx power, temperature).

First Hop Redundancy Protocol (FHRP)

  • show hsrp brief: Displays HSRP group status (Active, Standby, or Listen) and Virtual IPs.
  • show vrrp: Displays VRRP group statistics, priorities, and Master/Backup status.

VLAN & Spanning-Tree

  • show vlan brief: Lists all active VLANs and the ports assigned to them.
  • show spanning-tree summary: Provides a global view of STP modes and port states (Blocking/Forwarding).
  • show spanning-tree root: Shows the Root Bridge ID and cost for each VLAN.
  • show spanning-tree: Detailed per-VLAN Spanning-Tree topology and port roles.

Virtual Port Channel (vPC)

  • show vpc peer-keepalive: Confirms the status of the out-of-band heartbeat between vPC peers.
  • show vpc role: Identifies if the switch is the vPC Primary or Secondary peer.
  • show vpc: Comprehensive status of the peer link and individual vPC member ports.
  • show vpc consistency-parameters global: Checks for configuration mismatches between vPC peers.
  • show vpc orphan-ports: Lists ports connected to only one vPC peer that carry vPC VLANs.

Fabric Extenders (FEX)

  • show fex: Lists connected FEX units and their current state (Online/Offline).
  • show fex detail: Provides specific hardware and version info for a particular FEX.

FabricPath

  • show fabricpath switch-id: Displays the local and peer Switch IDs in the FabricPath domain.
  • show fabricpath isis trees: Shows the multi-destination routing trees for the fabric.
  • show fabricpath route topology all: Displays the Layer 2 routing table for FabricPath.
  • show fabricpath conflict all: Identifies ID or configuration conflicts within the fabric.

Fiber Channel (FC)

  • show vsan: Displays configured Virtual Storage Area Networks.
  • show vsan membership: Lists which ports are assigned to which VSANs.
  • show zone: Displays configured Fiber Channel zones.
  • show zone status: Shows the status of the active zoneset.
  • show device-alias database: Lists user-friendly names mapped to FC WWNs.
  • show flogi database: Shows devices currently logged into the FC fabric.
  • show fcns database: Displays the Name Server table of registered FC devices.
  • show fcdomain domain: Shows the Domain ID and Principal Switch info for a VSAN.

Routing

  • show vrf all: Lists all Virtual Routing and Forwarding instances and their IDs.
  • show ip protocol: Displays active routing protocols and their global parameters.
  • show ip eigrp neighbor vrf all: Lists EIGRP neighbors across all VRFs.
  • show ip eigrp topology vrf all: Displays the EIGRP successor and feasible successor routes.
  • show ip ospf neighbor vrf all: Shows OSPF adjacency states (Full, Two-way, etc.).
  • show ip ospf database vrf all: Displays the Link State Database (LSDB) for OSPF.
  • show ip bgp neighbor vrf all: Detailed status of BGP peering sessions.
  • show ip bgp summary vrf all: Quick overview of BGP neighbors and prefixes received.
  • show ip bgp vrf all: Displays the BGP routing table (NLRI).
  • show ip route vrf all: Displays the main IPv4 unicast routing table for all VRFs.
  • show ipv6 route vrf all: Displays the main IPv6 unicast routing table.
  • show ip route summary vrf all: Shows count of routes per protocol (Static, OSPF, BGP).
  • show ipv6 route summary vrf all: Summarized count of IPv6 routes.

Configuration

  • show running-config: Displays the current active configuration in memory.

MAC and ARP

  • show ip arp vrf all: Maps IP addresses to MAC addresses (Layer 3 to Layer 2).
  • show ip adjacency vrf all: Shows the adjacency table for hardware forwarding.
  • show mac address-table: Lists MAC addresses learned on specific ports/VLANs.

Multicast

  • show ip pim neighbor vrf all: Lists PIM-enabled neighbors for multicast routing.
  • show ip pim rp vrf all: Displays the Rendezvous Point (RP) mapping for multicast groups.
  • show ip pim route vrf all: Shows the PIM-specific multicast routing state.
  • show ip mroute vrf all: Displays the (S,G) and (*,G) multicast forwarding table.
  • show ip msdp summary vrf all: Shows MSDP peer status for inter-domain multicast.
  • show ip msdp sa-cache vrf all: Lists active Source Active (SA) multicast advertisements.
  • show ip msdp route vrf all: Shows the MSDP routing table.

Log Data

  • show logging: Displays the local system log buffer (syslog).

Pro Tip – if you wanted to see the output of any of the above commands continuously, without having to press Enter to see ‘more’, use the terminal length 0 command. Because Cisco switches default to a set number of lines per screen, any command that exceeds that length requires manual intervention (pressing Space or Enter) to continue. Using terminal length 0 removes this restriction for the current session.

This is particularly handy when you want to grab the complete output of the show running-config command and copy the terminal text to a file. If you want to take a crack at it, run the following.

terminal length 0
show running-config

Scroll to Top