Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 465

Advertising
background image

Fabric OS Command Reference

435

53-1003131-01

fosExec

2

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.

To display the firmware version for all logical switches:

switch:user> fosexec --fid all -cmd "firmwareshow -v"

LF permission does not exist for one or more \

logical switches.

Would you like to continue [Y/N] : y

------------------------------------------

"firmwareshow" on FID 10:

Appl Primary/Secondary Versions

------------------------------------------

FOS v7.0.0

Advertising