peer mpls-local-ifnet disable (BGP-VPN instance IPv4 address family view) (group)

Function

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, 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 peerGroupName mpls-local-ifnet disable

undo peer peerGroupName mpls-local-ifnet disable

Parameters

Parameter Description Value
peerGroupName

Specifies the name of a BGP peer group.

The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

BGP-VPN instance IPv4 address family 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

# Enable an IBGP peer group from creating 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] group test2 internal
[*HUAWEI-bgp-vpna] peer test2 as-number 100
[*HUAWEI-bgp-vpna] undo peer test2 mpls-local-ifnet disable
# Disable an EBGP peer group from creating 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] group test external
[*HUAWEI-bgp-vpna] peer test as-number 200
[*HUAWEI-bgp-vpna] peer test mpls-local-ifnet disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >