Deployment Guide

Fabric OS Command Reference 569
53-1003131-01
lsCfg
2
-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 7800/FX8-24 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.
-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.
To create a logical switch identified by fabric ID 2:
switch:admin> lscfg --create 2
A Logical switch with FID 2 will be created with default configuration.
Would you like to continue [y/n]?: y
About to create switch with fid=2. Please wait...
switch1 Updating flash ...
2013/05/02-10:13:59, [ZONE-1034], 373, SLOT 4 | FID 2, INFO, switch_2, \
A new zone database file is created.
2013/05/02-10:14:15, [FSSM-1002], 374, SLOT 5 | CHASSIS, INFO, switch, \
HA State is in sync.
All service instances in sync
2013/05/02-10:14:15, [FSSM-1002], 375, SLOT 4 | CHASSIS, INFO, switch, \
HA State is in sync.