Brocade Fabric OS Command Reference Manual v6.2.0 (53-1001186-01, April 2009)

Fabric OS Command Reference 437
53-1001186-01
lsCfg
2
-b | -base Turns an existing logical switch into a base switch. When this command is
issued on a switch that is already a base switch, this command removes the
base switch properties. This command disables the current logical switch.
After making the change, you must re-enable the switch.
-f | -force Executes the command without confirmation. This operand is optional.
--show Displays the partition configuration on a chassis. Without any operands, the
command displays all logical switches and the ports assigned to them. For
each switch, the FID and switch role are displayed: base switch (BS) or
default switch (DS).
-provision Displays the partition configuration for all slots, regardless of the slot's status.
This operand is optional and valid only on a chassis.
--help Displays the command usage.
Examples To create a base switch:
switch:admin> lscfg --create 1 -base
Creation of a base switch requires that the proposed new base switch on this
system be disabled.
Would you like to continue [y/n]?: y
About to create switch with fid=1. Please wait...
Switch successfully created.
To create a logical switch identified by fabric ID 2:
switch:admin> lscfg --create 2
About to create switch with fid=2. Please wait...
Switch successfully created.
To create a base switch with FID 2 without confirmation:
switch:admin> lscfg --create 2 -base -force
About to create switch with fid=2. Please wait...
Switch successfully created.
To delete a logical switch:
switch:admin> lscfg --delete 2
All active login sessions for FID 2 have been terminated.
Switch successfully deleted.
To assign ports to a logical switch:
switch:admin> lscfg --config 2 -port 10-12
This operation requires that the affected ports be disabled.
Would you like to contiue [y/n]?: y
Making this configuration change. Please wait...
Configuration change successful.
Please enable your ports/switch when you are ready to continue.
To assign ports to a logical switch without confirmation:
switch:admin> lscfg --config 2 -port 0-4 -force
Configuration change successful.
Making this configuration change. Please wait...
Please enable your ports/switch when you are ready to continue.