Reference Guide

Brocade Fabric OS Command Reference 501
53-1004112-02
lsCfg
To assign ports to a logical switch without confirmation:
switch:admin> lscfg --config 2 -port 0-4 -force
Configuration change successful.
Making this configuration change. Please wait...
Please enable your ports/switch when you are ready to continue.
To move all ports in a QSFP group to a logical switch:
switch:admin> lscfg --config 10 -slot 5 \
-port 0-20 -qsfp
This operation requires that the affected ports be disabled and will move all \
ports(0-23) in qsfp to fid 10.
Would you like to continue [y/n]?: y
Making this configuration change. Please wait...
Dispatch a request to kernel-land component: swc
Dispatch a request to kernel-land component: swc
Configuration change successful.
Please enable your ports/switch when you are ready to continue.
To display the logical switch configuration for :FC ports only:
switch:admin> lscfg --show
Created switches FIDs(Domain IDs): 128(ds)(10) 1(bs)(1) 2(1)
Port 0 1 2 3 4 5 6 7 8 9
---------------------------------------------------------------
FID 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 2 | 2
Port 10 11 12 13 14 15 16 17 18 19
---------------------------------------------------------------
FID 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128
Port 20 21 22 23 24 25 26 27 28 29
---------------------------------------------------------------
FID 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128
Port 30 31 32 33 34 35 36 37 38 39
---------------------------------------------------------------
FID 128 | 128 | 128 | 2 | 2 | 2 | 128 | 128 | 128 | 128
To display the logical switch configuration for GbE ports only (in the example, all GbE ports are in logical switch 2):
switch:admin> lscfg --show -ge
Created switches FIDs(Domain IDs): (ds) 2(bs)(1) 1(1)
Slot 1 2 3 4 5 6 7 8
-------------------------------------------------------
Port
0 | | 2 | | | | | | |
1 | | 2 | | | | | | |
2 | | 2 | | | | | | |
3 | | 2 | | | | | | |
4 | | 2 | | | | | | |
5 | | 2 | | | | | | |
6 | | 2 | | | | | | |