Friday, November 20, 2015

Commands for basic FOS troubleshooting ( Brocade)


Disclaimer: The information in this Contribution is provided “AS IS,” without warranty of any kind.
The author reserves the right to make changes to this document at any time, without notice, and assumes no responsibility for its use.

The author shall have no liability or responsibility to any person or entity with respect to any loss, cost, liability, or damages arising from the information contained in this contribution.


There are lots of brocade commands that come handy when troubleshooting a fabric related problems. We divide these into

Marginal Links

switchshow - Indicators like no light or In_sync will be displayed
portshow - Provides report on errors on a port
porterrshow - provides gist of port errors, look for delta of counters
portstatsshow - Provides details of port errors
portstats64show - Extension of portstatsshow when 32 bit counters do not suffice, look for tim_txcrd_z to observe BB_credit deltas

fabriclog -s - Helps isolate flapping ports, look out for offline and online sequences
sfpshow - Provides information on SFP and their state, check for power

Zoning

cfgshow - Displays zoning configuration
defzone --show  - Shows default zone settings
nsshow -t - Display name server entries with additional details

nodefind - To find specific device in fabric
nodefind - To find specific device in fabric

fcping - helps isolate end to end device connectivity and also an easy method to validate zoning


Licensing

licenseshow

Firmware Download

firmwaredownloadstatus
firmwareshow
version

Configuration

configdefault - To reset switch configuration to default
configdownload - To download a previously uploaded config file

switchshow - Lists connection information as well first indicator of fabric segmentations
errshow -r - Look for config events, match events with list in Brocade Message reference guide for suitable actions
fabstatsshow - flags any parameter mismatch during merging
fabricshow - Helps identify domain id conflicts and gives an overview of all fabric members

configure - To set correct switch and flow control parameters

portcfgshow - Display port configuration
portcfgspeed - Set or show port speed
portcfgdefaults - Set port settings to default
portcfgpersistentenable - To enable port permanently
portcfgpersistentdisable - To disable port persistently (across reboots)
portdisable
portenable
portcfgeport - Disable E port
portcfglport - Lock port to L port
portcfggport - Lock port to E or F port

Log collection

supportshow
supportsave

No comments:

How to use DiskSpd to simulate Veeam Backup & Replication disk actions

This HOW-TO contains information on how to use Microsoft© DiskSpd to simulate Veeam Backup & Replication disk actions to measure disk pe...