Use the listNodeAliases command to list the aliases for all known nodes or for the specified node.

Command Syntax

btmcli listNodeAlias [ n nodeName]
                     -s sphereUrl -l username:password
Name Long Name Description
-n -name The canonical name of the network node. Typically a fully-qualified domain name. For example,

If you do not specify this flag, aliases for all known nodes are displayed.

-s -sphereUrl The URL of the sphere.


This flag is not required if you have set the AP_SPHERE_URL environment variable for your sphere.

-l -userLogin The username and password associated with the sphere, in the format: username:password. This set of credentials must belong to a user in the btmadmin role.

See Security Options in Accessing CLI Commands for information on furnishing login credentials.

You can encrypt passwords using the encryptPassword command.


The following example shows the listNodeAlias command.

btmcli listNodeAliases -n 
                       -s http://localhost:8080/btmcentral/sphere/
                       -l admin:abracadabra