< Home

add multicast-group

Function

The add multicast-group command adds multicast groups to a multicast group list.

The undo add multicast-group command removes multicast groups from a multicast group list.

By default, no multicast group is contained in a multicast group list.

Format

add multicast-group { name group-name | index start-index to end-index }

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

Parameters

Parameter

Description

Value

name group-name

Specifies the name of a multicast group.

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

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

Multicast group list 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. When configuring controllable multicast, you must create a multicast group and add the group to a multicast group list.

Prerequisites

The specified multicast group has been created.

Example

# Add the multicast group named huawei to the multicast group list list1.

<HUAWEI> system-view
[HUAWEI] btv
[HUAWEI-btv] multicast-group huawei ip-address 225.1.1.1
[HUAWEI-btv] multicast-list list1
[HUAWEI-btv-list-list1] add multicast-group name huawei

# Add the multicast groups whose indexes range from 2 to 4 to the multicast group list list1.

<HUAWEI> system-view
[HUAWEI] btv
[HUAWEI-btv] multicast-list list1
[HUAWEI-btv-list-list1] add multicast-group index 2 to 4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >