switch-delay (IPv6 address family MVPN-SPMSI view)

Function

The switch-delay command configures a delay after which a VPN instance switches multicast data from the inclusive-provider multicast service interface (I-PMSI) tunnel to a selective-provider multicast service interface (S-PMSI) tunnel.

The undo switch-delay command restores the default configuration.

By default, a VPN instance switches multicast data from the I-PMSI tunnel to an S-PMSI tunnel after a delay of 5s.

Format

switch-delay switch-delay

undo switch-delay

Parameters

Parameter Description Value
switch-delay

Specifies a delay after which a VPN instance switches multicast data from the I-PMSI tunnel to an S-PMSI tunnel.

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

Views

IPv6 address family MVPN-SPMSI view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mvpn write

Usage Guidelines

Usage Scenario

The sender PE starts a switch-delay timer before switching multicast data from the I-PMSI tunnel to an S-PMSI tunnel. To configure the switch-delay timer value, run the switch-delay command. The sender PE continues to detect the multicast data forwarding rate before the switch-delay timer expires. If the forwarding rate is consistently above the specified switching threshold throughout the timer lifecycle, the sender PE switches multicast data from the I-PMSI tunnel to an S-PMSI tunnel. If the forwarding rate is consistently below the specified switching threshold throughout the timer lifecycle, the sender PE still uses the I-PMSI tunnel to send multicast data.

Configuration Impact

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

Precautions

In actual switching from the I-PMSI tunnel to an S-PMSI tunnel, due to necessary traffic rate calculation and protocol processing, there is a lag of 1 to 30 seconds between the time the multicast data forwarding rate changes and the time a VPN instance starts the switch-delay timer. As a result, the actual switching delay is 1 to 30 seconds longer than the specified switching delay.

Example

# Configure the VPN instance mcast1 to switch multicast data from the I-PMSI tunnel to an S-PMSI tunnel after a delay of 20s.
<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] ipmsi-tunnel
[*HUAWEI-vpn-instance-mcast1-af-ipv6-mvpn-ipmsi] mldp
[*HUAWEI-vpn-instance-mcast1-af-ipv6-mvpn-ipmsi] quit
[*HUAWEI-vpn-instance-mcast1-af-ipv6-mvpn] spmsi-tunnel
[*HUAWEI-vpn-instance-mcast1-af-ipv6-mvpn-spmsi] switch-delay 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >