peer mpls-local-ifnet disable (BGP-VPN instance view)

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, MPLS Local Ifnet tunnels are automatically created between EBGP peers with label routing switching enabled. 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-VPN instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In a CSC scenario,EBGP peer relationships are established between BGP peers. The BGP peers can be endpoint PEs. 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 a CSC scenario, 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

To enable the capability of establishing an MPLS local IFNET tunnel between BGP peers to take effect, run the peer label-route-capability command in the BGP-VPN instance IPv4 address family view to enable the function of exchanging labeled routes.

Example

# Disable an EBGP peer to create MPLS local IFNET tunnels.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[*HUAWEI-vpn-instance-vpna] ipv4-family
[*HUAWEI-vpn-instance-vpna-af-ipv4] route-distinguisher 1:1
[*HUAWEI-vpn-instance-vpna-af-ipv4] quit
[*HUAWEI-vpn-instance-vpna] quit
[*HUAWEI] bgp 100
[*HUAWEI-bgp] vpn-instance vpna
[*HUAWEI-bgp-instance-vpna] peer 10.1.1.2 as-number 200
[*HUAWEI-bgp-instance-vpna] undo peer 10.1.1.2 mpls-local-ifnet disable
# Enable an IBGP peer to create MPLS local IFNET tunnels.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[*HUAWEI-vpn-instance-vpna] ipv4-family
[*HUAWEI-vpn-instance-vpna-af-ipv4] route-distinguisher 1:1
[*HUAWEI-vpn-instance-vpna-af-ipv4] quit
[*HUAWEI-vpn-instance-vpna] quit
[*HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family vpn-instance vpna
[*HUAWEI-bgp-vpna] peer 10.1.1.2 as-number 100
[*HUAWEI-bgp-vpna] undo peer 10.1.1.2 mpls-local-ifnet disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >