The l2-multicast pim router-port command configures a device to forward the PIM messages of a specific VLAN/VSI only to router interfaces.
The undo l2-multicast pim router-port command restores the default configuration.
By default, a device broadcasts received PIM messages, so that both router interfaces and non-router interfaces can receive PIM messages.
Usage Scenario
If a Layer 2 multicast device does need to forward PIM messages to its connected non-multicast devices, run the l2-multicast pim router-port command, so that the Layer 2 multicast device forwards PIM messages only to router interfaces. This configuration frees the connected non-multicast devices from processing PIM messages, reducing message forwarding and processing workloads and bandwidth consumption.
Prerequisites
IGMP snooping has been enabled using the igmp-snooping enable command in the system view and then in the VSI view.
<HUAWEI> system-view [~HUAWEI] igmp-snooping enable [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi vsi1 [*HUAWEI-vsi1] pwsignal ldp [*HUAWEI-vsi1-ldp] vsi-id 1 [*HUAWEI-vsi1-ldp] quit [*HUAWEI-vsi1] igmp-snooping enable [*HUAWEI-vsi1] l2-multicast pim router-port