multicast-domain switch-group-pool

Function

The multicast-domain switch-group-pool command specifies the range of the switch-multicast distribution tree (MDT) switch-group-pool and switchover conditions.

The undo multicast-domain switch-group-pool command restores the default configuration.

By default, no switch-group-pool is specified, and no switchover is performed from the share-MDT to the switch-MDT.

Format

multicast-domain switch-group-pool switch-group-pool { network-mask | network-mask-length } [ acl { acl-name | advanced-acl-number } | threshold threshold-value ] *

undo multicast-domain switch-group-pool

Parameters

Parameter Description Value
switch-group-pool

Specifies a start address of the switch-group-pool.

The value ranges from 224.0.1.0 to 239.255.255.255, in dotted decimal notation.

network-mask

Specifies a mask of the switch-group-pool address.

The value ranges from 255.255.255.0 to 255.255.255.255, in dotted decimal notation.

network-mask-length

Specifies a mask length of the switch-group-pool address.

The value is an integer ranging from 24 to 32; the number of group addresses in the switch-MDT switch-group-pool ranges from 0 to 255.

acl acl-name

Specifies the (S, G) entry on which the switch-group-pool takes effect.advanced-acl-number specifies the advanced ACL number.

The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive).

advanced-acl-number

Specifies the (S, G) entry on which the switch-group-pool takes effect. advanced-acl-number specifies the advanced ACL number.

If no ACL is specified, the switch-group-pool takes effect on all (S, G) entries. The value is an integer ranging from 3000 to 3999.

threshold threshold-value

Specifies a threshold that triggers a switchover between the share-MDT and the switch-MDT.

  • If the multicast data forwarding rate of a VPN exceeds threshold-value, the system performs a switchover from the share-MDT to the switch-MDT, but the system starts to use the switch-MDT for data forwarding after a delay (the delay can be specified using the multicast-domain switch-delay command).
  • If the multicast data forwarding rate of a VPN falls below threshold-value, the system performs a switchback from the switch-MDT to the share-MDT, but the system starts to use the share-MDT for data forwarding after a delay (the delay can be specified using the multicast-domain holddown-time command).

The value is an integer ranging from 0 to 4194304, in kbit/s. The default value is 0.

Views

VPN instance IPv4 address family view, VPN instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mvpn write

Usage Guidelines

Usage Scenario

Between the VPN multicast receiver provider edge (PE) and VPN multicast source PE, a special switch-MDT is set up for the high-speed VPN multicast data packets flowing to the public network. The multicast data flow can be multicast on demand after it is switched from the share-MDT to the switch-MDT, preventing the share-MDT from flooding VPN multicast packets over the public network.

Prerequisites

The multicast-domain share-group command has been configured in the VPN.

Configuration Impact

In some cases, the forwarding rate of VPN multicast data fluctuates around the switchover threshold. If the rate remains higher than the switchover threshold, data packets are switched to the switch-MDT. Otherwise, the packets are still forwarded along the share-MDT.

If you run the command multiple times, the last configuration overrides the previous ones.

Precautions

The configuration rules of the named ACL and advanced ACL are the same, filtering both source addresses and multicast group addresses. The time range specified by time-range takes effect on the configuration rules.

From the time when data forwarding rate changes to the time when the system starts the switch-delay timer, there is a delay of 1 to 30 seconds because of necessary traffic calculation and protocol processing. In the actual switchover process, the delay is longer than the switch-delay period by 1 to 30 seconds.

Example

# Use a named ACL and set the switch-group-pool to be from 225.2.2.1 to 225.2.2.15.
<HUAWEI> system-view
[~HUAWEI] acl name myacl
[*HUAWEI-acl4-advance-myacl] rule permit ip source 1.1.1.1 0 destination 225.1.0.0 0.0.255.255
[*HUAWEI-acl4-advance-myacl] quit
[*HUAWEI] ip vpn-instance mytest
[*HUAWEI-vpn-instance-mytest] ipv4-family
[*HUAWEI-vpn-instance-mytest-af-ipv4] route-distinguisher 100:1
[*HUAWEI-vpn-instance-mytest-af-ipv4] multicast routing-enable
[*HUAWEI-vpn-instance-mytest-af-ipv4] multicast-domain share-group 224.1.1.1 binding mtunnel 10
[*HUAWEI-vpn-instance-mytest-af-ipv4] multicast-domain switch-group-pool 225.2.2.1 28 acl myacl
# Set the switch-group-pool of VPN mytest to be from 225.2.2.1 to 225.2.2.15.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance mytest
[*HUAWEI-vpn-instance-mytest] ipv4-family
[*HUAWEI-vpn-instance-mytest-af-ipv4] route-distinguisher 100:1
[*HUAWEI-vpn-instance-mytest-af-ipv4] multicast routing-enable
[*HUAWEI-vpn-instance-mytest-af-ipv4] multicast-domain share-group 224.1.1.1 binding mtunnel 10
[*HUAWEI-vpn-instance-mytest-af-ipv4] multicast-domain switch-group-pool 225.2.2.1 28
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >