{"id":2112,"date":"2025-11-02T06:33:31","date_gmt":"2025-11-02T06:33:31","guid":{"rendered":"https:\/\/www.nicktailor.com\/?p=2112"},"modified":"2025-11-02T07:00:58","modified_gmt":"2025-11-02T07:00:58","slug":"cisco-vs-brocade-san-switch-commands-explained-with-diagnostics-and-examples","status":"publish","type":"post","link":"https:\/\/nicktailor.com\/tech-blog\/cisco-vs-brocade-san-switch-commands-explained-with-diagnostics-and-examples\/","title":{"rendered":"Cisco vs Brocade SAN Switch Commands Explained (with Diagnostics and Examples)"},"content":{"rendered":"<article>Enterprise SAN switches from <strong>Cisco (MDS)<\/strong> and <strong>Brocade (Broadcom)<\/strong> power mission-critical storage networks. Whether you manage VMware, EMC VPLEX, or multi-array clusters, understanding the core and diagnostic commands is essential for maintaining performance and uptime.This article lists the most common operational, configuration, and diagnostic commands, explained clearly and paired with real-world examples.<\/p>\n<hr \/>\n<h2>1. System Information &amp; Status<\/h2>\n<h3>Cisco MDS (NX-OS)<\/h3>\n<pre><code>show version<\/code><\/pre>\n<p>Displays firmware, hardware details, and uptime \u2014 used after upgrades or new deployments.<\/p>\n<pre><code>show interface brief<\/code><\/pre>\n<p>Summarizes Fibre Channel interfaces and states (up\/down, speed, port mode).<\/p>\n<pre><code>show flogi database<\/code><\/pre>\n<p>Shows all devices that have logged in via Fibre Channel \u2014 used to verify host and storage visibility.<\/p>\n<pre><code>show zoneset active<\/code><\/pre>\n<p>Lists currently active zoning configurations (zonesets) per VSAN.<\/p>\n<pre><code>copy running-config startup-config<\/code><\/pre>\n<p>Saves current configuration to flash memory so it persists after reboot.<\/p>\n<h3>Brocade (Fabric OS)<\/h3>\n<pre><code>version<\/code><\/pre>\n<p>Displays Fabric OS version and hardware model.<\/p>\n<pre><code>switchshow<\/code><\/pre>\n<p>Quick overview of all ports, their online state, speed, and connected devices.<\/p>\n<pre><code>fabricshow<\/code><\/pre>\n<p>Lists fabric membership (Domain IDs and ISLs) \u2014 essential when managing multi-switch fabrics.<\/p>\n<pre><code>portshow 1<\/code><\/pre>\n<p>Detailed statistics for port 1: WWN, speed, signal quality, and status.<\/p>\n<pre><code>cfgshow<\/code><\/pre>\n<p>Displays all zones, aliases, and configurations (both defined and active).<\/p>\n<p><strong>Tip:<\/strong> Run <code>switchshow<\/code> or <code>show interface brief<\/code> after power-up to confirm all ports and fabrics are operational.<\/p>\n<hr \/>\n<h2>2. Port Configuration Commands<\/h2>\n<h3>Cisco<\/h3>\n<pre><code>conf t\ninterface fc1\/1\n  switchport mode F\n  switchport vsan 10\n  no shut<\/code><\/pre>\n<p><strong>Explanation:<\/strong><\/p>\n<ul>\n<li><code>switchport mode F<\/code> \u2014 &#8220;Fabric&#8221; mode for end devices.<\/li>\n<li><code>switchport vsan 10<\/code> \u2014 Assigns port to VSAN 10.<\/li>\n<li><code>no shut<\/code> \u2014 Enables the port.<\/li>\n<\/ul>\n<h3>Brocade<\/h3>\n<pre><code>portcfgenable 1\nportcfgspeed 1,16\nportname 1 \"ESXi01_HBA1\"<\/code><\/pre>\n<p>Enable, set speed, and name ports before connecting hosts \u2014 helps in troubleshooting and documentation.<\/p>\n<hr \/>\n<h2>3. Zoning Configuration<\/h2>\n<h3>Cisco NX-OS<\/h3>\n<pre><code>vsan database\n  vsan 10 name PROD_VSAN\nzoneset name PROD_ZS vsan 10\n  zone name ESXi01_to_VPLEX vsan 10\n    member pwwn 20:00:00:25:B5:11:22:33\n    member pwwn 20:00:00:25:B5:44:55:66\nzoneset activate name PROD_ZS vsan 10<\/code><\/pre>\n<p><strong>VSANs<\/strong> isolate fabrics, <strong>zones<\/strong> define host-to-storage pairs, and <strong>zonesets<\/strong> apply configurations.<\/p>\n<h3>Brocade (FOS)<\/h3>\n<pre><code>alicreate \"ESXi01_HBA1\",\"20:00:00:25:B5:11:22:33\"\nalicreate \"VPLEX01_P1\",\"20:00:00:25:B5:44:55:66\"\nzonecreate \"ESXi01_to_VPLEX\",\"ESXi01_HBA1;VPLEX01_P1\"\ncfgcreate \"PROD_CFG\",\"ESXi01_to_VPLEX\"\ncfgenable \"PROD_CFG\"\ncfgsave<\/code><\/pre>\n<p>Create aliases for readability, define zones between host and target, and enable the configuration.<\/p>\n<hr \/>\n<h2>4. Fabric and Topology Checks<\/h2>\n<h3>Cisco<\/h3>\n<pre><code>show topology\nshow fcns database\nshow vsan\nshow interface fc1\/1<\/code><\/pre>\n<p>Use these to confirm fabric structure, device registration, and interface health.<\/p>\n<h3>Brocade<\/h3>\n<pre><code>fabricshow\nislshow\nswitchshow\nnsshow<\/code><\/pre>\n<p><code>islshow<\/code> and <code>fabricshow<\/code> confirm ISL health and fabric membership after adding switches.<\/p>\n<hr \/>\n<h2>5. Diagnostic &amp; Troubleshooting Commands<\/h2>\n<h3>Cisco MDS Diagnostics<\/h3>\n<pre><code>show interface fc1\/1 counters\nshow interface fc1\/1 details\nshow flogi database\nshow zoneset active vsan 10\nshow logging log\nshow tech-support details\nshow interface transceiver details<\/code><\/pre>\n<ul>\n<li><code>show interface counters<\/code> \u2014 Check CRC, drops, or frame loss.<\/li>\n<li><code>show flogi database<\/code> \u2014 Confirm device logins.<\/li>\n<li><code>show logging log<\/code> \u2014 Review link resets and events.<\/li>\n<li><code>show tech-support<\/code> \u2014 Full diagnostic bundle for TAC.<\/li>\n<\/ul>\n<h3>Brocade FOS Diagnostics<\/h3>\n<pre><code>porterrshow\nportshow 1\nerrdump\nfabriclog --show\nportlogdump 1\nsupportsave<\/code><\/pre>\n<ul>\n<li><code>porterrshow<\/code> \u2014 Primary command for CRC and signal issues.<\/li>\n<li><code>errdump<\/code> \u2014 Live system event feed.<\/li>\n<li><code>supportsave<\/code> \u2014 Collect logs for Broadcom Support.<\/li>\n<\/ul>\n<h4>Typical Troubleshooting Flow:<\/h4>\n<ol>\n<li><code>switchshow<\/code> or <code>show interface brief<\/code> \u2013 verify ports are online.<\/li>\n<li><code>nsshow<\/code> or <code>show flogi database<\/code> \u2013 confirm devices logged in.<\/li>\n<li><code>porterrshow<\/code> or <code>show interface counters<\/code> \u2013 look for CRC or timeout errors.<\/li>\n<li><code>islshow<\/code> or <code>show topology<\/code> \u2013 check ISL stability.<\/li>\n<li><code>supportsave<\/code> or <code>show tech-support<\/code> \u2013 collect logs for vendor support.<\/li>\n<\/ol>\n<hr \/>\n<h2>6. Backup and Restore<\/h2>\n<h3>Cisco<\/h3>\n<pre><code>copy running-config startup-config\ncopy running-config tftp:<\/code><\/pre>\n<h3>Brocade<\/h3>\n<pre><code>configupload\nconfigdownload\nsupportsave<\/code><\/pre>\n<p>Always back up configurations before firmware upgrades or zoning changes.<\/p>\n<hr \/>\n<h2>7. Quick Reference Summary<\/h2>\n<table border=\"1\" cellpadding=\"8\">\n<thead>\n<tr>\n<th>Task<\/th>\n<th>Cisco Command<\/th>\n<th>Brocade Command<\/th>\n<th>Purpose<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>View switch health<\/td>\n<td><code>show interface brief<\/code><\/td>\n<td><code>switchshow<\/code><\/td>\n<td>Confirm port\/link status<\/td>\n<\/tr>\n<tr>\n<td>See connected WWNs<\/td>\n<td><code>show flogi database<\/code><\/td>\n<td><code>nsshow<\/code><\/td>\n<td>Validate initiator\/target login<\/td>\n<\/tr>\n<tr>\n<td>Check zoning<\/td>\n<td><code>show zoneset active<\/code><\/td>\n<td><code>cfgshow<\/code><\/td>\n<td>Review active zoning configs<\/td>\n<\/tr>\n<tr>\n<td>Diagnose errors<\/td>\n<td><code>show interface counters<\/code><\/td>\n<td><code>porterrshow<\/code><\/td>\n<td>Identify CRC or loss errors<\/td>\n<\/tr>\n<tr>\n<td>View ISLs<\/td>\n<td><code>show topology<\/code><\/td>\n<td><code>islshow<\/code><\/td>\n<td>Check fabric connectivity<\/td>\n<\/tr>\n<tr>\n<td>Save configuration<\/td>\n<td><code>copy run start<\/code><\/td>\n<td><code>cfgsave<\/code><\/td>\n<td>Commit configuration to memory<\/td>\n<\/tr>\n<tr>\n<td>Collect support logs<\/td>\n<td><code>show tech-support<\/code><\/td>\n<td><code>supportsave<\/code><\/td>\n<td>Bundle diagnostics for vendor<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h2>8. Real-World Diagnostic Flow<\/h2>\n<p>If a host loses access to storage:<\/p>\n<ol>\n<li>Check visibility:\n<ul>\n<li>Cisco: <code>show flogi database<\/code><\/li>\n<li>Brocade: <code>nsshow<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Verify zoning:\n<ul>\n<li>Cisco: <code>show zoneset active<\/code><\/li>\n<li>Brocade: <code>cfgshow<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Inspect physical links:\n<ul>\n<li>Cisco: <code>show interface fc1\/1 counters<\/code><\/li>\n<li>Brocade: <code>porterrshow<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Check ISLs (if multi-switch fabric):\n<ul>\n<li>Cisco: <code>show topology<\/code><\/li>\n<li>Brocade: <code>islshow<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Collect logs:\n<ul>\n<li>Cisco: <code>show logging log<\/code> \/ <code>show tech-support<\/code><\/li>\n<li>Brocade: <code>errdump<\/code> \/ <code>supportsave<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<hr \/>\n<h2>9. Conclusion<\/h2>\n<p>Both Cisco and Brocade offer stable, enterprise-grade Fibre Channel switching. <strong>Cisco NX-OS<\/strong> appeals to network engineers familiar with IOS, while <strong>Brocade FOS<\/strong> favors storage admins with its concise syntax.<\/p>\n<p>For best practice:<\/p>\n<ul>\n<li>Use consistent naming for ports and zones (e.g., <code>Host_HBA1<\/code>, <code>VPLEX_PortA<\/code>).<\/li>\n<li>Run diagnostics like <code>porterrshow<\/code> or <code>show interface counters<\/code> regularly.<\/li>\n<li>Back up configurations before making any changes.<\/li>\n<\/ul>\n<p>Mastering these commands makes SAN management predictable, fast, and far easier to troubleshoot \u2014 whether your environment runs on Cisco, Brocade, or both.<\/p>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>Enterprise SAN switches from Cisco (MDS) and Brocade (Broadcom) power mission-critical storage networks. Whether you manage VMware, EMC VPLEX, or multi-array clusters, understanding the core and diagnostic commands is essential for maintaining performance and uptime.This article lists the most common operational, configuration, and diagnostic commands, explained clearly and paired with real-world examples. 1. System Information &amp; Status Cisco MDS (NX-OS)<a href=\"https:\/\/nicktailor.com\/tech-blog\/cisco-vs-brocade-san-switch-commands-explained-with-diagnostics-and-examples\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[147],"tags":[],"class_list":["post-2112","post","type-post","status-publish","format-standard","hentry","category-cisco-stuff"],"_links":{"self":[{"href":"https:\/\/nicktailor.com\/tech-blog\/wp-json\/wp\/v2\/posts\/2112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nicktailor.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nicktailor.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nicktailor.com\/tech-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nicktailor.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=2112"}],"version-history":[{"count":3,"href":"https:\/\/nicktailor.com\/tech-blog\/wp-json\/wp\/v2\/posts\/2112\/revisions"}],"predecessor-version":[{"id":2115,"href":"https:\/\/nicktailor.com\/tech-blog\/wp-json\/wp\/v2\/posts\/2112\/revisions\/2115"}],"wp:attachment":[{"href":"https:\/\/nicktailor.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=2112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nicktailor.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=2112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nicktailor.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=2112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}