Run the command set protocol bgp evpn neighbor route-map (in|out) to configure an inbound or outbound route map for an EVPN neighbor. The parameter value of neighbor is the EVPN neighbor for which to specify the route map. The value of parameter route-map is where you specify the name of the route map to apply and keywords in or out are to specify whether the route map applies to inbound or outbound traffic. Optional parameter vrf can be used to specify a VRF. If VRF is not specified then the command applies to the default VRF. The other optional parameter l2vpn is to identify specify the configuration applies to layer 2 EVPNVPN.
The command delete protocol bgp evpn neighbor route-map (in|out) can be used to remove this configuration.
...
set protocol bgp [vrf <text>] [l2vpn] evpn neighbor <bgp-peer> route-map <route-map> ( {in|out)}
delete protocol bgp [vrf <text>] [l2vpn] evpn neighbor <bgp-peer> route-map <route-map> ( {in|out)}
Parameter
Parameter | Description |
vrf <text> | Specifies the name of the VRF. |
l2vpn | Specifies that the configuration applies to layer 2 EVPN. |
neighbor <bgp-peer> | Specifies the BGP neighbor. [Confirm] |
route-map <route-map> | Specifies the name of the route map. |
Example
- Configure to apply route map map1 to layer 2 EVPN VPN for BGP peer peer1 in the inbound direction for the VRF BLUE.
...