Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Run the command set protocol protocols bgp neighbor 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 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 other optional parameter l2vpn is to identify the configuration applies to layer 2 EVPN.

The command delete protocol protocols bgp neighbor evpn neighbor route-map (in|out) can  can be used to remove this configuration.


Command Syntax

set protocol protocols bgp [vrf <text>] [l2vpn] evpn neighbor <bgp-peer>vrf <vrf-name>] neighbor <bgp-peer> evpn {in|out} route-map <route-map> (in|out)<route-map>

delete protocol protocols bgp [vrf <text>] [l2vpn] evpn neighbor <bgp-peer><vrf-name>] neighbor <bgp-peer> evpn {in|out} route-map <route-map> (in|out)<route-map>


Parameter

Parameter

Description

vrf <text>

vrf <vrf-name>

Optional. Specifies the name of the VRF.

l2vpnneighbor <bgp-peer>

Specifies that the configuration applies to layer 2 EVPN.

neighbor <bgp-peer>

Specifies the BGP neighbor

[Confirm]

IPv4 or IPv6 address.

in|outKeywords to specify the inbound or outbound direction for route map.
route-map
<route
<route-
map>
map>Specifies the name of the route map.


Example

  • Configure to apply route map map1 to layer 2 for EVPN for BGP peer peer1 3.3.3.3 in the inbound direction for the VRF BLUE.
Code Block
admin@Xorplus# set protocolprotocols bgp vrf BLUE l2vpn neighbor 3.3.3.3 evpn neighbor peer1in route-map map1 in
admin@Xorplus# commit