The local-cross export evpn-rt-match command enables the local EVPN route leaking function.
The undo local-cross export evpn-rt-match command disables the local EVPN route leaking function.
By default, the local EVPN route leaking function is disabled.
Usage Scenario
By default, the locally imported routes and VPN peer routes of a VPN instance cannot be locally leaked to other VPN instances through EVPN. To resolve this problem, run the local-cross export evpn-rt-match command to enable local EVPN route leaking. After the command is run, the routes imported from the local VPN instance and the routes from the VPN peers can be 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