
Administration Commands
query_adjacent_nn
2.102 query_adjacent_nn
The query_adjacent_nn command returns information about adjacent network nodes (the network nodes to which
This command can be used to obtain information about a specific adjacent network node or about multiple adjacent network nodes, depending on the options used. It must be issued to a running node.
2.102.1 Supplied Parameters
Parameter name | Type | Length | Default |
[query_adjacent_nn] |
|
|
|
num_entries | decimal | 1 |
|
list_options | constant |
| LIST_INCLUSIVE |
adj_nncp_name | character | 17 | (null string) |
Supplied parameters are:
num_entries
Maximum number of adjacent NNs for which data should be returned. You can specify 1 to return data for a specific adjacent NN, a number greater than 1 to return data for multiple adjacent NNs, or 0 (zero) to return data for all adjacent NNs.
list_options
The position in the list of adjacent NNs from which SNAplus2 begins to return data.
Possible values are:
FIRST_IN_LIST
Start at the first entry in the list
LIST_INCLUSIVE
Start at the entry specified by the adj_nncp_name parameter
LIST_FROM_NEXT
Start at the entry immediately following the entry specified by the adj_nncp_name parameter
adj_nncp_name
Fully qualified name of the adjacent NN for which information is required, or the name to be used as an index into the list of adjacent NNs. This value is ignored if list_options is set to FIRST_IN_LIST. Specify
2.102.2 Returned Parameters
Parameter name | Type | Length |
adj_nncp_name | character | 17 |
cp_cp_sess_status | constant |
|
out_of_seq_tdus | decimal |
|
last_frsn_sent | decimal |
|
last_frsn_rcvd | decimal |
|
If the command executes successfully, the following parameters are returned:
305