< Home

pim sm

Function

The pim sm command enables PIM-SM on an interface.

The undo pim sm command restores the default configuration.

By default, PIM-SM is disabled on an interface.

Format

pim sm

undo pim sm

Parameters

None

Views

GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, GE sub-interface view, XGE sub-interface view, MultiGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, 100GE sub-interface view, Eth-Trunk sub-interface view, VLANIF interface view, loopback interface view, tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

With PIM-SM enabled on interfaces, switches can set up PIM neighbor relationships and process protocol packets received from PIM neighbors.

Prerequisites

IP multicast routing has been enabled using the multicast routing-enable command.

Precautions

PIM-DM and PIM-SM cannot be enabled simultaneously on interfaces bound to the same VPN instance or public network instance.

If PIM-SM and IGMP need to be enabled on the same interface, enable PIM-SM, and then enable IGMP.

Running the pim sm command failed on the VLANIF interface because Layer 2 multicast querier or report-suppress is enabled for this VLAN.

If both Layer 2 and Layer 3 multicast services are required in a VLAN, enable PIM on the corresponding VLANIF interface first, and then enable IGMP snooping in the VLAN. If IGMP snooping is enabled in the VLAN first, PIM cannot be enabled on the VLANIF interface.

Example

# Enable PIM-SM on VLANIF100.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] pim sm
# Enable PIM-SM on GE0/0/1.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] pim sm
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >