< Home

attach multicast-profile

Function

The attach multicast-profile command binds a multicast profile to a user.

The undo attach multicast-profile command cancels the binding between a multicast profile and a user.

By default, no multicast profile is bound to a user.

Format

attach multicast-profile profile-name [ interface interface-type interface-number | mac-address mac-address ] *

undo attach multicast-profile [ profile-name [ interface interface-type interface-number | mac-address mac-address ] * ]

Parameters

Parameter

Description

Value

profile-name

Specifies the name of a multicast profile.

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

interface interface-type interface-number

Specifies a user interface. interface-type specifies the type of the user interface. interface-number specifies the number of the user interface.

-

mac-address mac-address

Specifies the MAC address of a user host.

The MAC address is in the format of H-H-H. Each H stands for four hexadecimal numbers.

Views

VLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Traditional multicast services are uncontrollable. User hosts send IGMP/MLD Report packets to join a specified multicast group. Then they can receive multicast packets of the group. With the development of IPTV services, uncontrollable multicast services cannot meet carriers' requirements. You can configure controllable multicast to authenticate user rights in the VLAN that join a multicast group. The controllable multicast function authenticates users in a VLAN that need to join a multicast group using the multicast group, multicast group list, and multicast profile. After a multicast profile is configured, bind this profile to a VLAN. When a user host sends a request to join a channel, the request is snooped if the channel requested by the user host is not in the multicast profile.

Prerequisites

The specified multicast profile has been created.

Precautions

The switch supports the port+VLAN multicast control mode. To configure the multicast service for multiple user interfaces in the same VLAN, you need to specify a multicast profile for each interface individually by specifying the interface interface-type interface-number parameter.

Example

# Bind profile1 to the user with the MAC address being 1-2-3 on GE0/0/1 in VLAN 4.

<HUAWEI> system-view
[HUAWEI] btv
[HUAWEI-btv] multicast-profile profile1
[HUAWEI-btv-profile-profile1] quit
[HUAWEI-btv] quit
[HUAWEI] vlan 4
[HUAWEI-vlan4] attach multicast-profile profile1 interface gigabitethernet 0/0/1 mac-address 1-2-3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >