Previous Topic: dpmcda discoverhost Command--Discover a HostNext Topic: Collection Engine Commands


dpmcda discovernetwork Command--Discover a Network

The dpmcda discovernetwork command discovers a network.

This command has the following format:

dpmcda discovernetwork [-sc sc_url] -ipv4_addr ipv4address -network_name networkname [-dnsserver dnsserver] [-domain domain][-system_user username -system_password password][-ws_user username -ws_password password][-locale iso639value]
-sc sc_url

(Optional) Defines the URL for the service controller host.

Example: https://hostname:port/...

hostname

Defines the fully qualified host where the service controller is installed.

Example: localhost.ca.com

port

Defines the listening port for the service controller server.

Example: 80

-ipv4_addr ipv4address

Defines the subnet IPv4 address for discovery. Valid IPv4 address format for subnet: xxx.xxx.x.* or xxx.xxx.x.{1-10} or xxx.xxx.x.0/24.

-network_name networkname

Subnet name. Duplicate network names are not allowed; you can only discover one subnet with a specific network name.

-dns_server dnsserver

Defines the IP address of the DNS server.

-domain domain

Defines the domain name for DNS discovery.

-system_user username -system_password password

Defines the target system credentials for enhanced discovery (retrieving hardware characteristics).

-ws_user username -ws_password password

(Optional) Specifies the credentials to use for the web service security check. If you do not include credentials, you are prompted to enter them. Avoid the prompt for credentials by setting up your own session using caaipsecurity.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".

Example: Discover a Network

This example discovers the network named NetworkA with an IPv4 address.

dpmcda discovernetwork -ipv4_addr 172.24.255.255 -network_name NetworkA -ws_user wsuser -ws_password wsuserpassword