Reference Guide
Brocade Fabric OS Command Reference 377
53-1004112-02
fosExec
-force
Executes the specified command on all logical switches in your permission list without
prompting for confirmation.
--domain DID
Specifies the Domain ID of the remote switch for which the command is executed.
--domain all
Executes the specified command on all switches in the fabric.
Examples To display switch information for a logical switch with FID 10:
switch:admin> fosexec --fid 10 -cmd "switchshow"
-------------------------------------
"switchshow" on FID 10
switchName: switch_10
switchType: 66.1
switchState: Online
switchMode: Native
switchRole: Subordinate
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:05:1e:41:5f:c2
zoning: ON (lsan_cfg)
switchBeacon: OFF
FC Router: OFF
Allow XISL Use: ON
LS Attributes: [FID: 10, Base Switch: No, \
Default Switch: No, Address Mode 0]
Index Slot Port Address Media Speed State Proto
===================================================
0 1 0 640000 -- N8 No_Module FC
1 1 1 640100 -- N8 No_Module FC
2 1 2 640200 -- N8 No_Module FC
To enable port 5/0 on all logical switches:
switch:admin> fosexec --fid all -cmd "portenable 5/0"
---------------------------------------------------
"portenable" on FID 128:
---------------------------------------------------
"portenable" on FID 10:
A port or ports is/are not part of this switch.
---------------------------------------------------
"portenable" on FID 20:
A port or ports is/are not part of this switch.