Fabric OS Administrator’s Guide
227
53-1001763-02
Executing a command in a different logical fabric context
10
Domain: (1..239) [1]
14
WWN Based persistent PID (yes, y, no, n): [no]
...
(output truncated)
WARNING: The domain ID will be changed. The port level zoning may be affected
switch_4:FID4:admin>
switchenable
Executing a command in a different logical fabric context
This procedure describes how to execute a command for a logical switch while you are in the
context of a different logical switch. You can also execute a command for all 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 assigned to the admin role.
2. Enter one of the following commands:
•
To execute a command in a different logical switch context:
fosexec --fid
fabricID
-c "
command
"
•
To execute the command on all logical switches:
fosexec --fid all -c "
command
"
Example 1: Executing the switchShow command in a different logical switch context
sw0:FID128:admin>
fosexec --fid 4 -c "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
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
Example 2: Executing the fabricShow command on all logical switches
sw0:FID128:admin>
fosexec --fid all -c "fabricshow"
Summary of Contents for 53-1001763-02
Page 1: ...53 1001763 02 13 September 2010 Fabric OS Administrator s Guide Supporting Fabric OS v6 4 0 ...
Page 4: ...iv Fabric OS Administrator s Guide 53 1001763 02 ...
Page 24: ...xxiv Fabric OS Administrator s Guide 53 1001763 02 ...
Page 28: ...xxviii Fabric OS Administrator s Guide 53 1001763 02 ...
Page 32: ...xxxii Fabric OS Administrator s Guide 53 1001763 02 ...
Page 40: ...xl Fabric OS Administrator s Guide 53 1001763 02 ...
Page 42: ...2 Fabric OS Administrator s Guide 53 1001763 02 ...
Page 54: ...14 Fabric OS Administrator s Guide 53 1001763 02 High availability of daemon processes 1 ...
Page 74: ...34 Fabric OS Administrator s Guide 53 1001763 02 Basic connections 2 ...
Page 102: ...62 Fabric OS Administrator s Guide 53 1001763 02 Audit log configuration 3 ...
Page 214: ...174 Fabric OS Administrator s Guide 53 1001763 02 Management interface security 7 ...
Page 228: ...188 Fabric OS Administrator s Guide 53 1001763 02 Brocade configuration form 8 ...
Page 276: ...236 Fabric OS Administrator s Guide 53 1001763 02 Creating a logical fabric using XISLs 10 ...
Page 404: ...364 Fabric OS Administrator s Guide 53 1001763 02 ...
Page 440: ...400 Fabric OS Administrator s Guide 53 1001763 02 Performance data collection 17 ...
Page 480: ...440 Fabric OS Administrator s Guide 53 1001763 02 F_Port masterless trunking 19 ...
Page 494: ...454 Fabric OS Administrator s Guide 53 1001763 02 Buffer credit recovery 20 ...
Page 574: ...534 Fabric OS Administrator s Guide 53 1001763 02 Hexadecimal overview E ...