Brocade DATA Collections

There are 2 types of Data Collection associated with Brocade switches, “supportshow” and “supportsave”.

If the problem is related to basic “port issues”, a “supportshow” is sufficient. However, a more complex problem that involves Zoning, Performance, Reboots, CP Failovers, Fabric wide problems etc, requires a “SupportSave” type of collection. If the problem is multiswitch related (ISL connections, long distance configurations etc.) we need the supportsave from all relevant switches in the fabric.

The amount and type of information displayed in a supportshow output is depending on the type of switch as well as the collection options enabled in the switch configuration. This can be configured with the “supportshowcfgenable [option]” and “supportshowcfgdisable [option]”.

The output from the “supportshowcfgshow” command shows which subscripts will be enabled. The default groups are always enabled. Only on special occasions you will be asked to enable additional groups if necessary.

 

Performance and Intermittent Error Related Issues

If there is no sign of any obvious physical issue there might be link related problems which can identify performance problems and/or protocol related errors. Brocade counters are cumulative and keep doing so until a certain counter wraps, a switch reboots or the statistics are manually cleared.

Storage vendors for example require in these circumstances that a new baseline is created, a certain run-time has been achieved and separate commands are submitted against the suspected switch or switches.

To create a new baseline with cleared counters do the following:

  1. Log in to the switch via Telnet or SSH
  2. Submit the “statsclear” command
  3. Submit the “slotstatsclear” command

After the agreed (mostly around one hour) run-time capture a new supportsave and upload this to the vendor’s service request.

SupportSave Data Collection (CLI Method)

When the problem is more sophisticated a supportsave from the switch is required. The supportsave command is available as of Fabric OS version 4.4 however, Fabric OS versions (> 6.2.x) provide a significant better collection of logs which represent the status overview of the switch and fabric. If you have a director class switch with two CP’s and/or core plus function blades it will also collect information from all the blades.

The supportsave will upload between 25 and 80 files depending on platform, Fabric OS level and enabled features to an FTP or SCP server. These will not be tarred or zipped into one file so it is important you create such an archive with a meaningful name. (ie. switchname-domainid-fabricid.zip)

Example

switch:admin> supportsave -u anonymous -p password -h xxx.xxx.xxx.xxx -d /directory -l ftp

This command collects RASLOG, TRACE, supportShow, core file, FFDC data and then transfer them to a FTP/SCP server or a USB device. You could also simply type the “supportsave” command without any parameters and you will be asked for the extra information before the command is actually executed. The operation will usually take several minutes to complete.
NOTE: supportSave will transfer existing trace dump file first, then automatically generate and transfer latest one. There will be two trace dump files transferred after this command.

OK to proceed? (yes, y, no, n): [no] y
Saving support information for switch:BR4100_IP127, module:RAS…
Saving support information for switch:BR4100_IP127, module:CTRACE_OLD…
Saving support information for switch:BR4100_IP127, module:CTRACE_NEW…
etc……

To upload the files you can specify the FTP parameters inline (as modeled above) or through the supportftp command (see Fabric OS V5.1 command Reference guide) .

  1. Host IP: XXX.XXX.X.X (example 192.168.1.1)
  2. User Name: admin
  3. Password:
  4. Remote Directory: tmp (example: tmp)
  5. Saving support information

SupportShow Data Collection

This is a non disruptive procedure and can be performed by the CE or the customer.

You can use your favorite terminal emulation utility. Refer to the respective documentation how to turn on capturing output to a file.

Telnet or SSH

  1. Telnet or SSH into Brocade switch
  2. Enter username and password
  3. Start logging to file on the Telnet session.
    NOTE: For Windows standard telnet, this is under the terminal pulldown menu.
  4. Enter command: supportShow
  5. Upload the telnet log to TUF.
Posted in EMC

Brocade SAN Switch commands

Brocade commands are usually very easy to find out. Simply type “help”, but what exactly does each command do? Here’s a list:

Info

uptime                          – Same as unix uptime
date                               – Same as unix date
version                          – Gives versions of firmwares & OS

Hardware State

faultshow                     – Show switch faults
fanshow                       – Show switch FAN faults
psshow                         – Show switch POWER SUPPLY faults
tempshow                    – Show switch TEMPERATURE values
switchstatusshow       – Overall status of switch

Config

agtcfgshow                  – Show SNMP config
configshow                  – Show switch config
gbicshow                     – Show GBIC slots and serial numbers
licenseshow                 – Show license data
supportshow                – Like Sun’s explorer – gets many configs at once
switchshow                  – Show switch ports and connections
zoneshow                    – Show zone and switch aliases

IP

bcastshow                   – Show broadcast routing
ifmodeshow                 – show interface mode (duplex)
ifshow                         – Like unix netstat -s
ipaddrshow                  – Like unix netstat -i
interfaceshow               – Like unix ndd

Performance

ifshow                          – Like unix netstat -s
portperfshow                – Show interface mode (duplex)
portshow #                  – Show stats on a port
portrouteshow #           – Show routes on a port
portstatsshow #            – Show stats (netstat -s) on a port

Misc Show

diagshow                     – Show diagnostics – paged output
errdump                      – Show diagnostics – no paged output
fabricshow                   – Show fabric
fspfshow                      – Show FSPF protocol info
mqshow                       – Show queues
nbrstateshow                – Show FSPF neighbor states
nsshow                        – Show name servers
nsallshow                     – Show all name servers
porterrshow                  – Like mpstat – shows port info
switchstatuspolicyshow  – Show config at when errors are flagged

Posted in EMC

Cisco MDS 9000 Series

Intro

Multilayer Fiber Switches for SAN environment.

 

Useful links:

Landing Page https://www.cisco.com/c/en/us/products/storage-networking/mds-9000-series-multilayer-switches/index.html

Troubleshooting http://www.cisco.com/c/en/us/td/docs/storage/san_switches/mds9000/sw/rel_3_x/troubleshooting/guide/trblgd.html

Notes:

Cisco MDS 9000 SAN-OS Softwre Release 2.x is retired End-Of-Support Date 15 June 2013
Cisco MDS 9000 SAN-OS Softwre Release 3.x is retired End-Of-Support Date 4 july 2015
Cisco MDS 9000 SAN-OS Softwre Release 4.x is retired End-Of-Support Date 31 July 2017

Troubleshooting IOS Commands

EXEC mode ( Switch> enable )

Switch# show tech-support (or #sh tech)
Displays information for all features

Switch# show tech-support brief
Displays information only about the status of the device.

Switch# show version
Displays the configuration of the system hardware, the software version

Switch# show running-config
Displays the router configuration currently running.

Switch# show startup-config
Displays the router configuration stored in nonvolatile RAM (NVRAM).

Switch# show interfaces
Displays statistics for all interfaces configured.