To clear out any old configuration information from a Brocade, issue the following three commands:
cfgDefault
cfgClear
cfgSave
cfgShow - Display the defined zonesets and current switch configuration, use the command:
version - Display the firmware version.
switchShow - Shows the switch name, its WWN, its mode and its role. It will also tell us if the switch is online and the WWN of any devices connected to the ports. It will also display any ISLs (Inter-Switch Links).
When a switch participates in an ISL, its role is either Principal or Subordinate. In other words, is this the master switch or the slave switch in the ISL. switchRole defines the role.
If this switch is ISL’ed to another Brocade switch, the switchMode is defined as Native. However, if it is ISL’ed to a different vendor’s switch, then the switchMode is set to Interop.
switchshow:
switchName: Core_BO_20
switchType: 21.0
switchState: Online
switchMode: Native
switchRole: Subordinate
switchDomain: 20
switchId: fffc14
switchWwn: 10:00:00:60:69:e4:22:4a
zoning: ON (cfg_scala_fabric2)
.
.
Area Slot Port Media Speed State
=====================================
0 1 0 id N2 Online F-Port 50:06:0e:80:04:28:86:00
1 1 1 id N2 Online F-Port 50:01:04:f0:00:79:de:3b
2 1 2 id N2 Online F-Port 21:00:00:e0:8b:1d:89:7d
3 1 3 id N2 Online F-Port 21:00:00:e0:8b:1d:1d:7d
4 1 4 id N2 Online F-Port 21:01:00:e0:8b:3d:39:7e
fabricShow – Displays how many switches are in the fabric.
fabricshow:
Switch ID Worldwide Name Enet IP Addr FC IP Addr Name
————————————————————————-
11: fffc0b 10:00:00:60:69:e4:22:84 10.202.49.2 0.0.0.0 “Core_SC_11″
13: fffc0d 10:00:00:05:1e:35:3f:e0 10.202.49.10 0.0.0.0 >”Edge_SC_13″
20: fffc14 10:00:00:60:69:e4:22:4a 10.202.49.11 0.0.0.0 “Core_BO_20″
The Fabric has 3 switches
Note the > symbol that indicates the switch where the command was run from.
portStatsShow/portStatsClear
examine errors on a Brocade switch
diagShow - A concise form of the statistics.
errShow – Breaks down a particular error message in a lot more detail.
nsShow – Displays Name Server details for all N ports logged on the fabric .
nsAllShow – Similar to nsShow but it displays a list of all nodes by their Port Numbers.
supportShow – This command runs 25 different commands. Useful for most debugging related issues.]]>