Fosexec - Brocade Communications Systems StoreFabric SN6500B Command Reference Manual

Brocade fabric os command reference v7.1.0 (53-1002746-01, march 2013)
Hide thumbs Also See for StoreFabric SN6500B:
Table of Contents

Advertisement

2

fosExec

fosExec
Executes a command in a specified logical switch context.
SYNOPSIS
fosexec --fid FID -cmd "cmd [args]"
fosexec --fid all [-force] -cmd "cmd [args]"
DESCRIPTION
Use this command to execute any Fabric OS command on a specified logical switch context or on all
logical switches. The target logical switch is identified by its fabric ID (FID). When used with the --fid all
option, the specified command is executed in all logical switches.
The FIDs must be part of the FID permission list associated with the user account. If you execute
fosexec --fid all and you do not have permission to one or more of the logical switches (FIDs), the
command prompts for confirmation to continue with the execution of the command in the FIDs for which
you do have permission. You can override the prompt for confirmation with the -force option. Refer to
userConfig help for more information on logical switch access permissions.
Executing chassis-level commands through fosexec --fid all results in redundant output.
NOTES
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
OPERANDS
This command has the following operands:
--fid FID
--fid all
-force
-cmd "cmd [args]"
EXAMPLES
To display switch information for a logical switch with FID 10:
400
Specifies the Fabric ID of the logical switch for which the command is executed.
Executes the specified command in all logical switch contexts configured on the
physical switch.
Executes the specified command on all logical switches in your permission list
without prompting for confirmation.
Specifies the command to be executed including command options if applicable.
The entire command string must be enclosed in double quotation marks.
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, \
Fabric OS Command Reference
53-1002746-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fabric os v7.1.0

Table of Contents