You must set the switch to its factory defaults to ensure a successful configuration. You must also assign each switch a unique name.
In the examples in this procedure, the fabric consists of BrocadeSwitchA and BrocadeSwitchB.
BrocadeSwitchA:admin> switchcfgpersistentdisableThe following example shows the command on BrocadeSwitchB:
BrocadeSwitchA:admin> switchcfgpersistentdisable
BrocadeSwitchA:admin> switchname "FC_switch_A_1" FC_switch_A_1:admin>The following example shows the command on BrocadeSwitchB:
BrocadeSwitchB:admin> switchname "FC_Switch_B_1" FC_switch_B_1:admin>
FC_switch_A_1:admin> portcfgdefault 0 FC_switch_A_1:admin> portcfgdefault 1 ... FC_switch_A_1:admin> portcfgdefault 39The following example shows the commands on FC_switch_B_1:
FC_switch_B_1:admin> portcfgdefault 0 FC_switch_B_1:admin> portcfgdefault 1 ... FC_switch_B_1:admin> portcfgdefault 39
FC_switch_A_1:admin> cfgdisable FC_switch_A_1:admin> cfgclear FC_switch_A_1:admin> cfgsaveThe following example shows the commands on FC_switch_B_1:
FC_switch_B_1:admin> cfgdisable FC_switch_B_1:admin> cfgclear FC_switch_B_1:admin> cfgsave
FC_switch_A_1:admin> configdefaultThe following example shows the command on FC_switch_B_1:
FC_switch_B_1:admin> configdefault
FC_switch_A_1:admin> switchcfgtrunk 0The following example shows the command on FC_switch_B_1:
FC_switch_B_1:admin> switchcfgtrunk 0
FC_switch_A_1:admin> fosconfig --disable vfThe following example shows the command on FC_switch_B_1:
FC_switch_B_1:admin> fosconfig --disable vf
FC_switch_A_1:admin> switch:admin> ad --select AD0 FC_switch_A_1:> defzone --noaccess FC_switch_A_1:> cfgsave FC_switch_A_1:> exit FC_switch_A_1:admin> ad --clear -f FC_switch_A_1:admin> ad --apply FC_switch_A_1:admin> ad --save FC_switch_A_1:admin> exitThe following example shows the commands on FC_switch_B_1:
FC_switch_B_1:admin> switch:admin> ad --select AD0 FC_switch_A_1:> defzone --noaccess FC_switch_A_1:> cfgsave FC_switch_A_1:> exit FC_switch_B_1:admin> ad --clear -f FC_switch_B_1:admin> ad --apply FC_switch_B_1:admin> ad --save FC_switch_B_1:admin> exit
FC_switch_A_1:admin> rebootThe following example shows the command on FC_switch_B_1:
FC_switch_B_1:admin> reboot