ADVERTISEMENT

CISCO MDS CLI Questions

The How to guide for CISCO MDS Commands

  • show interface
    Displays information for all interfaces on the switch

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

  • show interface fc1/1-5 brief
    Displays brief information about FC interfaces 1 to 5 on a switch

  • show interface mgmt 0
    Displays detailed information about management interface 0

  • show interface description
    Displays description about of all the interfaces in the switch

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

  • show interface counters brief
    Show the interface counters in brief

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

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

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

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

  • show interface detail-counters
    Displays detailed information about the counters in all the interfaces

  • 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.

  • 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.

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

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

  • show boot current
    Display all the running boot variables

  • show boot variables
    Display the list of boot variables

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

  • show switchname
    Display the hostname of the switch

  • show switchname serialnum
    Display the serial number of the switch. we can also use "show sprom backplane 1" to get the serial number.

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

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

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

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

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

  • 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

  • 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.

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

  • show environment power
    Display the power usage summary and status

  • show environment temperature
    Display the temperature information and status about the intake and outlet sensors

  • show switch
    Display the hostname of the switch

  • show switch serialnum
    Display the serial number of the switch. we can also use "show sprom backplane 1" to get the serial number.

  • show feature
    Display the list of all the features available in the switch and currently enabled or disabled.

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

  • show clock detail
    Display the current date and time set on the switch along with the summertime configuration

  • 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.

  • 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.

  • 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.

  • 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.

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

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

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

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

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

  • show flogi database fcid 0x0b0100
    Display only the entries with fcid 0x0b0100 in the FLOGI database

  • show flogi database details
    Display all the entries in the FLOGI database along with FCID allocation details

  • show flogi database interface fc1/1
    Display the entries in the FLOGI database for FC port1 on slot1

  • show flogi internal event-history interface fc1/1
    Display the FLOGI event history log for FC port 1

  • show flogi internal errors
    Display the error log of FLOGIs

  • show flogi internal event-history vsan 11
    Display the FLOGI event history log for members of vsan 11

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

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

  • show vsan usage
    Display the information about the number of VSANs configured and how many available for usage

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

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

  • show vsan membership interface fc1/1
    Display the VSAN membership information of FC port 1

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

  • show zone vsan 100
    Display the list of all the zones defined for VSAN 100

  • show zone name zone123
    Display the members of zone zone123

  • 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

  • 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.

  • 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

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

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

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

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

  • show zone active vsan 100
    Display only the zones those are part of active zoneset configured in VSAN 100 along with its member zones.

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