data-group

Use data-group to specify a data-group range and optionally configure the criteria for the default-MDT to data-MDT switchover.

Use undo data-group to restore the default.

Syntax

data-group group-address { mask-length | mask } [ acl acl-number]

undo data-group

Default

No data-group range exists, and the default-MDT to data-MDT switchover never occurs.

Views

MVPN IPv4 address family view

MVPN IPv6 address family view

Predefined user roles

network-admin

mdc-admin

Parameters

group-address: Specifies a multicast group address in the range of 224.0.1.0 to 239.255.255.255.

mask-length: Specifies a mask length for the multicast group address. The value range for this argument is 25 to 32.

mask: Specifies a subnet mask for the multicast group address. The value range for this argument is 255.255.255.x, where x can be only 0, 128, 192, 224, 240, 248, 252, 254, or 255.

acl acl-number: Specifies an advanced ACL by its number in the range of 3000 to 3999. If you specify an ACL, the multicast data permitted by the ACL can trigger the switchover. If you do not specify an ACL, any multicast data can trigger the switchover. For the ACL to take effect, specify the protocol type as IP, and include the source and destination keywords when you create an ACL rule. The source and destination keywords specify a multicast source address range and a multicast group address range, respectively.

Usage guidelines

On a PE, the data-group range for an MVPN cannot include the default-group or data-groups of any other MVPN. For an MVPN that transmits both IPv4 and IPv6 multicast packets, the data-group ranges in MVPN IPv4 address family view and MVPN IPv6 address family view cannot overlap.

All VPN instances share the data-group resources. As a best practice to avoid data-group resource exhaustion, specify a reasonable data-group range for a VPN instance.

The data-group ranges for different MDs on different PE devices cannot overlap with one another if the PIM mode is not PIM-SSM on the public network.

If you execute this command multiple times in the same MVPN IPv4 address family view or IPv6 address family view, the most recent configuration takes effect.

This command is available only for an MDT-based MVPN.

Examples

# In MVPN IPv4 address family view of VPN instance mvpn, specify 239.1.2.0 through 239.1.2.255 as the data-group range.

<Sysname> system-view
[Sysname] multicast-mvpn vpn-instance mvpn mode mdt
[Sysname-mvpn-mvpn] address-family ipv4
[Sysname-mvpn-mvpn-ipv4] data-group 239.1.2.0 24