Reference Guide
Executing a command in a different logical switch context
If you are in the context of a logical switch, you can execute a command for a different logical switch. You can also execute a command
for all of the logical switches in a chassis.
The command is not executed on those logical switches for which you do not have permission.
1. Connect to the physical chassis and log in using an account with the chassis-role permission.
2. Enter one of the following commands:
∙ To execute a command in a different logical switch context:
fosexec --fid fabricID -cmd "command"
∙ To execute a command on all logical switches:
fosexec --fid all -cmd "command"
Executing the switchShow command in a different logical switch context
sw0:FID128:admin> fosexec --fid 4 -cmd "switchshow"
---------------------------------------------------
"switchshow" on FID 4:
switchName: switch_4
switchType: 66.1
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 14
switchId: fffc0e
switchWwn: 10:00:00:05:1e:82:3c:2b
zoning: OFF
switchBeacon: OFF
FC Router: OFF
Fabric Name: Fab4
Allow XISL Use: ON
LS Attributes: [FID: 4, Base Switch: No, Default Switch: No, Address Mode 0]
Index Port Address Media Speed State Proto
==============================================
22 22 0e1600 -- N8 No_Module FC Disabled
23 23 0e1700 -- N8 No_Module FC Disabled
Executing the fabricShow command on all logical switches
sw0:FID128:admin> fosexec --fid all -cmd "fabricshow"
---------------------------------------------------
"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"
(output truncated)
Deleting a logical switch
The following rules apply to deleting a logical switch:
∙ You must remove all ports from the logical switch before deleting it.
Managing Virtual Fabrics
Brocade Fabric OS Administration Guide, 8.0.1
288 53-1004111-02