Lscfg, Includ – Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual
Page 597
Fabric OS Command Reference
567
53-1003131-01
lsCfg
2
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 or Admin Domain restrictions that may be in 
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "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.