Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Name
nnmtopodump.sh — Displays the contents of the NNMi topology database
SYNOPSIS
nnmtopodump.sh
[-h] -u <username
> -p
<password
> -type
<type
>
[-legacy <format
>]
[-filter <filter
>]
DESCRIPTION
nnmtopodump.sh
displays the contents of the topology database.
By default, NNMi displays the output in xml format unless you specify the -legacy option.
Parameters
The nnmtopodump.sh
script supports the following options:
-h
-
Displays the usage statement.
-u <
username
>-
Supply the NNMi administrator username to run the script.
-p <
password
>-
Supply the NNMi administrator password to run the script.
-http.host <
host
>-
The server host; default is localhost.
-http.port <
port
>-
The server port; default is 8004.
-type <
type
>-
The type of the objects available to be printed. Use one of the following types: node|interface|incident|ip|subnet|rrp|vlan|nodeSensor|interfaceAggregation|card|l2connection|physcomp|physSensor
-legacy [short|long]
-
If you use the legacy option, NNMi displays the data in text output. If you do not specify this option, then NNMi displays the output in xml form. Use the legacy option with the following type values only: node, interface, ip, l2connection and interfaceAggregation. For -legacy short, this is only valid for the type values node, interface, and l2connection.
-filter <
filter
>-
Filters the output by property. The
nnmtopodump.sh
script supports the following filters:node - node.name | node.shortname | node.id | node.uuid | node.status | node.snmpaddress | node.managementMode | node.deviceCategory | node.deviceDescription | node.deviceFamily | node.deviceVendor
interface - node.name | node.shortname | node.id | node.snmpaddress | node.deviceCategory | node.deviceDescription | node.deviceFamily | node.deviceVendor | node.managementMode | interface.ifType | interface.id | interface.uuid | interface.managementMode | interface.managementState
ip - interface.id | node.id | ip.value | ip.id
vlan - node.name | node.id | vlan.id | vlan.name | vlan.value
nodeSensor - node.name | node.hostname | node.id | nodeSensor.id | nodeSensor.name | nodeSensor.type
physSensor - node.name | node.hostname | node.id | physcomp.name | physcomp.id | physSensor.id | physSensor.name | physSensor.type
card - node.name | node.hostname | node.id | card.id |card.name
l2connection - connection.name | connection.id | connection.uuid
interfaceAggregation - master.id | master.uuid | master.index | master.alias | slave.id | slave.uuid | slave.index | slave.alias
EXAMPLES
nnmtopodump.sh -u username -p password -type node
-
Displays all of the nodes in the topology database in xml format. (You must provide an NNMi administrator username and password.)
nnmtopodump.sh -u username -p password -legacy long -type node
-
To display the nodes in text format, you must use the legacy option. When you use the legacy option with -type node, NNMi displays the nodes and their interfaces.
Equivalent command in NNM 6.x/7.x:
ovtopodump -l
nnmtopodump.sh -u username -p password -type node -filter node.name=foo.hp.com
-
Display information about node foo.hp.com in xml format.
nnmtopodump.sh -u username -p password -legacy long -type node -filter node.name=foo.hp.com
-
Display information about node foo.hp.com in text format. When you use the legacy option with -type node, it displays the nodes with the interfaces attached to the node.
Equivalent command in NNM 6.x/7.x:
ovtopodump -lr foo.hp.com
nnmtopodump.sh -u username -p password -legacy long -type node -filter node.id=2345
-
Display information about the node having nodeid as 2345 in text format. NNMi also displays all interfaces of the node.
Equivalent command in NNM 6.x/7.x:
ovtopodump -lr 2345
nnmtopodump.sh -u username -p password -type interface -filter interface.managementState=MANAGED
-
Display information about all interfaces that are managed. Filter values can be MANAGED, INHERITED, NOTMANAGED, and OUTOFSERVICE.
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to network-management-doc-feedback@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: