230 Fabric OS Administrator’s Guide
53-1001763-02
Displaying logical switch configuration
10

Displaying logical switch configuration

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 display a list of all logical switches and the ports assigned to
them:
lscfg --show [ -provision ]
If the -provision option is specified, all ports on all slots are displayed, regardless of the slot
status.
Example
sw0:FID128:admin> lscfg --show
Created switches: 128(ds) 4 5
Port 0 1 2 3 4 5 6 7 8 9
-------------------------------------------------------------------
FID 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 |
Port 10 11 12 13 14 15 16 17 18 19
-------------------------------------------------------------------
FID 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 5 | 5 |
Port 20 21 22 23 24 25 26 27 28 29
-------------------------------------------------------------------
FID 5 | 128 | 4 | 4 | 128 | 128 | 128 | 128 | 128 | 128 |
Port 30 31 32 33 34 35 36 37 38 39
-------------------------------------------------------------------
FID 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 |

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 whose 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 whose fabric ID you are changing.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the following command to change the fabric ID of a logical switch:
lscfg --change fabricID -newfid newFID [ -force ]
Specify the -force option to execute the command without any user prompts or confirmation.
3. Enable the logical switch.