Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Cisco CLI Quick Reference VSAN commands show vsan = lists all VSANs on the switch show vsan membership = lists members / interfaces in each VSAN (config) # vsan database = enter VSAN database configuration mode (config-vsan-db) # vsan ## = create a VSAN instance (## = number for VSAN) (config-vsan-db) # vsan ## name <name> = assign a name to a particular VSAN (##) (config-vsan-db) # vsan ## suspend = takes a VSAN down operationally (config-vsan-db) # vsan ## interface fc1/1 = adds int fc1/1 to a particular VSAN (config-vsan-db) # vsan ## loadbalancing src-dst-ox-id = configures load-balancing on a particular VSAN (default is src-dst-ox-id) Zoning commands show zoneset = lists all zonesets show zone vsan ? = lists zones in a VSAN show zone status vsan ? = lists status of zones in a particular VSAN show zoneset active = lists active zoneset & active zones (members) (config) # zone name <name> vsan ? = creates a zone in a particular VSAN (config-zone) # member pWWN <wwn> = adds members to the zone (config) # zoneset name <name> vsan ? = creates a zoneset in a particular VSAN (config-zoneset) # member <zonename> = add zone to zoneset (config) # zoneset activate name <zonesetname> vsan ? = activates zoneset in a particular VSAN (config) # no zone default-zone permit VSAN ? = removes default zone access to a VSAN (access will only be permitted according to the configuration of the active zoneset) More Show / Information commands show flogi database = lists nodes logged into the fabric (not nameserver loginserver) show fcns database = lists all nodes registered with the NameServer show fcs database = lists Fabric-wide configuration information show fspf database = lists all fspf information on routes available to other switches show tech-support = lists a LOT of information for the switch show port-channel summary = lists a summary of all port channels show port-channel database = lists detailed information on all port channels show flash = shows available disk space show users = shows users logged in show wwn switch = displays switch WWN Tech Support commands show tech-support = displays a lot of information useful for troubleshooting the switch (similar to Brocades supportshow) show rscn statistics = displays Registered State Change Notification statistics Statistics commands show fcns statistics = displays Fibre Channel switch statistics (for other statistics, replace fcns with other available databases) clear fcns statistics = clears statistical counters (using fcns as an example)
05/12/03
Page 1 of 2
EMC Corporation, Technology Solutions Port / Interface commands show interface = shows information on all ports (or per port: fc1/1 = slot 1 / port 1) show interface status = shows status/mode information on all ports (config-if) # shutdown = takes port offline (config-if) # no shutdown = puts port online (config-if) # switchport beacon = beacon port (config-if) # switchport mode ? = set porttype (config-if) # switchport speed ? = set speed Switch commands reload = reboots the system show version = shows currently installed code / images show fcdomain vsan ? = shows domain ID (config) # switchname <name> = sets name of switch show interface mgmt 0 = shows IP address, MAC address (netmask is shown as /<bits>) show ip route configured = shows routing tables / default gateway (if configured) Backup commands copy running-config startup-config = Saves any changes made to the running configuration across reboots copy startup-config <tftp server> = Backs up a copy of the configuration to a server Module commands show module = lists status for all modules show system redundancy status = shows information for active and standby Supervisor modules (MDS9509) system switchover = failover to standby Supervisor module (MDS9509) FC Utilities fcping fcid 0x6f0001 vsan 1 = verifies connectivity to a node & checks congestion/latency (like ping in the IP world) fctrace fcid 0x6f0001 = shows route (ISL pathways) to destination node & latency (config) # fcanalyzer ? = built-in Fibre Channel frame analyzer (config) # span session 1 = enter span configuration mode (to mirror ports) (config-span) # destination interface fc1/9 = chooses the port to span (mirror) frames to (config-if) # switchport mode sd = configures interfaces to SD port type (config-if) # no switchport encap = configures no encapsulation for the SD port output (config-span) # source interface fc1/2 = choosing the source port to span (config-span) # suspend = suspends the current SPAN session being configured show span session = lists all span sessions You can download a large CLI Reference Guide (350+ pages) from the Cisco website: 1. Go to www.cisco.com. 2. Perform a search for MDS 3. Select any link listed. 4. Once at that page, look for Technical Documentation on the left 5. Once opened, there should be a listing for CLI Reference Guide. If you find any errors or have questions, please send a note to the author: mailto:byrum_michael@emc.com
05/12/03
Page 2 of 2