226 Fabric OS Administrator’s Guide
53-1001763-02
Creating a logical switch or base switch
10
You can optionally define the logical switch to be a base switch. Each chassis 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.
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. Assig n p or ts to the logical switch, as described in Adding and removing ports on a logical
switch” on page 229.
Example
The following example creates a logical switch with FID 4, then assigns domain ID 14 to it.
sw0:FID128:admin> lscfg --create 4
About to create switch with fid=4. Please wait...
Logical Switch with FID (4) has been 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.
sw0:FID128:admin> setcontext 4
Please change passwords for switch default accounts now.
Use Control-C to exit or press 'Enter' key to proceed.
Password was not changed. Will prompt again at next login
until password is changed.
switch_4:FID4:admin> switchdisable
switch_4:FID4:admin> configure
Configure...
Fabric parameters (yes, y, no, n): [no] y