ADVERTISEMENT

CISCO MDS - Show Commands

A list of useful show commands for CISCO MDS switches.
  1. boot commands

    Boot related Commands
    4 Commands
    • show boot

      Display all the running and startup boot variables such as kickstart and system variable
      Copied
    • show boot current

      Display all the running boot variables
      Copied
    • show boot module

      Display the list of boot variables configured for modules
      Copied
    • show boot variables

      Display the list of boot variables
      Copied
  2. clock commands

    Clock Commands
    2 Commands
    • show clock

      Display the current date and time set on the switch
      Copied
    • show clock detail

      Display the current date and time set on the switch along with the summertime configuration
      Copied
  3. device-alias commands

    device-alias Commands
    3 Commands
    • show device-alias database

      display the contents of the device alias database
      Copied
    • show device-alias name server1_hba1

      display the entry with name server1_hba1 in the device alias database
      Copied
    • show device-alias status

      display the current status of device alias database
      Copied
  4. environment commands

    environment Commands
    4 Commands
    • show environment

      Display the environmental information about the switch. This includes the power supply voltage and status information and also the fan and temperature status.
      Copied
    • show environment fan

      Display the status of all the fan modules
      Copied
    • show environment power

      Display the power usage summary and status
      Copied
    • show environment temperature

      Display the temperature information and status about the intake and outlet sensors
      Copied
  5. fabric-binding commands

    fabric-binding Commands
    8 Commands
    • show fabric-binding database

      display configured fabric binding database information for all the VSANs
      Copied
    • show fabric-binding database active

      display activated fabric binding database information for all the VSANs
      Copied
    • show fabric-binding database active vsan 100

      display active fabric binding database information for VSAN 100
      Copied
    • show fabric-binding database vsan 100

      display configured fabric binding database information for VSAN 100
      Copied
    • show fabric-binding status

      displays fabric binding status for each configured VSAN
      Copied
    • show fabric-binding status vsan 100

      displays fabric binding status for VSAN 100
      Copied
    • show fabric-binding violations

      displays fabric binding violations for all VSANs
      Copied
    • show fabric-binding violations vsan 100

      displays fabric binding violations for VSAN 100
      Copied
  6. fcns commands

    FCNS Commands
    6 Commands
    • show fcns database

      display the contents of the FCNS database for all VSANs. This includes information about each PWWN entry along with FCID, vendor, type etc.
      Copied
    • show fcns database detail

      display the contents of the FCNS database for all VSANs in detail. This also shows information like the connected interface and switch.
      Copied
    • show fcns database detail vsan 1

      display the contents of the FCNS database for VSAN 1 in detail. This also shows information like the connected interface and switch.
      Copied
    • show fcns database fcid 0x0b0100

      display the entries in FCNS database with FCID 0x0b0100
      Copied
    • show fcns database vsan 1

      display the contents of the FCNS database for VSAN 1 . This includes information about each PWWN entry along with FCID, vendor, type etc.
      Copied
    • show fcns statistics

      displays the Name Server Statistics
      Copied
  7. feature commands

    feature Commands
    1 Command
    • show feature

      Display the list of all the features available in the switch and currently enabled or disabled.
      Copied
  8. flogi commands

    flogi Commands
    8 Commands
    • show flogi database

      Display all the entries in the FLOGI database
      Copied
    • show flogi database details

      Display all the entries in the FLOGI database along with FCID allocation details
      Copied
    • show flogi database fcid 0x0b0100

      Display only the entries with fcid 0x0b0100 in the FLOGI database
      Copied
    • show flogi database interface fc1/1

      Display the entries in the FLOGI database for FC port1 on slot1
      Copied
    • show flogi database vsan 10

      Display only the entries belongs to vsan 10 interfaces in the FLOGI database
      Copied
    • show flogi internal errors

      Display the error log of FLOGIs
      Copied
    • show flogi internal event-history interface fc1/1

      Display the FLOGI event history log for FC port 1
      Copied
    • show flogi internal event-history vsan 11

      Display the FLOGI event history log for members of vsan 11
      Copied
  9. hardware commands

    Switch Hardware Commands
    2 Commands
    • show hardware

      Display the complete switch hardware information. This command also show the BIOS version, system and kickstart image information with many other useful details.
      Copied
    • show hardware internal mgmt0 stats

      Display the information about the switch management interface. Gives the details about the management IP address and MAC address of the port.
      Copied
  10. interface commands

    Interface Commands
    20 Commands
    • show interface

      Displays information for all interfaces on the switch
      Copied
    • show interface bbcredit

      Display the Buffer To Buffer credit information for each interface about the operation state.
      Copied
    • show interface brief

      Displays brief information about all the interfaces on a switch
      Copied
    • show interface counters brief

      Show the interface counters in brief
      Copied
    • show interface description

      Displays description about of all the interfaces in the switch
      Copied
    • show interface detail-counters

      Displays detailed information about the counters in all the interfaces
      Copied
    • show interface fc1/1

      Display detailed information about FC interface port 1 in slot 1
      Copied
    • show interface fc1/1 description

      Displays description about FC interface port1 on slot 1 in the switch
      Copied
    • show interface fc1/1 transceiver

      Display the information about transceiver(SFP) on port 1 module 1. This includes the product id, serial number supported speed and diagnostic information about the SFP.
      Copied
    • show interface fc1/1 transceiver details

      Display the information about transceiver(SFP) on port 1 module 1. This includes the product id, serial number supported speed and a detailed diagnostic information about the SFP.
      Copied
    • show interface fc1/1 | include Speed

      Display the Speed of FC port 1 on slot 1
      Copied
    • show interface fc1/1 | include vsan

      Display the vsan information of FC port 1 on slot 1
      Copied
    • show interface fc1/1-5 brief

      Displays brief information about FC interfaces 1 to 5 on a switch
      Copied
    • show interface mgmt

      Displays detailed information about management interface 0
      Copied
    • show interface port-channel 1

      Show detailed information about port channel 1
      Copied
    • show interface port-channel 1 brief

      Show brief information about port channel 1
      Copied
    • show interface port-channel 1 trunk vsan

      Show the trunk per vsan information in port-channel 1
      Copied
    • show interface port-channel 1 trunk vsan 100

      Show the trunks on vsan 100 in port-channel 1
      Copied
    • show interface transceiver

      Display the transceiver(SFP) information on all the ports. This includes the product id, serial number supported speed and diagnostic information about the SFP.
      Copied
    • show interface transceiver details

      Display the information about transceiver(SFP) on all the ports. This includes the product id, serial number supported speed and a detailed diagnostic information about the SFP.
      Copied
  11. inventory commands

    inventory Commands
    6 Commands
    • show inventory

      Display the inventory of all field replaceable units (FRUs). This includes product IDs, serial numbers, and version IDs
      Copied
    • show inventory chassis

      Display the inventory of the chassis unit. This includes product IDs, serial numbers, and version IDs
      Copied
    • show inventory fans

      Display the inventory of all fans in the switch. This includes product IDs, serial numbers, and version IDs
      Copied
    • show inventory module

      Display the inventory of all the modules. This includes product IDs, serial numbers, and version IDs
      Copied
    • show inventory module 1

      Display the inventory of module 1. This includes product IDs, serial numbers, and version IDs
      Copied
    • show inventory power_supply

      Display the inventory of all the power supply units in the switch. This includes product IDs, serial numbers, and version IDs
      Copied
  12. processes commands

    Processes Commands
    9 Commands
    • show processes

      display all the active system processes running on a switch
      Copied
    • show processes cpu

      display the cpu utilization for all the active processes running on a switch
      Copied
    • show processes cpu sort 5min

      display all the system processes sorted by cpu ulitization based last 5 minute
      Copied
    • show processes log

      display process log information
      Copied
    • show processes log details

      display detailed information of all process logs
      Copied
    • show processes log pid 1234

      display detailed information logged against process id 1234
      Copied
    • show processes memory

      display memory usage information for each system processes in the switch
      Copied
    • show processes memory shared

      display shared memory information for system processes running on switch
      Copied
    • show processes memory sort

      display memory usage information for all system processes in the switch sorted by highest first
      Copied
  13. switch commands

    switch Commands
    2 Commands
    • show switch

      Display the hostname of the switch
      Copied
    • show switch serialnum

      Display the serial number of the switch. we can also use "show sprom backplane 1" to get the serial number.
      Copied
  14. switchname commands

    Switchname Commands
    2 Commands
    • show switchname

      Display the hostname of the switch
      Copied
    • show switchname serialnum

      Display the serial number of the switch. we can also use "show sprom backplane 1" to get the serial number.
      Copied
  15. system commands

    System Commands
    16 Commands
    • show system auto-collect tech-support

      display the auto collection status of show tech support
      Copied
    • show system default switchport

      display the default port status of the switch
      Copied
    • show system error-id 0x402000EC

      display the details of error id 0x402000EC
      Copied
    • show system error-id list

      display the list of all the error ids with its description
      Copied
    • show system health

      display current health status for all the modules in the switch
      Copied
    • show system health module 1

      display current health status for module 1 in the switch
      Copied
    • show system health statistics

      display current health statistics for all modules in the switch. This include the failure and error counts happened on tests.
      Copied
    • show system health statistics loopback

      display loopback test statistics for the entire switch
      Copied
    • show system health statistics loopback interface fc1/1

      display loopback test statistics for FC port 1/1
      Copied
    • show system health statistics loopback module 1

      display loopback test statistics for the module 1
      Copied
    • show system health statistics module 1

      display current health statistics module 1 in the switch. This include the failure and error counts happened on tests.
      Copied
    • show system login failures

      list the failed login attempts to access the switch
      Copied
    • show system redundancy status

      display the redundancy status of supervisor cards
      Copied
    • show system reset-reason module 5

      display the reasons for various resets happened for module 1
      Copied
    • show system resources

      display the current usage summary of various resources in the switch such as memory, processes etc.
      Copied
    • show system uptime

      display switch uptime
      Copied
  16. user-account commands

    user-account Commands
    2 Commands
    • show user-account

      display information about all the configured user accounts
      Copied
    • show user-account user1

      display information about user1
      Copied
  17. users commands

    users Commands
    1 Command
    • show users

      display all CLI users currently accessing the switch
      Copied
  18. vsan commands

    vsan commands
    6 Commands
    • show vsan

      Display the information about all the VSANs along with operation status
      Copied
    • show vsan 100

      Display the information about VSAN 100 along with operation status
      Copied
    • show vsan 100 membership

      Display the membership information about VSAN 100. This will list the FC ports and Port-channels part of the VSAN
      Copied
    • show vsan membership

      Display the membership information about all the VSANs. This will list the FC ports and Port-channels part of each VSANs
      Copied
    • show vsan membership interface fc1/1

      Display the VSAN membership information of FC port 1
      Copied
    • show vsan usage

      Display the information about the number of VSANs configured and how many available for usage
      Copied
  19. wwn commands

    wwn Commands
    1 Command
    • show wwn switch

      display wwn of the switch
      Copied
  20. zone commands

    zone commands
    8 Commands
    • show zone

      Display the list of all the zones defined in all the VSANs
      Copied
    • show zone active

      Display all the zones those are part of active zoneset in all the VSANs
      Copied
    • show zone active vsan 100

      Display only the zones those are part of active zoneset configured in VSAN 100 along with its member zones.
      Copied
    • show zone member pwwn 21:00:00:00:00:00:00:11

      List all the zones to which a member belongs using 21:00:00:00:00:00:00:11
      Copied
    • show zone name zone123

      Display the members of zone zone123
      Copied
    • show zone status

      Display the zone database status of VSAN 100. This will include the number of zoneset and zones defines VSAN 100. It also shows if the zoning mode either basic or enhanced.
      Copied
    • show zone status vsan 100

      Display the zone database status of VSAN 100. This will include the number of zoneset and zones defines VSAN 100.It also shows if the zoning mode either basic or enhanced for zones in VSAN 100
      Copied
    • show zone vsan 100

      Display the list of all the zones defined for VSAN 100
      Copied
  21. zoneset commands

    zoneset commands
    4 Commands
    • show zoneset

      Display the zonesets configured in all the VSANs along with its member zones.
      Copied
    • show zoneset active

      Display only the active zoneset configured in all the VSANs along with its member zones.
      Copied
    • show zoneset active vsan 100

      Display only the active zoneset configured in VSAN 100 along with its member zones.
      Copied
    • show zoneset vsan 100

      Display the zonesets configured in VSAN 100 along with its member zones.
      Copied

[ view all commands ]