EVPN AF Route-Maps and Route Filtering
Overview
The EVPN AF Route-Maps and Route Filtering feature extends the existing route-map framework to the L2VPN EVPN address family in BGP. It allows users to filter, modify, or manage EVPN routes exchanged between BGP peers.
A route-map defines the criteria to match specific route attributes and actions to set or modify those attributes. Route-maps can be applied in the incoming (IN) or outgoing (OUT) direction on a BGP neighbor or peer group.
| • | OUT direction: Processes EVPN routes before BGP advertises them. |
| • | IN direction: Processes routes after BGP receives them. |
The framework introduces EVPN-specific match conditions, such as route type and MAC lists, enabling precise control over route propagation and reducing control-plane overhead in large BGP-EVPN networks.
Feature Characteristics
| • | Supports route-map configuration under the L2VPN EVPN address family. |
| • | Applies route-maps in both IN and OUT directions. |
| • | Integrates with the existing route-map framework with EVPN extensions. |
| • | Supports numbered and unnumbered L2VPN modes. |
| • | Evaluates routes using match and set conditions. |
| • | Adds EVPN-specific match capabilities: |
| • | match evpn-route-type : Type-1 to Type-5, MAC-only, MAC-IP routes. |
| • | Match mac-list : Permit or deny specific MAC addresses. |
| • | Supports standard BGP route-map matches like ASpath, next-hop, route-target and other match options. |
| • | Controls route propagation direction and scope. |
| • | Reduces unnecessary route advertisements across spines, leaves, and superspines. |
Benefits
| • | Provides granular EVPN route control. |
| • | Allows selective advertisement, acceptance, or rejection of routes. |
| • | Enhances scalability and performance by reducing redundant updates. |
| • | Simplifies multi-tenant isolation via communities or route-targets. |
| • | Ensures consistent configuration across IPv4, IPv6, and EVPN AFs. |
| • | Reduces control-plane load and processing time for operational efficiency. |