Set/Get the active domain
Syntax
domain active [domain-name]
Set or get the active domain. If domain-name is specified, it is made the active domain. Otherwise, the name of the active domain is returned. If no active domain exists, this command returns an empty string.
Options
None.
Returns
Empty string, if a domain is set as active or no active domain exists. Domain name, when active domain is read.
Examples
domain active
Return the name of the active domain.
domain active test_domain
Set test_domain as active domain.