In inter-AS EVPN OptionB mode, ASBRs do not have EVPN instances. If you want ASBRs to keep received EVPN routes, configure ASBRs not to filter EVPN routes based on VPN targets.
By default, an ASBR filters the VPN targets of only the received EVPN routes. The routes are imported into the routing table if they pass the filtration; otherwise, they are discarded. Therefore, if no VPN instance is configured on the ASBR or no VPN target is configured for the EVPN instance, the ASBR discards all the received EVPN routes.
In inter-AS EVPN OptionB mode, the ASBR does not need to store EVPN instance information, but must store all the EVPN routing information and advertise the routing information to the peer ASBR. In this situation, the ASBR needs to import all the received EVPN routes without filtering them based on VPN targets.
The system view of the ASBR is displayed.
The BGP view is displayed.
The BGP-EVPN address family view is displayed.
The function to filter EVPN routes based on VPN targets is disabled.
The configuration is committed.