group (VSI channel-name view)

Function

The group command configures multicast groups for a VSI channel and limits the bandwidth to a specific value for each multicast group in the channel.

The undo group command cancels the configuration.

By default, no multicast groups are configured for a VSI channel, and the bandwidth is not limited for any multicast group in the channel.

Format

group group-address { group-mask | group-mask-length } [ source source-address { source-mask | source-mask-length } ] [ per-bandwidth bandwidth ]

undo group group-address { group-mask | group-mask-length } [ source source-address { source-mask | source-mask-length } ]

Parameters

Parameter Description Value
group-address

Specifies a multicast group address.

The value is in dotted decimal notation.

group-mask

Specifies the mask of a multicast group address.

The value is in dotted decimal notation.

group-mask-length

Specifies the mask length of a multicast group address.

The value is an integer ranging from 5 to 32.

source source-address

Specifies a multicast source address.

The value is in dotted decimal notation.

source-mask

Specifies the mask of a multicast source address.

The value is in dotted decimal notation.

source-mask-length

Specifies the mask length of a multicast source address.

The value is an integer ranging from 8 to 32.

per-bandwidth bandwidth

Sets a bandwidth limit.

The value is an integer ranging from 1 to 131072, in kbit/s.

Views

VSI channel-name view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

If a network provides services for multiple content providers, you can run the group command to configure multicast groups for a global or VSI channel and limit the bandwidth to a specific value for each group in the channel. Therefore, this command configuration allows the device to manage content providers and control traffic in a centralized manner.

Prerequisites

A VSI channel has been configured.

Configuration Impact

If the bandwidth parameter is not set, the bandwidth is not limited for multicast groups.

Precautions

A group in a channel of a VSI cannot have the same address as multicast groups in other channels in the VSI.

Example

# Configure multicast groups for a channel named al in VSI vsi1.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vpna
[*HUAWEI-vsi-vpna] pwsignal ldp
[*HUAWEI-vsi-vpna-ldp] vsi-id 1
[*HUAWEI-vsi-vpna-ldp] quit
[*HUAWEI-vsi-vpna] quit
[*HUAWEI] l2-multicast-channel vsi vpna
[*HUAWEI-l2-channel-vsi-vpna] channel a1 type ssm
[*HUAWEI-l2-channel-vsi-vpna-a1] group 238.0.0.1 30 source 2.2.2.2 32 per-bandwidth 4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >