tunnel-withdraw-delay

Function

The tunnel-withdraw-delay command sets an S-PMSI tunnel withdraw delay for a VPN instance to delay the withdrawal of the S-PMSI tunnel in a switchover from the S-PMSI tunnel to an I-PMSI tunnel.

The undo tunnel-withdraw-delay command restores the default value.

By default, the S-PMSI tunnel withdraw delay is 5s for a VPN instance.

Format

tunnel-withdraw-delay tunnel-withdraw-delay

undo tunnel-withdraw-delay

Parameters

Parameter Description Value
tunnel-withdraw-delay

Specifies a delay for the tunnel status check.

The value is an integer ranging from 5 to 20, in seconds.

Views

IPv4 address family MVPN-SPMSI view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mvpn write

Usage Guidelines

Usage Scenario

When multicast data is switched back from an S-PMSI tunnel to an I-PMSI tunnel, the device starts the S-PMSI tunnel withdraw delay timer to prevent service interruptions in case of an I-PMSI tunnel failure during the switchback. If the default value of the timer does not meet actual requirements, run the tunnel-withdraw-delay command to set a longer delay.

If multicast data needs to be switched to the S-PMSI tunnel again before the timer expires, the data can be directly switched to the S-PMSI tunnel. If such a switchover is not required, the S-PMSI tunnel is withdrawn when the timer expires.

Precautions

If a long delay is set using the tunnel-withdraw-delay command, excessive tunnel resources may be consumed before the delay expires, which will then delay new services that need to be transmitted over an S-PMSI tunnel.

Example

# Set the S-PMSI tunnel withdraw delay to 20s for the VPN instance mcast1.
<HUAWEI> system-view
[~HUAWEI] multicast mvpn 2.2.2.2
[*HUAWEI] ip vpn-instance mcast1
[*HUAWEI-vpn-instance-mcast1] ipv4-family
[*HUAWEI-vpn-instance-mcast1-af-ipv4] route-distinguisher 100:100
[*HUAWEI-vpn-instance-mcast1-af-ipv4] multicast routing-enable
[*HUAWEI-vpn-instance-mcast1-af-ipv4] mvpn
[*HUAWEI-vpn-instance-mcast1-af-ipv4-mvpn] ipmsi-tunnel
[*HUAWEI-vpn-instance-mcast1-af-ipv4-mvpn-ipmsi] mldp
[*HUAWEI-vpn-instance-mcast1-af-ipv4-mvpn-ipmsi] quit
[*HUAWEI-vpn-instance-mcast1-af-ipv4-mvpn] spmsi-tunnel
[*HUAWEI-vpn-instance-mcast1-af-ipv4-mvpn-spmsi] tunnel-withdraw-delay 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >