Brocade Commands
Version –command is used to find whether it is a Cisco or Brocade switch.
No Virtual concept in brocade
For Brocade we use Webtools and connectrix manager
>switchshow --- shows the switch configuration
If the switch in fabric the mode will be Bridged
If the switch is not in fabric (single switch), the mode will be Native.
4 modes of ports – online, insync, offline, no module --- nothing is connected to the port.
Automatically the ports will change to F port and E port.
>switchshow|grep No_Light --- offline ports (i.e.) free ports.
To find here the node port have logged in which port onswitch
>switchshow|more grep 50:06:01:68….
To find the ISL details
>islshow -----
To see the trunk links
>trunkshow
To see the license
>licenseshow
To configure port
>portcfgshow
Here 2 types of configuration
1. Effective Configuration --- after activation of zonset
2. Defined Configuration ----- Running configuration
We need to make the defined config as effective config to save the changes.
>cfgactvshow|more ----shows the effective configuration
>zoneshow --- shows the zones in defined and effective config
>zone : <zone name> --shows the detail of the zone.
>psshow ---- powersupply status
>fanshow---- shows the fan status
>topologyshow ---- display how switches are connected in fabric
>portcfgspeed --- to change the port config speed
In brocade it can support max of 8Gpbs
In cisco it can support a speed of 16Gbps
Auto negotiate happens if the switch founds that the initiator has more speed than the switch has and it
adjust the speed of the initiator.
>errorshow --- shows all the errors in switch based on time – health check
>supportshow --- is used to see the log files
>supportsave --- is used to store the log files in the ftp path.
>configupload --- used to upload the configuration
Zoning in Brocade:
Create Alias:
>alicreate “aliasname”,”wwpn number”
Create Zone:
>zonecreate “zonename”, “aliasnameofhba”
Add members to the zone
>zoneadd “zonename”, “aliasnameofsan”
Create Zone configuration
>cfgcreate “configname”, “zonename”
Add zone to exisiting zone configuration
>cfgadd “configname”, “zonename”
>cfgenable <configname>
save the configuration
>cfgsave
Here the changes will be saved in the defined configuration, to make the changes happen in effective
configuration re-enable the effective configuration
⮚ Cfg upload
Zoning Scenario in Brocade :
Consider the below example.
SPA 06:OF
Brocade Switch
SPB
01:OC 01
02
>switchshow
Alias Creation
>alicreate “aliasname”, “wwpn number”
>alicreate “UNIX_HBA”, “01:OC”
>alicreate “CX_SPA”, “06:OF”
Zone Creation
>zonecreate “zonename”, “alinameofHBA; alinameofSPA”
Add members to zone
>zonecreate “zone1”, “UNIX_HBA;CX_SPA”
Create Zone configuration
>cfgcreate “cfgname”, “zonename” or
>cfgadd “cfgname”, “zonename” ---- existing zone configuration
>cfgcreate “cfg1”,”zone1”
>cfgsave ---- saves the configuration to the defined configuration
>cfgenable “cfgname” ---saves the configuration to the effective configuration.