The local-cross allow-remote-cross-route command enables the local EVPN route leaking function for remotely leaked routes.
The undo local-cross allow-remote-cross-route command disables the local EVPN route leaking function for remotely leaked routes.
By default, local EVPN route crossing is disabled for remotely leaked routes.
Usage Scenario
By default, remote EVPN routes received from the remote end can only be remotely leaked to the VPN instance. The routes of the VPN instance cannot be locally leaked to other VPN instances. To solve the problem of mutual access between different VPN instances, run the local-cross allow-remote-cross-route command to enable local cross of remote EVPN routes. Then, the remote routes received by EVPN are sent to the VPN instance and then locally leaked to other VPN instances.
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpn1 [*HUAWEI-vpn-instance-vpn1] ipv4-family [*HUAWEI-vpn-instance-vpn1-af-ipv4] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vpn1-af-ipv4] vpn-target 100:1 both [*HUAWEI-vpn-instance-vpn1-af-ipv4] quit [*HUAWEI-vpn-instance-vpn1] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] ipv4-family vpn-instance vpn1 [*HUAWEI-bgp-vpn1] local-cross export evpn-rt-match [*HUAWEI-bgp-vpn1] local-cross allow-remote-cross-route