Brocade Communications Systems 53-1001763-02 사용자 설명서

다운로드
페이지 586
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"