< Home

Enabling IPv4 PIM-SM

Context

PIM-DM and PIM-SM cannot be enabled simultaneously in the public network instance or VPN instances.

It is recommended that you enable PIM-SM on all interfaces in a PIM-SM domain to ensure that the interfaces can establish neighbor relationships with all connected PIM devices.

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

Procedure

  • Enable PIM-SM for a public network instance.
    1. Run system-view

      The system view is displayed.

    2. Run multicast routing-enable

      IP multicast routing is enabled.

    3. Run interface interface-type interface-number

      The interface view is displayed.

    4. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

    5. Run pim sm

      PIM-SM is enabled.

  • Enable PIM-SM for a VPN instance.

    A VPN instance must exist before you enable PIM-SM in it.

    1. Run system-view

      The system view is displayed.

    2. Run ip vpn-instance vpn-instance-name

      The VPN instance view is displayed.

    3. Run ipv4-family

      The IPv4 address family is enabled for the VPN instance, and the VPN instance IPv4 address family view is displayed.

    4. Run route-distinguisher route-distinguisher

      An RD is configured for the VPN instance IPv4 address family.

    5. Run multicast routing-enable

      IP multicast routing is enabled.

    6. Run quit

      Return to the VPN instance view.

    7. Run quit

      Return to the system view.

    8. Run interface interface-type interface-number

      The interface view is displayed.

    9. Run ip binding vpn-instance vpn-instance-name

      The interface is associated with a specified VPN instance.

    10. Run pim sm

      PIM-SM is enabled.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >