No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - IP Multicast

AR500, AR510, and AR530 V200R007

This document describes the principles and configurations of IP multicast, and provides configuration examples.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring PIM-SM in the SSM Model

Configuring PIM-SM in the SSM Model

Context

A PIM-SM network uses the Source-Specific Multicast (SSM) model to provide specified multicast services for user hosts. User hosts in a multicast group can receive multicast data sent from the specified multicast source to this group.

Pre-configuration Tasks

Before configuring PIM-SM in the SSM model, configure a unicast routing protocol to ensure that unicast routes on the network are reachable.

Configuration Process

Enabling PIM-SM is a mandatory procedure. Configuring an SSM group policy can control the address range of SSM groups. This operation is optional.

Enabling PIM-SM

Context

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

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, and then enable 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. 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 the VPN instance.

    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:

      multicast routing-enable

      IP multicast routing is enabled.

    4. Run:

      quit

      Return to the system view.

    5. Run:

      interface interface-type interface-number

      The interface view is displayed.

    6. Run:

      ip binding vpn-instance vpn-instance-name

      The interface is associated with a specified VPN instance.

    7. Run:

      pim sm

      PIM-SM is enabled.

(Optional) Configuring an SSM Group Policy

Context

By default, the Source-Specific Multicast (SSM) group address range is 232.0.0.0/8. Sometimes, the address range of SSM groups must be limited to ensure security of multicast networks. If the addresses in the default range are insufficient, the SSM group address range needs to be expanded. You can configure an SSM group policy to control the address range of SSM groups.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    pim [ vpn-instance vpn-instance-name ]

    The PIM view is displayed.

  3. Run:

    ssm-policy { basic-acl-number | acl-name acl-name }

    The SSM group address range is configured.

    NOTE:

    Ensure that the SSM group address range of all devices in the network are the same.

Checking the Configuration

Prerequisites

After configuration of PIM-SM in SSM model is complete, you can check information about the PIM interface, PIM neighbor, and PIM routing table.

Procedure

  • Run the display pim [ vpn-instance vpn-instance-name | all-instance ] interface [ interface-type interface-number | up | down ] [ verbose ] command to check PIM information on an interface.
  • Run the display pim [ vpn-instance vpn-instance-name | all-instance ] neighbor [ neighbor-address | interface interface-type interface-number | verbose ] * command to check information about PIM neighbors.
  • Run the following commands to check the PIM routing table.

    • display pim [ vpn-instance vpn-instance-name | all-instance ] routing-table [ group-address [ mask { group-mask-length | group-mask } ] | source-address [ mask { source-mask-length | source-mask } ] | incoming-interface { interface-type interface-number | register } | outgoing-interface { include | exclude | match } { interface-type interface-number | register | none } | mode { dm | sm | ssm } | flags flag-value | fsm ] * [ outgoing-interface-number [ number ] ]

    • display pim [ vpn-instance vpn-instance-name | all-instance ] routing-table brief [ group-address [ mask { group-mask-length | group-mask } ] | source-address [ mask { source-mask-length | source-mask } ] | incoming-interface { interface-type interface-number | register } ] *

Translation
Download
Updated: 2019-06-12

Document ID: EDOC1000097280

Views: 9348

Downloads: 20

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next