Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

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 specify the configuration applies to layer 2 VPN.

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


Command Syntax

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 VPN for BGP peer peer1 in the inbound direction for the VRF BLUE.
admin@Xorplus# set protocol bgp vrf BLUE l2vpn evpn neighbor peer1 route-map map1 in
admin@Xorplus# commit
  • No labels