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.
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. |
- |
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.
<HUAWEI> system-view [~HUAWEI] l2-multicast-channel [*HUAWEI-l2-channel-glb] channel a1 type asm
<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