In the BGP VPNv4/v6 address family, import remote EVPN IP prefix routes to generate VPNv4/v6 routes. In the EVPN address family, import remote VPNv4/v6 routes to generate EVPN IP prefix routes. Apply for SIDs in one-SID-per-route or one-SID-per-next-hop mode, so that traffic can be exchanged between the EVPN side and VPNv4/v6 side.
The ASBR's system view is displayed.
Perform the following steps to configure BGP VPNv4 and EVPN interworking.
The system view is displayed.
The BGP view is displayed.
The VPNv4 address family is enabled, and its view is displayed.
The function to import EVPN IP prefix routes to the BGP VPNv4 routing table is enabled.
Run quit
Exit the VPNv4 address family view.
The EVPN address family is enabled, and its view is displayed.
The function to import BGP VPNv4 routes to the EVPN routing table is enabled.
The function to apply for SIDs in one-SID-per-next-hop mode for imported VPNv4 routes is enabled.
Exit the EVPN address family view.
Run quit
Exit the BGP instance view.
Run commit
The configuration is committed.
Perform the following steps to configure BGP VPNv6 and EVPN interworking.
The system view is displayed.
The BGP view is displayed.
The VPNv6 address family is enabled, and its view is displayed.
The function to import EVPN IP prefix routes to the BGP VPNv6 routing table is enabled.
Run quit
Exit the VPNv6 address family view.
The EVPN address family is enabled, and its view is displayed.
The function to import BGP VPNv6 routes to the EVPN routing table is enabled.
The function to apply for SIDs in one-SID-per-next-hop mode for imported VPNv6 routes is enabled.
Exit the EVPN address family view.
Exit the BGP instance view.
Run commit
The configuration is committed.