HP StorageWorks Fabric OS 6.2 administrator guide (5697-0016, May 2009)

Fabric OS 6.2 administrator guide 185
The following example checks whether Virtual Fabrics is enabled or disabled and then disables it:
switchA:FID128:admin>
fosconfig --show
FC Routing service: disabled
iSCSI service: Service not supported on this Platform
iSNS client service: Service not supported on this Platform
Virtual Fabric: enabled
switch:admin>
fosconfig --disable vf
WARNING: This is a disruptive operation that requires a reboot to take
effect.
Would you like to continue [Y/N]
y
For more information on the fosconfig command, see the Fabric OS Command Reference.
Creating a Logical Switch or base switch
When the Logical Switch is created, it is automatically enabled and is emptythat is, it does not have any
ports. After creating the Logical Switch, you must disable the switch to configure it and set the domain ID.
Then you can assign ports to the Logical Switch.
You can, as an option, define the Logical Switch to be a base switch. Each chassis, however, can have only
one base switch.
NOTE: Domain ID conflicts are detected before fabric ID conflicts. If you have both a domain ID conflict
and a fabric ID conflict, only the domain ID conflict is reported.
To create a Logical Switch:
1. Connect to the physical chassis and log in using an account assigned to the admin role with the
chassis-role permission.
2. Enter the following command to create a Logical Switch:
lscfg --create <fabricID> [ -base ] [ -force ]
where fabricID is the fabric ID that is to be associated with the Logical Switch.
Specify the -base option if the Logical Switch is to be a base switch.
Specify the -force option to execute the command without any user prompts or confirmation.
3. Set the context to the new Logical Switch:
setcontext <fabricID>
where fabricID is the fabric ID of the Logical Switch you just created.
4. Disable the Logical Switch:
switchdisable
5. Configure the switch attributes, including assigning a unique domain ID:
configure
6. Enable the Logical Switch:
switchenable
7. Assign ports to the Logical Switch, as described in ”Adding and removing ports on a Logical Switch
on page 186.
For more information on the commands in this procedure, see the Fabric OS Command Reference.