tunnel-detect-delay (VPN instance IPv6 address family MVPN view)

Function

The tunnel-detect-delay command configures the tunnel status check to be delayed by a specified period of time when the bearer tunnel of VPN instance multicast data changes.

The undo tunnel-detect-delay command restores the default configuration.

By default, the tunnel status check is delayed by 5s when the bearer tunnel of VPN instance multicast data changes.

Format

tunnel-detect-delay tunnel-detect-delay

undo tunnel-detect-delay

Parameters

Parameter Description Value
tunnel-detect-delay

Specifies a delay for the tunnel status check.

The value is an integer ranging from 3 to 65535, in seconds.

Views

VPN instance IPv6 address family MVPN view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mvpn write

Usage Guidelines

Usage Scenario

In a scenario where dynamic BFD is configured for an inclusive-provider multicast service interface (I-PMSI) tunnel to monitor an RSVP-TE P2MP tunnel or mLDP P2MP tunnel dual-root 1+1 protection is configured, multicast data may be switched from the primary I-PMSI tunnel to the backup I-PMSI tunnel if the selective-provider multicast service interface (S-PMSI) tunnel is not ready during data switching. To solve this problem, start a tunnel status check delay timer on leaf PEs:

  • Before the timer expires, leaf PEs delete tunnel protection groups to skip the status check of the primary I-PMSI or S-PMSI tunnel.
  • After the timer expires, leaf PEs start to check the primary I-PMSI or S-PMSI tunnel status again.

    The tunnel-detect-delay command allows you to configure the value of the tunnel status check delay timer.

Configuration Impact

If the tunnel-detect-delay command is run more than once, the latest configuration overrides the previous one.

Example

# Configure the tunnel status check to be delayed by 20s when the bearer tunnel of VPN instance mcast1 multicast data changes.
<HUAWEI> system-view
[~HUAWEI] multicast ipv6 mvpn 2.2.2.2
[*HUAWEI] ip vpn-instance mcast1
[*HUAWEI-vpn-instance-mcast1] ipv6-family
[*HUAWEI-vpn-instance-mcast1-af-ipv6] route-distinguisher 100:100
[*HUAWEI-vpn-instance-mcast1-af-ipv6] multicast ipv6 routing-enable
[*HUAWEI-vpn-instance-mcast1-af-ipv6] mvpn
[*HUAWEI-vpn-instance-mcast1-af-ipv6-mvpn] tunnel-detect-delay 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >