Reference Guide

Brocade Fabric OS Command Reference 497
53-1004112-02
lsCfg
lsCfg
Configures and manages a logical switch
Synopsis lscfg --create FID [-b | -base] [-f | -force]
lscfg --delete FID [-f |-force]
lscfg --config FID [-slot slot1[-slot2]]
[-port [ port1[-port2]] [-q | -qsfp]
[-f |-force]
lscfg --restore_to_default FID
lscfg --restore_slot_to_default slot
lscfg --change FID [[-newfid FID] | [-base]] [-force]
lscfg --show [-ge] [-provision] [-n | -name]
lscfg --help
Description Use this command to create a logical switch and to modify logical switch configurations.
The logical switch feature provides the ability to partition a single physical switch into multiple switch instances.
Each of these switch partitions is referred to as a logical switch (LS). The logical switch feature allows you to
configure multiple logical fabrics on top of a base (physical) fabric. Each logical fabric is made up of logical switches
that share the physical resources of the base fabric, for example, interswitch link (ISL) connectivity. At the same
time, protocol and management isolation of each logical fabric is maintained, and each logical fabric can scale
independently.
The Default Logical Switch is created by the system and cannot be deleted. All switch ports not explicitly assigned
to a logical switch are part of the default logical switch.
The Virtual Fabric (VF) feature must be enabled on the switch before you can configure a logical switch. Use the
fosconfig --enable vf command to enable the feature. Use the fosconfig --show command to determine whether
the VF feature is enabled or disabled on the switch.
Notes The execution of this command is subject to Virtual Fabric restrictions that may be in place. Refer to "Using Fabric
OS Commands" and "Command Availability" for details.
Not all commands that support the -force option will prompt for user input when used without the -force option.
Operands This command has the following operands:
--create
Creates a logical switch instance. The following operands are supported.
FID
Specifies the Fabric ID. Each logical switch in a chassis is assigned a unique fabric identifier.
The FID address space is shared between logical switches and EX_Ports. Valid FID values
are integers between 1 and 128. The default logical switch is assigned FID 128 by default.
This operand is required.