Brocade Fabric OS Command Reference Manual Supporting Fabric OS v6.3.0 (53-1001337-01, July 2009)

470 Fabric OS Command Reference
53-1001337-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.
Logical Switch has been created with default configurations.
Please configure the Logical Switch with appropriate switch
and protocol settings before activating the Logical Switch.
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.
Logical Switch has been created with default configurations.
Please configure the Logical Switch with appropriate switch
and protocol settings before activating the Logical Switch.
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.
Logical Switch has been created with default configurations.
Please configure the Logical Switch with appropriate switch
and protocol settings before activating the Logical Switch.
To delete a logical switch:
switch:admin> lscfg --delete 2
All active login sessions for FID 2 have been terminated.
Switch successfully deleted.