beautypg.com

Dell POWEREDGE M1000E User Manual

Page 557

background image

Fabric OS Command Reference

529

53-1002746-01

lsCfg

2

To delete a logical switch:

switch:admin> lscfg --delete 2
All active login sessions for FID 2 have been terminated.
Switch successfully deleted.

To assign ports to a logical switch:

switch:admin> lscfg --config 2 -port 10-12
This operation requires that the affected ports be disabled.
Would you like to continue [y/n]?: y
Making this configuration change. Please wait...
Configuration change successful.
Please enable your ports/switch when you are ready to continue.

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 display the logical switch configuration for :FC ports only:

switch:admin> lscfg --show

Created switches: 128(ds) 1(bs) 2
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: (ds) 2(bs) 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 | | | | | | |