Defining policies for a profile

To define an exporter inclusion or exclusion policy for a profile, navigate to the Profiles tab/page of the web interface, and then proceed with the following steps:

  1. Click the edit (pencil) icon in the Actions column to open the edit/details page for the profile.

  2. On the edit/details page, click the add (+) icon for the Policies list.

  3. Enter the subnet/CIDR for the exporters to be defined by the policy.

  4. Select whether to include or exclude the specified subnet/CIDR for the policy.

  5. Click the Save button to save the policy to the profile.

Once saved, new policies will be added to the Policies list of the edit/details page.

Note

  • Policies can be only be defined using subnet/CIDR notation.

  • When the Plixer Replicator receives a packet, inclusion policies are checked before exclusion policies.

Defining policies via CLI

New policies can also be defined from the Plixer Replicator interactive prompt as follows:

  1. SSH to the Plixer Replicator appliance as the replicator user and launch the interactive CLI.

  2. Enter the following command at the REPLICATOR> prompt:

    policy add [SUBNET_CIDR] [PROFILE_NAME] <include|exclude>
    

This will define an include or exclude policy for the SUBNET_CIDR subnet for the PROFILE_NAME profile.

Deleting policies from a profile

To delete a policy from a profile, click on the corresponding - icon in the profile’s Policies list.

To delete a policy via the interactive REPLICATOR> prompt instead, use the following command:

policy remove [SUBNET_CIDR] [PROFILE_NAME]

This will delete the policy for the SUBNET_CIDR subnet from the PROFILE_NAME profile.