EVPN Routing Policy
The EVPN Routing Policy feature provides the route policy support for address-family L2VPN EVPN. This
feature adds EVPN route filtering capabilities to the routing policy language (RPL). The filtering is based on
various EVPN attributes.
A routing policy instructs the router to inspect routes, filter them, and potentially modify their attributes as
they are accepted from a peer, advertised to a peer, or redistributed from one routing protocol to another.
This feature enables you to configure route-policies using EVPN network layer reachability information
(NLRI) attributes of EVPN route type 1 to 5 in the route-policy match criteria, which provides more granular
definition of route-policy. For example, you can specify a route-policy to be applied to only certain EVPN
route-types or any combination of EVPN NLRI attributes. This feature provides flexibility in configuring and
deploying solutions by enabling route-policy to filter on EVPN NLRI attributes.
To implement this feature, you need to understand the following concepts:
• Routing Policy Language
• Routing Policy Language Structure
• Routing Policy Language Components
• Routing Policy Language Usage
• Policy Definitions
• Parameterization
• Semantics of Policy Application
• Policy Statements
• Attach Points
For information on these concepts, see Implementing Routing Policy.
Currently, this feature is supported only on BGP neighbor "in" and "out" attach points. The route policy can
be applied only on inbound or outbound on a BGP neighbor.
EVPN Route Types
The EVPN NLRI has the following different route types:
Route Type 1: Ethernet Auto-Discovery (AD) Route
The Ethernet (AD) routes are advertised on per EVI and per Ethernet Segment Identifier (ESI) basis. These
routes are sent per Ethernet segment (ES). They carry the list of EVIs that belong to the ES. The ESI field is
set to zero when a CE is single-homed.
An Ethernet A-D route type specific EVPN NLRI consists of the following fields:
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
567
EVPN Features
EVPN Routing Policy