This list covers the most useful Brocade CLI commands for network engineers and administrators who manage Brocade switches, particularly those running FastIron or Network OS. Whether you’re troubleshooting a link, configuring VLANs, or checking firmware, these commands will save you time. We’ve focused on the commands you’ll actually use daily, with real syntax and practical tips.
show version
This is the first command you should run on any unfamiliar Brocade device. It displays the switch model, serial number, current firmware version, and uptime. The output also shows the boot PROM version, which is critical when planning a firmware upgrade. Use show version to confirm you’re on the right code before making changes.
show interfaces status
This gives a quick summary of all ports, their link state, speed, and duplex. It’s the fastest way to see which ports are up, down, or disabled. The output includes the port name (if configured) and the VLAN membership, making it ideal for initial troubleshooting. For a single port, use show interfaces ethernet 1/1/1 for detailed stats.
show vlan
This command lists all VLANs configured on the switch, along with their names and associated ports. It’s essential for verifying your VLAN design and ensuring ports are in the correct VLAN. The output shows whether a VLAN is tagged or untagged on each port. Use show vlan id 10 to focus on a specific VLAN.
show running-config
This displays the current running configuration, which is the active configuration in memory. It’s the definitive source of truth for what’s actually applied. You can pipe it to show running-config | include vlan to filter for specific sections. Always review this before rebooting, as unsaved changes will be lost.
write memory
This saves the running configuration to the startup configuration (flash). It’s the equivalent of copy running-config startup-config on Cisco. Without this, any changes you make are lost on reboot. Make it a habit to run write memory after every significant change. The command is often abbreviated to wr mem.
show logging
This displays the system log buffer, which contains error messages, events, and notifications. It’s invaluable for diagnosing issues like link flaps, Spanning Tree changes, or authentication failures. Use show logging | tail 50 to see the most recent entries. The log also shows the severity level of each message, helping you prioritize issues.
show mac-address-table
This shows the MAC address table, which maps MAC addresses to ports and VLANs. It’s crucial for troubleshooting connectivity issues, such as finding which port a specific device is connected to. Use show mac-address-table address 0011.2233.4455 to search for a specific MAC. The table also shows whether entries are dynamic or static.
show ip route
For Layer 3 switches, this displays the IP routing table, including directly connected, static, and dynamic routes. It’s essential for verifying routing protocols like OSPF or BGP. Use show ip route to see the next-hop and metric for each route. To see only OSPF routes, use show ip route ospf.
show lldp neighbors
This shows the devices directly connected to the switch via LLDP (Link Layer Discovery Protocol). It displays the neighbor’s hostname, port, and capabilities. It’s a quick way to map your physical topology without walking to the wiring closet. Use show lldp neighbors detail for more information like system description and management IP.
show chassis
This command is specific to modular chassis switches (like the Brocade MLX series). It shows the status of all modules, including power supplies, fan trays, and line cards. It also displays the serial numbers and firmware versions of each module. This is critical for hardware troubleshooting and when planning maintenance windows.
How to Choose
When deciding which commands to memorize, focus on your daily workflow. If you’re a campus access engineer, show interfaces status and show mac-address-table will be your go-to. For data center or core roles, prioritize show ip route and show chassis. Also consider the OS version: FastIron and Network OS have slight differences in syntax. Always test commands in a lab before using them in production, and use the ? help feature to explore options.
Frequently Asked Questions
Q: What’s the difference between write memory and copy running-config startup-config?
A: They do the same thing on Brocade devices. write memory is the traditional Brocade command, while the copy command is also accepted. Use whichever you prefer.
Q: How do I reset a Brocade switch to factory defaults?
A: Use erase startup-config followed by reload. This clears the saved configuration, and the switch will boot with default settings. Be careful, as this removes all configuration.
Q: Can I use show running-config to see passwords?
A: Passwords are displayed in encrypted form (usually as encrypted or a hash). You cannot see the plaintext password. To change a password, use enable password or username commands.
Q: How do I enable SSH on a Brocade switch?
A: First, generate an RSA key with crypto key generate rsa. Then enable SSH with ip ssh. You also need to configure a hostname and domain name. Finally, ensure you have a user account with a password.
Q: What does show logging show that show log doesn’t?
A: On Brocade, show logging is the standard command. show log may not exist or may be an alias. Always use show logging to get the system log.
Q: How do I find the MAC address of a specific port?
A: Use show mac-address-table interface ethernet 1/1/1 to list all MACs learned on that port. This is useful for security and troubleshooting.
Final Thoughts
Mastering these Brocade CLI commands will make you more efficient and confident when managing Brocade hardware. Start with the basics like show version and show interfaces status, then expand your toolkit as you encounter new challenges. Always document your commands and configurations, and never hesitate to use the built-in help. With practice, these commands will become second nature.