![](/images/new-backgrounds/1308428/308428859x1.webp)
Administration Commands
query_ls_routing
INVALID_LINK_NAME
The list_options parameter was set to LIST_INCLUSIVE to list all entries starting from the supplied name, but the value specified in the ls_name parameter was not valid.
State Check
No specific state errors, other than those listed in Appendix A, Common Return Codes from snapadmin Commands, occur for this command.
Other Conditions
Appendix A, Common Return Codes from snapadmin Commands, lists combinations of primary and secondary return codes that are common to all commands.
2.141 query_ls_routing
The query_ls_routing command returns information for local LUs about the location of a partner LU using a link station. If information is requested about more than one local LU, the information is returned based on the Management Information Base (MIB) order of the local LU names, then on the MIB order of partner LU names associated with each local LU name. Wildcard partner LU names can be interspersed with entries that do not contain wildcards.
2.141.1 Supplied Parameters
Parameter name | Type | Length | Default |
[query_ls_routing] |
|
|
|
num_entries | decimal |
| 1 |
list_options | constant |
| LIST_INCLUSIVE |
lu_name | character | 8 |
|
fq_partner_lu | character | 17 |
|
wildcard_fqplu | constant |
| NO |
Supplied parameters are:
num_entries
Maximum number of LS routing entries for which data should be returned. You can specify 1 to return data for a specific LS routing entry, a number greater than 1 to return data for multiple LS routing entries, or 0 (zero) to return data for all LS routing entries.
list_options
The position in the list of LS routing entries from which SNAplus2 begins to return data.
Specify one of the following values:
FIRST_IN_LIST
Start at the first entry in the list.
LIST_INCLUSIVE
Start at the entry specified by the combination of the lu_name and fq_partner_lu parameters.
LIST_FROM_NEXT
Start at the entry immediately following the entry specified by the combination of the lu_name, fq_partner_lu, and wildcard_fqplu parameters.
430