Data plane policing (DPP) limits traffic from endpoint group (EPG) members on each leaf switch where the EPG is deployed.
EPG-level DPP applies a data plane policer policy to the members of an EPG.
-
The policer is enforced on every leaf switch where the EPG is deployed.
-
The sharing mode determines whether each EPG member uses a dedicated policer or eligible members share a hardware policer.
-
Policing is enforced independently on each leaf switch.
Policer sharing behavior
Before Cisco Application Policy Infrastructure Controller (APIC) Release 3.2(1), each EPG member used a separate policer.
Beginning with Cisco APIC Release 3.2(1), the sharing-mode property of the data plane policer determines the behavior:
-
In
dedicatedmode, each EPG member uses an independent hardware policer. -
In
sharedmode, members in the same slice that use the same data plane policer policy share a hardware policer on the leaf switch.
Dedicated-mode example
Consider an EPG with the following members:
-
Leaf 101,
Eth1/1, VLAN 300 -
Leaf 101,
Eth1/2, VLAN 301 -
Leaf 102,
Eth1/2, VLAN 500
Assume that Policer-A, which has a rate of 100 Mbps, is applied to EPG1 in dedicated mode. The resulting policing behavior is as follows:
-
On Leaf 101, traffic through
Eth1/1on VLAN 300 and traffic throughEth1/2on VLAN 301 are each limited to 100 Mbps. -
On Leaf 102, traffic through
Eth1/2on VLAN 500 is independently limited to 100 Mbps.
EPG1 can therefore transmit up to a combined total of 300 Mbps across the three members.
Shared-mode example
Assume that Policer-A, which has a rate of 100 Mbps, is applied to EPG1 and EPG2 in shared mode. When the relevant interfaces are in the same slice, the resulting policing behavior is as follows:
-
On Leaf 101, EPG1 and EPG2 share a total rate of 100 Mbps.
-
On Leaf 102, EPG1 and EPG2 share a separate total rate of 100 Mbps.
EPG1 and EPG2 can therefore transmit up to a combined total of 200 Mbps across the two leaf switches.
Guidelines and limitations
The following guidelines and limitations apply to EPG-level DPP:
-
EPG-level policing is supported on switch models whose product IDs have an -EX, -FX, or later suffix.
-
Egress traffic policing is not supported.
-
Packets-per-second (PPS) policing mode is not supported.
-
Two-rate, three-color (2R3C) policing is not supported.
-
EPG-level policing is not supported when intra-EPG isolation is enforced on the EPG.
-
A maximum of 128 EPG policers is supported per node.