Run the command set protocols bgp neighbor evpn route-map to configure an inbound or outbound route map for an EVPN neighbor. The parameter value of neighbor is the BGP 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 command delete protocols bgp neighbor evpn route-map can be used to remove this configuration.
Command Syntax
set protocols bgp [vrf <vrf-name>] neighbor <bgp-peer> evpn {in | out} route-map <route-map>
delete protocols bgp [vrf <vrf-name>] neighbor <bgp-peer> evpn {in | out} route-map <route-map>
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies the name of the VRF. The value is a string. |
neighbor <bgp-peer> | Specifies the BGP neighbor IPv4 or IPv6 address. |
in|out | Keywords to specify the inbound or outbound direction for route map. |
route-map <route-map> | Specifies the name of the route map. |
Example
- Configure to apply route map map1 to for EVPN BGP peer 3.3.3.3 in the inbound direction for the VRF BLUE.
admin@Xorplus# set protocols bgp vrf BLUE neighbor 3.3.3.3 evpn in route-map map1 admin@Xorplus# commit