Sometimes when you use an command line utility, such as dmctl, sm_tpmgr, or sm_snmpwalk, you want to specify a Broker other than the default Broker, which is identified in the BASEDIR/smarts/local/conf/runcmd_env.sh file of the installation directory from which the command line utility is invoked; for example, localhost:426. To do so, you include the -b <Broker> option in the command line invocation.

The <Broker> syntax is hostname or IP address, followed by a colon (:) delimiter, followed by a port number. The combination of an IP (v4 or v6) address and port number is also called a socket.

For an IPv6 address and port number to be interpreted correctly in a command line, enclose the IPv6 address within a pair of double quotation marks and square brackets. The syntax is:

"[<ipv6_address>]:<port>"

An example is:

"[2001:0db8::0010]:65000"

If you want to use the default port, omit the port number and specify only the IPv6 address; no additional convention notations are needed. For example:

2001:0db8::0010

In addition, for a seed-file entry or an Add Agent command, you can specify the port number of the SNMP agent that is running on the candidate system by typing a colon (:) and the port number after the hostname or IP (v4 or v6) address; for example:

CoreROUTER-1:200

For an IPv6 address and port number to be interpreted correctly in a seed-file entry or an Add Agent command, enclose the IPv6 address within a pair of square brackets. The syntax is:

[<ipv6_address>]:<port>
      

An example is:

[2001:0db8::0010]:200

And finally, for an IPv6 address and port number to be interpreted correctly in a configuration file, observe the same syntax as used in a seed-file entry or an Add Agent command.