228 Fabric OS Administrator’s Guide
53-1001763-02
Deleting a logical switch
10
---------------------------------------------------
"fabricshow" on FID 128:
Switch ID Worldwide Name Enet IP Addr FC IP Addr Name
-------------------------------------------------------------------------
97: fffc61 10:00:00:05:1e:82:3c:2a 10.32.79.105 0.0.0.0 >"sw0"
---------------------------------------------------
"fabricshow" on FID 4:
Switch ID Worldwide Name Enet IP Addr FC IP Addr Name
-------------------------------------------------------------------------
14: fffc0e 10:00:00:05:1e:82:3c:2b 10.32.79.105 0.0.0.0 >"switch_4"
---------------------------------------------------
"fabricshow" on FID 5:
Switch ID Worldwide Name Enet IP Addr FC IP Addr Name
-------------------------------------------------------------------------
30: fffc1e 10:00:00:05:1e:82:3c:2c 10.32.79.105 0.0.0.0 >"switch_5"

Deleting a logical switch

You must remove all ports from the logical switch before deleting it.
You cannot delete the default logical switch.
NOTE
If you are in the context of the logical switch you want to delete, 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 you are deleting.
1. Connect to the physical chassis and log in using an account assigned to the admin role.
2. Remove all ports from the logical switch, as described in Adding and removing ports on a
logical switch.”
3. Enter the following command to delete the logical switch:
lscfg --delete fabricID [ -force ]
where fabricID is the fabric ID of the logical switch to be deleted.
Specify the -force option to execute the command without any user prompts or confirmation.
Example
switch_4:FID4:admin> lscfg --delete 7
All active login sessions for FID 7 have been terminated.
Switch successfully deleted.