channel (L2 channel)

Function

The channel command configures a global or VSI channel.

The undo channel command cancels the configuration.

By default, no global or VSI channel is configured.

Format

channel channel-name

channel channel-name type asm

channel channel-name type ssm

undo channel channel-name

Parameters

Parameter Description Value
channel channel-name

Specifies the name of a channel.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

type

Indicates the type of a channel.

-

asm

Sets the ASM model.

In the ASM model, a user-side device can receive a multicast group's data from all available sources as long as the device knows the requested group's address.

-

ssm

Sets the SSM model.

In the SSM model, a user-side device can receive a multicast group's data from a source only if the device knows the requested group's address and the source address.

-

Views

Global channel view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

Before configuring groups for a channel, you need to define a name for the channel. The channel command can be used to set a name for a channel and select the model (ASM or SSM) of multicast group addresses.

Precautions

The names of a global channel, and a channel in a VSI cannot be the same.

Example

# Configure a global channel named a1.
<HUAWEI> system-view
[~HUAWEI] l2-multicast-channel
[*HUAWEI-l2-channel-glb] channel a1 type asm
# Configure a channel named c1 in VSI vpna.
<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 c1 type ssm
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >