Name

nnmdiscocfg.ovpl

SYNOPSIS

nnmdiscocfg.ovpl -autodisco rule=rulename rangetype=ignore|include [ -f ipAddressRangeFile | -n ipAddressRanges] [-u <username> -p <password>] [-jndiHost <hostName> Default: localhost] [-jndiPort <port> Default: 1099]

nnmdiscocfg.ovpl -excludeipaddrs [ -f ipAddressRangeFile | -n ipAddressRanges] [-u <username> -p <password>] [-jndiHost <hostName> Default: localhost] [-jndiPort <port> Default: 1099]

DESCRIPTION

The nnmdiscocfg.ovpl script permits the addition of ip address ranges to existing auto-discovery rules. The auto-discovery ip address ranges control how discovery finds devices in your network.

You can add discovery IP address range exclusion filters to prevent the creation of unwanted ip addresses in the NNMi topology. NNMi does not associate addresses matching the filters with nodes or interfaces and none of these nodes or interfaces will show up in the IP Address inventory. IP address range filters do not control how auto-discovery locates and identifies devices in your network.

Parameters

The nnmdiscocfg.ovpl script recognizes the following parameters and options:

-autodisco rule=ruleName rangetype=ignore|include

Add ip address ranges to an existing auto-disovery rule specified by ruleName. The ranges can be included in the rule by specifying rangetype=include or ignore.

-excludeipaddrs

Add ip address ranges to the discovery Excluded IP Addresses configuration.

-f ipAddressRangeFile

Specify a text file for the script to read that contains the IP address ranges.

-n ipAddressRanges

Specify IP address ranges to load directly from the command line, with each range separated by a space.

-u <username>

Supply the NNMi administrator username to run the script. This script requires the NNMi administrator username unless you use an nnm.properties file. See the nnm.properties.4 reference page for more information.

-p <password>

Supply the NNMi administrator password to run the script. This script requires the NNMi administrator password unless you use an nnm.properties file. See the nnm.properties.4 reference page for more information.

-jndiHost <serverName>

The server JNDI host; default is localhost.

-jndiPort <port>

The server JNDI port; default is 1099.

EXAMPLES

Add a list of IP address ranges to an existing auto-discovery rule:

 nnmdiscocfg.ovpl -autodisco rule=bld1floor2 rangetype=include -n 10.2.112.21-34 10.2.112.36 10.1.*.1-98

Add an IP address range to the IP Address exclusion configuration:

 nnmdiscocfg.ovpl -u username -p password -excludeipaddrs -n 198.2.*.117

Load IP address range from a file named privateNet1.txt located on your local files system in the tmp directory:

 nnmdiscocfg.ovpl -autodisco rule=bld1floor2 rangetype=exclude -f /tmp/lab3devices.txt

Load IP address range filters from a file named ignoreAddresses.txt located on your local files system in the tmp directory:

 nnmdiscocfg.ovpl -excludeipaddrs -f /tmp/ignoreAddresses.txt

AUTHOR

nnmdiscocfg.ovpl was developed by Hewlett Packard Enterprise.

SEE ALSO

nnmnoderediscover.ovpl(1M), nnm.properties(4)

Return to Reference Pages Index