< Home

multicast-group

Function

The multicast-group command creates a controllable multicast group.

The undo multicast-group command deletes a controllable multicast group.

By default, no multicast group is created.

Format

multicast-group group-name { ip-address ipv4-group-address [ source ipv4-source-address ] | ipv6-address ipv6-group-address [ source ipv6-source-address ] }

undo multicast-group { all | group-name | index start-index to end-index }

Parameters

Parameter

Description

Value

group-name

Specifies the name of a multicast group.

The value is a string of 1 to 31 case-insensitive characters without spaces.

ip-address ipv4-group-address

Specifies the address of a multicast group.

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

source ipv4-source-address

Specifies an IPv4 source address.

It is in dotted decimal notation.

ipv6-address ipv6-group-address

Specifies an IPv6 multicast group address.

The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. The value ranges from FF00:: to FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF, excluding the multicast addresses reserved for protocols.

source ipv6-source-address

Specifies an IPv6 source address.

The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.

all

Deletes all multicast groups.

-

index start-index to end-index

Specifies the index of a multicast group. start-index specifies the start index of a multicast group, and end-index specifies the end index of a multicast group.

The value is an integer that ranges from 1 to 1024.

Views

Broadband TV (BTV) view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A multicast group is at the lowest level of the three-level control mechanism for controllable multicast. A multicast group corresponds to a multicast address such as 224.1.1.1. A multicast group can be regarded as a channel or program of IPTV.

Precautions

If two programs have the same multicast IP address but different source addresses, the two programs are considered different.

Example

# Configure the IP address of a multicast group to 225.0.0.1 and name the multicast program tv-1.

<HUAWEI> system-view
[HUAWEI] btv
[HUAWEI-btv] multicast-group tv-1 ip-address 225.0.0.1

# Configure the IP address of a multicast group to ff1e::1234 and name the multicast program tv-2.

<HUAWEI> system-view
[HUAWEI] btv
[HUAWEI-btv] multicast-group tv-2 ipv6-address ff1e::1234

# Configure the IP address of a multicast group to 232.0.0.1, specify the source IP address to 192.168.1.1, and name the multicast program tv-3.

<HUAWEI> system-view
[HUAWEI] btv
[HUAWEI-btv] multicast-group tv-3 ip-address 232.0.0.1 source 192.168.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >