The multicast boundary command configures a multicast boundary for a single administrative range.
The undo multicast boundary command deletes the configured multicast boundary.
By default, no multicast boundary is configured on an interface.
multicast boundary group-address { mask | mask-length }
undo multicast boundary { group-address { mask | mask-length } | all }
Parameter | Description | Value |
---|---|---|
group-address |
Specifies the address of a multicast group, used to specify a multicast group and configure the forwarding range of the multicast packets for the group. |
The address is in dotted decimal notation and ranges from 224.0.1.0 to 239.255.255.255. |
mask |
Indicates the mask of a specified group address. |
The mask is in dotted decimal notation. |
mask-length |
Indicates the mask length of a specified group address. |
The value is an integer that ranges from 4 to 32. |
all |
Deletes all the multicast boundaries configured on an interface. |
- |
GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, VLANIF interface view, loopback interface view, tunnel interface view
Usage Scenario
Data of some multicast groups needs to be forwarded within a specified range. For example, each BSR administrative domain serves a specific group address range, and data packets sent from multicast sources to these groups need to be forwarded within the matching administrative domain. After a multicast boundary is configured for specified multicast groups on an interface, multicast packets sent to these groups cannot be forwarded through the interface. This restricts multicast forwarding within a range.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions
To configure the boundary for different multicast groups, you can repeat the command on the same interface.
A and B are the forwarding boundary sets of the multicast group range to be configured, and B is a subset of A. If A is first configured on an interface, B cannot be configured. If you configure A on the interface that has been configured with B, B is replaced by A.
<HUAWEI> system-view [HUAWEI] multicast routing-enable [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] multicast boundary 239.2.0.0 16
<HUAWEI> system-view [HUAWEI] multicast routing-enable [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] multicast boundary 239.2.0.0 16