The following are some useful Brocade Fabric commands to administer and manage the Storage Fabric.

Backup Switch Initial Configuration:
configupload
Protocol: scp
IP address: XXX.XXX.XXX.XXX
username: backupuserid
Path/Filename: /pathofbackupfiles/servernameDDMMYY_AorB.txt
Section: all
password:

Check if WWN is presented to the switch:

synopsis: nodefind WWN|PID|ALIAS

example:
nodefind 10:00:00:90:fa:51:3a:ee

expected result if found:
FS_01

expected results if not found:
FS_03

Check by port number what is presented to the switch:

synopsis: portshow portnumber

example:
portshow 4/22

expected results:
FS_02

Create aliases:

synopsis: alicreate “aliName”,”member

[;member…]”

example:
alicreate “testserver01_A”,”10:00:00:90:fa:51:3a:ee”

Verify aliases:

synopsis: alishow [“pattern”][,mode]

example:
alishow “testserver01_A”

expected output:”
admin: alishow “testserver01_A”
alias: testserver01_A

Create zones:

synopsis: zonecreate “zonename”,”member[;member…]”

example:
zonecreate “testserver01_A_san01_E1″,” testserver01_A; san01_E1_A0; san01_E1_B0_P01”

Verify zones:

synopsis: zoneshow [–sort] [pattern][,mode]

example:
zoneshow “testserver01_A_san01_E1”

expected output:
zone: testserver01_A_san01_E1
testserver01_A; san01_E1_A0; san01_E1_B0_P01

Add zones to active config:

synopsis: cfgadd “cfgName”,”member[;member…]”

example:
cfgadd “switch1cfg”,”testserver01_A_san01_E1

Save config:

cfgsave

expected output:
You are about to save the Defined zoning configuration. This action will only save the changes on Defined configuration.
Any changes made on the Effective configuration will not take effect until it is re-enabled.
Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] yes
Updating flash …

Enable config:

synopsis: cfgenable cfgName

example:
cfgenable “switch1cfg”

expected output:
You are about to enable a new zoning configuration.
This action will replace the old zoning configuration with the current configuration selected. If the update includes changes to one or more traffic isolation zones, the update may result in localized disruption to traffic on ports associated with the traffic isolation zone changes
Do you want to enable ‘switch1cfg’ configuration (yes, y, no, n): [no] yes
zone config “switch1cfg” is in effect
Updating flash …

Check for Active configuration:

cfgactvshow | grep testserver01″

expected output:”
admin: cfgactvshow | grep testserver01
zone: testserver01_A_san01_E1″

Remove zones from active config:

synopsis: cfgremove “cfgName”,”member[;member…]”

example:
cfgremove “switch1cfg”,”testserver01_A_san01_E1″

Delete zones:

synopsis: zonedelete “zonename”

example:
zonedelete “testserver01_A_san01_E1”

Delete aliases:

synopsis: alidelete “aliName”

example:
alidelete “testserver01_A”