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

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, Loopback interface view, PW-VE sub-interface view, Tunnel interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view, Virtual template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pim write

Usage Guidelines

Usage Scenario

Enabling PIM-SM on an interface is the prerequisite for the interface to set up PIM neighbor relationships with other Routers and to process PIM messages. To enable PIM-SM on an interface, run the pim sm command.

Prerequisites

The multicast routing function has been enabled using the multicast routing-enable command in the public network instance view or VPN instance view.

Precautions

  • This command does not apply to MTunnel interfaces.
  • The pim sm command is mutually exclusive with the pim dm command.
  • Running the undo pim sm command deletes the PIM-SM configuration from an interface, which interrupts PIM services. Therefore, exercise caution when using this command.
  • This command applies only to the view of a tunnel interface with an encapsulation mode of GRE or TE.

Example

# Enable PIM-SM on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] multicast routing-enable
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] undo portswitch
[*HUAWEI-GigabitEthernet0/1/0] pim sm
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >