Contracts define the traffic that can pass between endpoint groups (EPGs) in the Cisco Application Centric Infrastructure (ACI) fabric.
A contract is a policy construct that defines and enforces security requirements for communication between EPGs.
-
Contracts specify the types of traffic that can pass between EPGs.
-
By default, communication between different EPGs is denied unless a contract or another policy construct permits the traffic.
-
Contracts provide a flexible and manageable alternative to traditional access control lists (ACLs).
Contract policy enforcement
The ACI fabric converts the contract policy model into a concrete policy model on each applicable switch.
-
The ingress leaf switch identifies the source EPG and marks the packet with the required policy information as the packet enters the fabric.
-
The fabric uses the source and destination EPG information to determine the applicable contract rules.
-
The applicable leaf switch enforces the resulting policy and permits or denies the traffic.