Brocade SAN Switch Commands: Essential CLI for Storage Admins - 夜莺博客

Brocade SAN Switch Commands: Essential CLI for Storage Admins

Every Fibre Channel SAN admin eventually lives in the Brocade Fabric OS CLI — it is where port health, fabric topology and optical signal quality are truly visible. This guide compiles the essential Brocade SAN switch commands by task: quick health and overview checks, port-level troubleshooting for host-LUN issues, and fabric/ISL management for multi-switch backbones. Each command comes with its real-world use case so you know exactly when to reach for it.

1. Quick Health and Overview Checks

switchshow        - display status of all ports
fabricshow        - view overall fabric details
chassisshow       - show hardware components (PSU, fans, etc.)
uptime            - how long the switch has been up
version           - show firmware version
licenseshow       - see active licenses
switchstatusshow  - high-level health check
tempshow          - view temperature sensors
supportshow       - collect full tech support logs
errdump           - live error/event log dump
errshow           - summary of switch error messages

2. Port-Level Troubleshooting

Essential for host-LUN issues, performance flapping, and cabling or SFP faults:

portshow <port#>        - view port status and config
porterrshow             - CRCs, sync losses, signal issues
portlogdump <port#>     - port link status history
portstatsshow           - port statistics (traffic, errors)
portdisable <port#>     - admin down
portenable <port#>      - admin up
portcfgshow <port#>     - port config settings
portcfgspeed <port#>    - set fixed speed (8/16/32G)
sfpshow <port#>         - SFP info (model, power, health)
portbuffershow          - buffer credits (for distance issues)

High porterrshow CRC counts usually mean bad cabling or a failing SFP — check sfpshow for optical power levels before replacing parts.

3. Fabric and ISL Management

islshow           - display ISL links
trunkshow         - show trunking groups
trunkportshow <port#> - check trunk port behavior

For diagnostics and FICON environments, additional Fabric OS commands include diagshow (diagnostic status), ficonshow (FICON management database), and the portlog family (portlogenable, portlogdump) for link event history.

Related SAN Content on This Site

Compare storage protocols in FC vs iSCSI SAN comparison, manage arrays with Dell EMC Unity UEMCLI guide and HPE 3PAR controller replacement.

原文链接:https://medium.com/@madhuprasadcse/brocade-san-switch-commands-every-storage-admin-should-know-with-real-world-use-cases-4c91dedc4ea0