Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June 2008)

Table Of Contents
Fabric OS Command Reference 151
53-1000599-02
fcLunQuery
2
fcLunQuery
Displays a list of LUN IDs and LUNs for all accessible targets.
Synopsis fclunquery [-w wwn | -s]
Description Use this command to display a list of LUN IDs and LUNs for all accessible targets.
Notes The execution of this command is subject to Admin Domain restrictions that may be in place. Refer
to chapter 1, "Understanding Admin Domain Restrictions" and Appendix A, "Command Availability"
for details.
Operands This command has the following operands:
-w wwn Specifies a port or node WWN from which to display LUN information;
otherwise, LUN information from all FC devices specified in the name sever is
displayed. Use commas to separate a list of WWNs.
-s Displays the port and node WWNs which is used for any LUN query from this
switch.
Examples To display the LUN information:
switch:user> fclunquery
Target Index: 1
Target Node WWN: 50:05:07:65:05:03:f9:39
Target Port WWN: 50:05:07:65:05:83:f9:39
Target Pid: 144e8
Number of LUNs returned by query: 1
LUN ID: 0x00
To display the LUN information of a list of port WWNs:
switch:admin> fclunquery -w 20:00:00:04:cf:5d:cf:0e
Target Index: 1
Target Node WWN: 20:00:00:04:cf:5d:cf:0e
Target Port WWN: 21:00:00:04:cf:5d:cf:0e
Target Pid: 207ef
Number of LUNs returned by query: 1
LUN ID: 0x00
To display what port and node WWNs which is used for any LUN query from this switch:
switch:admin> fclunquery -s
The following WWNs will be used for any lun query from this switch:
Node WWN: 10:00:00:60:69:e2:09:c8
Port WWN: 21:fd:00:60:69:e2:09:c8
See Also fosConfig, iscsiCfg, iscsiPortCfg