Run the command set protocol protocols bgp neighbor evpn neighbor route-reflector-client to configure a the BGP node to act as a route reflector for a BGP peerthe specified client. 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 delete protocols bgp neighbor evpn neighbor route-reflector-client can be used to delete this configuration.
Command Syntax
set protocol protocols bgp [vrf <text>] [l2vpn] evpn neighbor <bgp-peer>evpn route-reflector-client
delete protocol protocols bgp [vrf <text>] [l2vpn] evpn neighbor <bgp-peer> evpn route-reflector-client
Parameter
Parameter | Description | ||
vrf <vrf-name> | Optional. Specifies the name of the VRF. | l2vpnSpecifies 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 the specified client in VRF BLUE for neighbor peer1.
Code Block |
---|
admin@Xorplus# set protocolprotocols bgp vrf BLUE l2vpn neighbor peer1 neighbor 3.3.3.3 evpn route-reflector-client admin@Xorplus# commit |