The peer mpls-local-ifnet disable command disables a peer group from creating MPLS local IFNET tunnels.
The undo peer mpls-local-ifnet disable command enables a peer group from creating MPLS local IFNET tunnels.
By default, IBGP peers cannot automatically establish MPLS local IFNET tunnels.
Usage Scenario
In the IPv4/IPv6 VPN Option C, or VPLS scenario,EBGP peer relationships are established between BGP peers. The BGP peers can be endpoint PEs in the VPLS or VPN Option C scenario or the CSG and MASG in the inter-AS seamless MPLS scenario. These EBGP peers automatically establish MPLS local IFNET tunnels between them. The E2E MPLS local IFNET tunnel fails to transmit traffic if the two peers are indirectly connected.
If a fault occurs on a tunnel between the two EBGP peers, traffic recurses to the MPLS local IFNET tunnel, not an FRR bypass tunnel. As the MPLS local IFNET tunnel cannot forward traffic, traffic is interrupted. To resolve this problem, run the peer mpls-local-ifnet disable command to prevent an MPLS local IFNET tunnel from being established between indirectly connected EBGP peers. MPLS local IFNET tunnel creation is disabled on an IBGP peer by default. In an intra-AS seamless networking, to create an MPLS local IFNET tunnel between IBGP peers to carry BGP LSPs, run the undo peer mpls-local-ifnet disable command. This command enables IBGP peers to create MPLS local IFNET tunnels.Precautions
IBGP peers can establish MPLS local IFNET tunnels only if the peers are configured in the BGP-IPv4 unicast address family or BGP unicast labeled address family. In the BGP-IPv4 unicast address family view, you need to run the peer label-route-capability command to enable the function of sending or receiving labeled routes so that the MPLS local IFNET tunnel can be created.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] group test2 internal [*HUAWEI-bgp] peer test2 as-number 100 [*HUAWEI-bgp] undo peer test2 mpls-local-ifnet disable
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] group test external [*HUAWEI-bgp] peer test as-number 200 [*HUAWEI-bgp] peer test mpls-local-ifnet disable