Amazon Cyber Monday deals See deals →ad

Mets Minor League Blog

Music theory, instruments and musicians

Mets Minor League Blog

Music theory, instruments and musicians

Brocade Network Troubleshooting: 10 Steps That Work

This listicle covers ten practical, field-tested steps for troubleshooting Brocade switches and fabrics, from basic port checks to advanced FCNS and firmware issues. It’s written for network admins and storage engineers who manage Brocade (now Broadcom) Fibre Channel and Ethernet gear and need quick, accurate fixes without vendor-runaround.

1. Check Port Status and Optics First

Start with switchshow or portshow to see if the port is online, offline, or in a faulty state. Look for the light level with portstatsshow—if RX power is near the threshold, suspect a dirty or failing SFP. Swap optics with a known-good unit before touching configs, since most “dead” ports are actually bad transceivers or cables.

2. Use ErrShow to Spot Recurring Errors

Run errshow to see the last few error messages, but don’t stop there—use porterrshow to check cumulative CRC, encoding, and signal-loss counters per port. A port with thousands of CRC errors but no link drops often points to a marginal cable or EMI, not a switch fault. Clear counters with porterrclear and re-test to see if errors recur.

3. Verify Fabric Zoning with ZoneCheck

Zoning misconfigs cause most “device not visible” complaints. Use zonecheck to validate a zone against the active config, and zoneshow to see what’s actually enforced. Remember that changes require cfgenable to take effect—many admins forget this step and assume the switch ignored them.

4. Inspect FCNS and Device Login State

If a host can’t see a target, check the Fibre Channel Name Server with fcnsshow to confirm both devices are registered. A device that’s not listed means it never completed fabric login (FLOGI), so check the port’s portlog for FLOGI rejections. Common causes: zoning mismatch, port speed mismatch, or the device’s WWN being blocked by a port policy.

5. Test ISL Trunking and Load Balancing

Slow fabric performance often comes from Inter-Switch Links (ISLs) that are oversubscribed. Use trunkshow to verify trunking is active and islshow to see link status. Check for traffic imbalance with portperfshow—if one ISL is saturated while others idle, you may have a routing or trunking config issue that needs portcfgtrunk adjustments.

6. Review Switch Logs with SupportShow

For deeper issues, supportshow bundles logs, configs, and stats into one output—use it before calling support. Look for patterns like repeated fabric reconfigurations or timeout messages in the RASlog. Save the output to a file; it’s the fastest way to spot hardware faults (like failing fans) that don’t always show in simple status commands.

7. Check Firmware and Compatibility

Brocade switches are sensitive to firmware mismatches across a fabric. Use firmwareshow to list versions, and verify against the Broadcom compatibility matrix for your switch model and SFPs. A mismatch can cause random flapping or protocol errors—upgrade or downgrade to a supported version, and always back up the config first with configupload.

8. Validate Physical Layer with PortLoopbackTest

When you suspect the switch port itself is failing, run portloopbacktest to test the internal path without external cables. Use the --external flag to test with a loopback plug if needed. If the test fails, the port or the ASIC is likely bad—plan for a port replacement or RMA, not a config change.

9. Examine Fabric Performance with TopTalkers

To find which devices are hogging bandwidth, use statstool or portperfshow to see real-time traffic per port. Look for hosts with unusually high TX/RX counts—they might be causing congestion that affects other devices. This is especially useful in storage networks where one server’s backup can starve production traffic.

10. Reset the Switch Gracefully

If nothing else works, a controlled reboot can clear stuck states. Use reboot (not reboot -f) to allow a graceful shutdown, and ensure the config is saved with configsave first. For fabric-wide issues, reboot one switch at a time to avoid a full fabric outage, and check switchshow after each reboot to confirm it rejoins the fabric.

How to Choose

When picking a troubleshooting approach, start with the simplest, least disruptive steps—port checks and logs—before moving to config changes or reboots. Prioritize steps that give you data (like errshow or porterrshow) over those that modify state. Always back up the config before any change, and use supportshow early if you suspect a hardware fault, as it saves time when escalating to Broadcom support. For recurring issues, document the exact command output and timestamps—patterns across multiple occurrences are more diagnostic than a single snapshot.

Frequently Asked Questions

Q: How do I reset a Brocade switch to factory defaults?
Use configdefault to reset the config to factory, then reboot to apply. This wipes all settings, so back up first with configupload.

Q: Why does my port show ‘No_Module’ even with an SFP installed?
That means the switch isn’t detecting the optics. Reseat the SFP, check for bent pins, and verify the SFP is Brocade-compatible—third-party optics often fail to initialize.

Q: Can I use portlog to see historical events?
Yes, portlog shows recent events per port, but it’s a ring buffer—older entries get overwritten. Use portlogdump to capture more, and enable portlog persistence if you need long-term history.

Q: What’s the difference between switchshow and portshow?
switchshow gives a summary of all ports, while portshow provides detailed info for one port, including speed, state, and attached device WWN. Use switchshow first to narrow down, then portshow for specifics.

Q: How do I know if a firmware upgrade is safe?
Check the release notes for your switch model and current firmware. Always upgrade to the next minor version, not a jump, and test on a non-production switch first if possible.

Q: Why does my fabric keep reconfiguring?
Frequent reconfigs often indicate a flapping ISL or a switch that keeps leaving and rejoining. Check errshow for ‘Fabric reconfiguration’ messages and inspect ISL stability with islshow.

Final Thoughts

Brocade troubleshooting is mostly about methodical elimination—start with physical layer, then logical config, then firmware. The commands above cover 90% of common issues, but always keep a record of what you tried and the output. If you’re stuck, supportshow is your best friend for getting expert help fast. Remember, a clean, well-documented network is easier to fix than one with years of unlogged changes.

Brocade Network Troubleshooting: 10 Steps That Work
Scroll to top