PDF

Configure a contract or subject exception by using the GUI

Want to summarize with AI?

Log in

Configure an exception that prevents selected endpoint groups from participating in an entire contract or an individual contract subject.


In this procedure, you configure a contract that permits communication among most endpoint groups (EPGs) but excludes a specified subset of consumer and provider EPGs.

Before you begin

Configure the tenant, VRF, application profile, and EPGs that will provide and consume the contract.

Procedure

  1. On the menu bar, choose Tenants > All Tenants.

  2. Double-click the tenant in which you want to create the contract.

  3. In the Navigation pane, expand Contracts, right-click Filters, and choose Create Filter.

    A filter functions as an access control list (ACL) that classifies the traffic to permit or deny through a contract. You can create multiple filters to classify different types of traffic.

  4. Enter a name for the filter, add the criteria that identify the traffic to permit or deny, and then click Submit.

  5. Right-click Standard, and then choose Create Contract.

  6. Enter a name for the contract, configure its scope, and click + to add a subject.

  7. Repeat the preceding step to add another subject.

  8. Click Submit.

  9. To configure an exception that applies to every subject in the contract, complete the following substeps:

    1. Click the contract, and then click Contract Exception.
    2. Configure the subjects and specify whether to permit or deny their matching traffic.
    3. Click + to add a contract exception.
    4. Enter a name for the exception and choose the exception criterion.
    5. In the Consumer Regex and Provider Regex fields, enter regular expressions that identify the EPGs to exclude from every subject in the contract.
  10. To configure an exception that applies to one subject in the contract, complete the following substeps:

    1. Click the subject, and then click Subject Exception.
    2. Click + to add a subject exception.
    3. Enter a name for the exception and choose the exception criterion.
    4. In the Consumer Regex and Provider Regex fields, enter regular expressions that identify the EPGs to exclude from the selected subject.