Fabric OS Administrator's Guide v7.0.0 (53-1002148-02, June 2011)

234 Fabric OS Administrator’s Guide
53-1002148-02
Changing the fabric ID of a logical switch
10
Changing the fabric ID of a logical switch
The following procedure describes how you can change the fabric ID of an existing logical switch.
The fabric ID indicates in which fabric the logical switch participates. By changing the fabric ID, you
are moving the logical switch from one fabric to another.
Changing the fabric ID requires permission for chassis management operations. You cannot
change the FID of your own logical switch context.
NOTE
If you are in the context of the logical switch with the fabric ID you want to change, you are
automatically logged out when the fabric ID changes. To avoid being logged out, make sure you are
in the context of a different logical switch from the one with the fabric ID you are changing.
1. Connect to the switch and log in using an account with admin permissions.
2. Enter the following command to change the fabric ID of a logical switch:
lscfg --change fabricID -newfid newFID
3. Enter y at the prompt.
4. Enable the logical switch.
fosexec --fid newFID -cmd "switchenable"
Example of changing the fabric ID on the logical switch from 5 to 7
sw0:FID128:admin> lscfg --change 5 -newfid 7
Changing of a switch fid requires that the switch be disabled.
Would you like to continue [y/n]?: y
Disabling switch...
All active login sessions for FID 5 have been terminated.
Checking and logging message: fid = 5.
Please enable your switch.
sw0:FID128:admin> fosexec --fid 7 -cmd "switchenable"
---------------------------------------------------
"switchenable" on FID 7:
Changing a logical switch to a base switch
1. Connect to the switch and log in using an account with the chassis-role permission.
2. Set the context to the logical switch you want to change, if you are not already in that context.
setcontext fabricID
where fabricID is the fabric ID of the logical switch you want to change to a base switch.
3. Configure the switch to not allow XISL use, as described in “Configuring a logical switch to use
XISLs” on page 236.
4. Enter the following command to change the logical switch to a base switch:
lscfg --change fabricID -base
The fabricID parameter is the fabric ID of the logical switch with the attributes you want to
change.