Run the command set protocol bgp evpn neighbor route-reflector-client to configure a BGP node to act as a route reflector for a BGP peer. Optional parameter vrf can be used to specify a VRF, if no VRF is specified the command takes effect on the default VRF. The other optional parameter is l2vpn to specify that the command only affects layer 2 EVPN.
The command delete protocol bgp evpn neighbor route-reflector-client can be used to delete this configuration.
Command Syntax
set protocol bgp [vrf <text>] [l2vpn] evpn neighbor <bgp-peer> route-reflector-client
delete protocol bgp [vrf <text>] [l2vpn] evpn neighbor <bgp-peer> route-reflector-client
Parameter
Parameter | Description |
vrf <vrf-name> | Specifies the name of the VRF. |
l2vpn | Specifies that the configuration applies to layer 2 EVPN. |
neighbor <bgp-peer> | Specifies the BGP neighbor for which to act as a route reflector. [Confirm] |
Example
- Configure the BGP node to act as route reflector for layer 2 EVPN routes in VRF BLUE for neighbor peer1.
admin@Xorplus# set protocol bgp vrf BLUE l2vpn neighbor peer1 admin@Xorplus# commit