Sunday, 27 July 2025

Create a Match-All Contract in Cisco ACI (via GUI)

Creating a "match all" contract in Cisco ACI means defining a contract that allows all traffic types (all protocols, all ports) between EPGs (Endpoint Groups). This is often used in lab environments or for initial testing, but should be used with caution in production due to its permissiveness.

🔧 Steps to Create a Match-All Contract in Cisco ACI (via GUI):

  1. Log in to the APIC GUI.
  2. Navigate to:
  3. Tenants > [Your Tenant] > Contracts
  4. Right-click on Contracts > Create Contract.
    • Name: e.g., match_all_contract
    • Scope: Tenant (or as per your requirement)
    • Click Next.
  5. Add a Subject:
    • Name: e.g., match_all_subject
    • Filter: Click + to add a filter.
  6. Create a New Filter:
    • Name: e.g., match_all_filter
    • Click + to add a filter entry.
  7. Add Filter Entry:
    • Entry Name: e.g., allow_all
    • EtherType: ip
    • Protocol: unspecified
    • Source Port: unspecified
    • Destination Port: unspecified
    • Apply Both Directions: (checked)
    • Click OK, then Finish.
  8. Associate the Contract:
    • Go to the EPG that should provide the contract.
    • Under Provided Contracts, add match_all_contract.
    • Go to the EPG that should consume the contract.
    • Under Consumed Contracts, add match_all_contract.

 


No comments:

Post a Comment