Endpoint security group (ESG) selectors classify endpoints by attributes such as policy tags, endpoint group membership, IP subnets, external routes, and service EPGs.
A selector defines the criteria that assign endpoints to an ESG within a virtual routing and forwarding (VRF) instance.
-
Multiple selector types provide more classification options than VLAN-based endpoint group (EPG) membership.
-
An ESG can use selectors to include endpoints from multiple bridge domains.
-
EPG and external EPG selectors support migration from EPG-based security policy to ESG-based security policy.
Selector types
|
Selector |
Introduced |
Matching behavior and requirements |
|---|---|---|
|
Tag selector |
Cisco APIC Release 5.2(1) |
Matches endpoints by policy tags assigned to attributes such as MAC addresses, IP addresses, virtual machine (VM) tags, VM names, subnet tags, and static endpoint tags. The policy tag and ESG must be in the same tenant. Beginning with Cisco APIC Release 6.1(4), policy tags can also identify external subnets. |
|
EPG/External EPG selector |
Cisco APIC Release 5.2(1) |
Matches every endpoint in a specified EPG. The matched EPG or external EPG must be in the same tenant and VRF instance as the ESG. Beginning with Cisco APIC Release 6.1(4), the selector can match prefixes that use the External Subnets for the External EPG scope, also called The ESG inherits the contracts associated with the matched EPG or external EPG. |
|
IP subnet selector |
Cisco APIC Release 5.0(1) |
Matches endpoints by a host IP address or IP subnet. A tag selector can provide similar classification through policy tags. |
|
External subnet selector |
Cisco APIC Release 6.1(2) |
Initially introduced as the VXLAN External Subnet selector for Cisco Application Centric Infrastructure (ACI) Virtual Extensible LAN (VXLAN) border gateways (BGWs). It matches Ethernet VPN (EVPN) Type 5 routes that an ACI BGW receives from another fabric. Beginning with Cisco APIC Release 6.1(4), the generic External Subnet selector can also match external prefixes learned through L3Out connections. |
|
VXLAN BD selector |
Cisco APIC Release 6.1(2) |
Matches EVPN Type 2 MAC addresses that ACI BGWs learn in the specified stretched bridge domain (BD). |
|
Service EPG selector |
Cisco APIC Release 5.2(4) |
Maps a service EPG to a service ESG. Cisco ACI automatically creates the service EPG from the connector in a device selection policy. |
Service EPG traffic
In most service-graph redirect deployments, the fabric redirects traffic to the Layer 4 through Layer 7 (L4-L7) device without requiring a separate contract for traffic addressed directly to the device.
If endpoints must send traffic directly to the L4-L7 device IP address, use a service EPG selector to map the service EPG to a service ESG. Contracts can then control which ESGs are allowed to communicate directly with the device.