Assuming that there are N PE devices on a Kompella VLL network, the number of IBGP connections to be established is n (n - 1)/2. When there are a large number of IBGP peers, large amounts of network and CPU resources are used. To solve this problem, configure route reflection for BGP L2VPN. Configure one of the PE devices or the P device as the route reflector (RR) and the other PE devices as clients to establish IBGP connections between the RR and clients.
Route reflection for BGP L2VPN decreases the number of MP IBGP connections between PE devices, reduces the burden on PE devices, and facilitates network maintenance and management.
Perform the following operations on all the clients:
Establish MP IBGP connections with the peer group.
Add all the clients to a peer group and establish an MP IBGP connection between the RR and the peer group.
Run system-view
The system view is displayed.
Run bgp { as-number-plain | as-number-dot }
The BGP view is displayed.
Run group group-name [ internal ]
An IBGP peer group is created.
Run peer group-name connect-interface interface-type interface-number
An interface is specified for establishing the TCP connection.
Run l2vpn-ad-family
The L2VPN AD address family view is displayed.
Or run l2vpn-family
The BGP L2VPN address family view is displayed.
The L2VPN AD address family view is recommended. Kompella VLL, Kompella VPLS, and BGP AD VPLS share the same address family.
Run peer group-name enable
The RR is enabled to exchange BGP L2VPN instance information with the peer group.
Run peer ip-address group group-name
The clients are added to the peer group.
Configure the RR to establish an MP IBGP connection with each client.
Repeat the following operations on the RR multiple times to establish MP IBGP connections with all the clients:
Run system-view
The system view is displayed.
Run bgp { as-number-plain | as-number-dot }
The BGP view is displayed.
Run peer ipv4-address as-number as-number
The client is specified as a BGP peer.
Run peer ipv4-address connect-interface interface-type interface-number
An interface is specified for establishing the TCP connection.
Run l2vpn-ad-family
The L2VPN AD address family view is displayed.
Or run l2vpn-family
The BGP L2VPN address family view is displayed.
The L2VPN AD address family view is recommended. Kompella VLL, Kompella VPLS, and BGP AD VPLS share the same address family.
Run peer ipv4-address enable
The RR is enabled to exchange BGP L2VPN instance information with the peer group.
Perform the following operations on the RR: