Reference Guide

Brocade Fabric OS Command Reference 499
53-1004112-02
lsCfg
--change
Changes the fabric ID of a logical switch, creates a base logical switch out of an existing
logical switch, or removes base switch properties. The -newfid and -base operands are
exclusive and may not be combined. The following operands are supported:
FID
Specifies the Fabric ID of the logical switch. This operand is required.
-n | -newfid FID
Changes the fabric ID of an existing logical switch. This command effectively removes the
logical switch from a given logical fabric and makes it part of another logical fabric.
-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 switch or chassis. Without any operands, the
command displays all logical switches and the FC ports assigned to them. For each switch,
the FID, switch role, and domain ID 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 FX8-24 platform.
-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.
-n | -name
Displays fabric ID, switch type, domain ID, switch name, and fabric name of the logical
switch. This operand can be used with the -n or -name 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.