policymgr allowlist port <port_number>

Prev Next

Adds a port to a allowlist. You must enter each port separately. You can add up to 256 port allowlist entries.

Important

After you add or remove a port on a whitelist, use the policymgr refresh-policy command in the CLI configuration mode to refresh the policy configuration.

Important

Use the policymgr whitelist port enable command to enable the port whitelist after you have added the ports to the whitelist.

Syntax

[no] policymgr whitelist port <port_number>

Parameters

no

Use the no form of this command to remove a port from an allowlist on the Network Security appliance. You must remove each port separately.

<port_number>

Adds a port number to the port allowlist.

Example

The following example adds a port to a allowlist on the Network Security appliance.

hostname (config) # policymgr whitelist port 443

The following example removes a port from a allowlist on the Network Security appliance.

hostname (config) # no policymgr whitelist port 443

User role

Admin or Operator

Command mode

Config

Supported appliances

This command is supported on the following appliances running the specified releases or later:

  • Network Security: Release 8.0