After a superstratum provider edge (SPE) and a user-end provider edge (UPE) establishes a Border Gateway Protocol (BGP) Ethernet VPN (EVPN) peer relationship, they can exchange EVPN routes.
In provider backbone bridge EVPN (PBB-EVPN) networking, establishing BGP EVPN peer relationships with UPEs is the prerequisite for an SPE to exchange EVPN routes with UPEs and to communicate with them.
Perform the following steps on each SPE and UPE:
The system view is displayed.
The BGP view is displayed.
A BGP EVPN peer IP address is specified.
The interface on which a TCP connection to the specified peer is to be established is specified.
An SPE and a UPE must use loopback interface addresses with 32-bit subnet masks to establish a Multiprotocol Interior Border Gateway Protocol (MP-IBGP) peer relationship, so that EVPN routes can recurse to tunnels. EVPN routes destined for a loopback interface address are advertised to the peer device using an Interior Gateway Protocol (IGP) on the Multiprotocol Label Switching (MPLS) backbone network.
The BGP-EVPN address family view is displayed.
The capability to exchange EVPN routes with the specified peer or peer group is enabled.
The BGP EVPN peer is added to a peer group.
Adding BGP EVPN peers to peer groups simplifies BGP network configuration and management.
A designated forwarder (DF) election delay is configured.
If a network is unstable, UPE interfaces connecting to customer edges (CEs) will frequently alternate between Up and Down, resulting in frequent DF elections and subsequent network performance deterioration. To prevent frequent DF elections, run the timer df-delay command to set a longer DF election delay to improve network stability.
The maximum number of MAC advertisement routes that can be received from each peer is configured.
If an EVPN instance imports many invalid MAC advertisement routes from peers and these routes occupy a large proportion of the total MAC advertisement routes, run the mac-limit command to configure the maximum number of MAC advertisement routes that can be received from each peer. If the number of received MAC advertisement routes exceeds the specified maximum number, the system displays an alarm, instructing you to check the validity of the MAC advertisement routes received in the EVPN instance.
The configuration is committed.