beautypg.com

Displaying logical switch configuration, Changing the fabric id of a logical switch – Brocade Fabric OS Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 291

background image

Displaying logical switch configuration

Use the following procedure to display the configuration for a logical switch:

1. Connect to the physical chassis and log in using an account with the chassis-role permission.
2. Enter the lsCfg --show -n command to display information about all of the logical switches.
3. Enter the lsCfg --show command to display a list of all logical switches and the ports assigned to

them.

Example of displaying basic information about all of the logical switches

sw0:FID128:admin> lscfg --show -n

--------------------------------------------------------

Switch Information

--------------------------------------------------------

FID: 5

SwitchType: BS

DomainID: 3

SwitchName: Base1

FabricName: Fab1

--------------------------------------------------------

FID: 128

SwitchType: DS

DomainID: 1

SwitchName: sw0

FabricName: DefFab

--------------------------------------------------------

Example of displaying a list of all of the logical switches and the ports
assigned to them

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 | 5 | 5 |

(output truncated)

Changing the fabric ID of a 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 (FID) 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 lsCfg command to change the fabric ID of a logical switch:

lscfg --change fabricID -newfid newFID

Displaying logical switch configuration

Fabric OS Administrators Guide

291

53-1003130-01