The import-channel command specifies a multicast channel for a Layer 2 multicast instance.
The undo import-channel command deletes a multicast channel specified for a Layer 2 multicast instance.
By default, no multicast channels are specified for a Layer 2 multicast instance.
Parameter | Description | Value |
---|---|---|
group-address |
Specifies a multicast channel IP address. |
The value ranges from 224.0.1.0 to 239.255.255.255, in dotted decimal notation. |
mask |
Specifies the mask of a multicast group address. |
The address is in dotted decimal notation and ranges from 240.0.0.0 to 255.255.255.255. |
mask-length |
Specifies the mask length of a multicast group address. |
The value is an integer ranging from 5 to 32. |
Usage Scenario
To facilitate service management, multicast content providers generally operate different types of channels in different Layer 2 multicast instances. Therefore, multicast channels need to be configured for Layer 2 multicast instances. To specify a multicast channel (multicast group address segment) for a Layer 2 multicast instance, run the import-channel command. After a multicast channel is specified, the Layer 2 multicast instance forwards only multicast flows within the specified address segment range.
Prerequisites
IGMP snooping has been enabled globally using the igmp-snooping enable command, and a Layer 2 multicast instance has been created using the l2-multicast instance command.