Comandos Básicos para FOS Brocade 6.x
Hay un montón de comandos de Brocade que pueden venir bien a la hora de solucionar los problemas relacionados con una Fabric o un switch.
Dividimos estos en:
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
Fuente
http://community.brocade.com/docs/DOC-1713
Otros:
switchshow - For general switch info.
porterrshow - To check for port errors. Look for counters with high numbers.
portshow <port number> - To check for more detailed stats.
errshow -r - For general FOS errors - not related to hw.
errdump -r - You will get hardware errors as well.
portstatsshow <port number> - shows port errors upto 32bit.
portstats64show <port number> - shows port errors upto 64bit.
fabriclog -s - Shows fabric transitions - vimp command to see if some port is flapping.
nodefind <WWPN>
To troubleshoot zoning issues.
This command will help you easily locate zone info.
cfgshow | grep -A4 -B4 <server name>
For example cfgshow | grep -A4 -B4 pat2140
fcping <initiator WWPN> <target WWPN>
example fcping 10:00:00:00:3e:c9:10 50:00:00:00:6e:d9:01