data-switch disable

Function

The data-switch disable command disables multicast traffic over an EVPN from being forwarded through a P2P tunnel when an mLDP P2MP tunnel goes Down.

The undo data-switch disable command restores the default configuration.

By default, multicast traffic over an EVPN can be forwarded through a P2P tunnel when an mLDP P2MP tunnel goes Down.

Format

data-switch disable

undo data-switch disable

Parameters

None

Views

EVI-IPMSI-ROOT view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

Before an mLDP P2MP tunnel carries multicast services, you can establish a bypass tunnel to provide mLDP P2MP FRR protection for the primary mLDP P2MP tunnel. The bypass tunnel is a P2P tunnel. If both the primary P2MP tunnel and bypass P2P tunnel go Down, the backup mLDP P2MP tunnel carries multicast services. After the bypass P2P tunnel for the primary mLDP P2MP tunnel goes Up, the P2P tunnel carries multicast services. Because the primary mLDP P2MP tunnel remains Down, a leaf node also receives multicast traffic from the backup mLDP P2MP tunnel. As a result, the leaf node receives and forwards duplicate copies of traffic.

To prevent this issue, run the data-switch disable command. This configuration disables multicast services from being switched to a P2P tunnel once an mLDP P2MP tunnel goes Down. This ensures that a leaf node receives and processes only multicast traffic from the backup mLDP P2MP tunnel.

Example

# Disable a BD-EVPN instance from iterating multicast traffic over an EVPN to a P2P tunnel when an mLDP P2MP tunnel goes Down.
<HUAWEI> system-view
[~HUAWEI] evpn vpn-instance evpn1 bd-mode
[*HUAWEI-evpn-instance-evpn1] inclusive-provider-tunnel
[*HUAWEI-evpn-instance-evpn1-inclusive] root
[*HUAWEI-evpn-instance-evpn1-inclusive-root] data-switch disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >