Brocade Fabric OS Command Reference Manual Supporting Fabric OS v6.4.0 (53-1001764-01, March 2010)

Fabric OS Command Reference 499
53-1001764-01
lsCfg
2
-f | -force Executes the command without confirmation. This operand is optional.
--show Displays the partition configuration on a switch or chassis. Without any
operands, the command displays all logical switches and the FC ports
assigned to them. For each switch, the FID and switch role are displayed:
base switch (BS) or default switch (DS). The following operands are optional
with the --show option.
-ge Displays partition configuration information for GbE ports. This operand is
valid only on the Brocade 7800/FX8-24 and the Brocade
7500/7500E/FR4-18i platforms.
-provision Displays the partition configuration for all slots, regardless of the slot's
status. This operand is valid only on a chassis and can be used with or
without the -ge option.
--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.