Administration Commands
query_nn_topology_tg
total_tdu_wars
Number of TDU wars the local node has detected and prevented.
2.153.3 Error Return Codes
If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.
Parameter Check
No parameter errors occur for this command.
State Check
No specific state errors, other than those listed in Appendix A, Common Return Codes from snapadmin Commands, occur for this command.
Function Not Supported
If the command does not execute because the node’s configuration does not support it, SNAplus2 returns the following parameter:
primary_rc
FUNCTION_NOT_SUPPORTED
The local node is an end node or LEN node. This command is valid only for a network node.
secondary_rc
(This parameter is not used.)
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.154 query_nn_topology_tg
Each network node (NN) maintains a network topology database that holds information about all the network nodes, VRNs, and network node to network node TGs in the network. The query_nn_topology_tg command returns information about the TG entries in this database. This command can be used to obtain summary or detailed information about a specific TG or about multiple TGs, depending on the options used.
This command must be issued to a running node. It can be used only if the SNAplus2 node is a network node and is not valid if it is an end node or LEN node.
2.154.1 Supplied Parameters
Parameter name | Type | Length | Default |
[query_nn_topology_tg] |
|
|
|
num_entries | decimal |
| 1 |
list_options | constant |
| SUMMARY + LIST_INCLUSIVE |
owner | character | 17 | (null string) |
owner_type | constant |
| LEARN_NODE |
dest | character | 17 | (null string) |
dest_type | constant |
| LEARN_NODE |
474