Adding a host to the containment allow list using the CLI

Prev Next
To add a host to the containment allow list using the CLI:
  1. Enable the CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Add the IP address or hostname to the containment allow list.

    hostname (config) # hx server containment whitelist <IPorHostname> description <description>

    Note

    If an allow listed host's IP address changes after a host endpoint is contained, the endpoint will not be able to contact the allow listed host.

    A description is optional. Enclose descriptions that are longer than one word in quotation marks (").

  3. Save your settings.

    hostname (config) # write mem

Examples

The following example adds a host IP to the containment allow list with no description:

hostname (config) # hx server containment whitelist 123.45.6.7
                  

The following example adds a hostname to the containment allow list with a one-word description:

hostname (config) # hx server containment whitelist testserverhost description testserver
                  

The following example adds a host IP to the containment allow list with a multiple-word description:

hostname (config) # hx server containment whitelist 123.45.6.7 description “The Group A Test Appliance”