peer mpls-local-ifnet disable

Function

The peer mpls-local-ifnet disable command disables peers from creating MPLS local IFNET tunnels between them.

The undo peer mpls-local-ifnet disable command enables peers from creating MPLS local IFNET tunnels between them.

By default, EBGP peers can automatically establish MPLS local IFNET tunnels between them if one of the following conditions is met:
  • EBGP peers are enabled to exchange labeled routes.
  • EBGP peers are configured in the BGP-VPLS address families.
  • EBGP peers are configured in the BGP-VPNv4 or VPNv6 address family.

By default, IBGP peers cannot automatically establish MPLS local IFNET tunnels.

Format

peer peerIpv4Addr mpls-local-ifnet disable

undo peer peerIpv4Addr mpls-local-ifnet disable

Parameters

Parameter Description Value
peerIpv4Addr

Specifies the IPv4 address of a BGP peer.

The value is in dotted decimal notation.

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

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.

Example

# Enable an IBGP peer to create MPLS local IFNET tunnels.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 10.1.1.2 as-number 100
[*HUAWEI-bgp] undo peer 10.1.1.2 mpls-local-ifnet disable
# Disable an EBGP peer to create MPLS local IFNET tunnels.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 10.2.3.4 as-number 200
[*HUAWEI-bgp] peer 10.2.3.4 mpls-local-ifnet disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >