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

Configuration Guide - IP Multicast

S7700 and S9700 V200R010C00

This document describes IP multicast basics and how to configure IP multicast features, including IGMP/MLD, PIM (IPv4&IPv6), MSDP, multicast VPN, Layer 3 multicast CAC, Layer 2 multicast CAC, IGMP/MLD snooping, and multicast VLAN, IPv4&IPv6 multicast route management, static multicast MAC address, multicast network.
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 to user hosts. User hosts in a multicast group can receive multicast data sent to their group from the specified multicast source.

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 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. (Optional) Run:

      set multicast forwarding-table super-mode

      The high specification mode is configured for multicast forwarding.

      In large-scale multicast applications, the switch generates a large number of PIM routing entries. When the number of PIM routing entries reaches the default limit, new PIM routing entries cannot be generated. The high specification mode increases the number of PIM routing entries supported on the switch to the maximum.

      NOTE:
      • The configuration of high specification mode takes effect after a restart.

      • Configuring the high specification mode increases the default interval for sending PIM-SM Join/Prune messages from 210s to 300s.

    3. (Optional) Run:

      assign multicast-resource-mode optimize

      The multicast replication capability of LPUs is optimized.

      If the switch needs to replicate a huge number of multicast packets, run this command to improve the multicast replication capability before enabling IP multicast routing.

    4. Run:

      multicast routing-enable

      IP multicast routing is enabled.

    5. Run:

      interface interface-type interface-number

      The interface view is displayed.

    6. (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.

    7. 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. (Optional) Run:

      set multicast forwarding-table super-mode

      The high specification mode is configured for multicast forwarding.

    3. (Optional) Run:

      assign multicast-resource-mode optimize

      The multicast replication capability of LPUs is improved.

    4. Run:

      ip vpn-instance vpn-instance-name

      The VPN instance view is displayed.

    5. Run:

      ipv4-family

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

    6. Run:

      route-distinguisher route-distinguisher

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

    7. Run:

      multicast routing-enable

      IP multicast routing is enabled.

    8. Run:

      quit

      Return to the VPN instance view.

    9. Run:

      quit

      Return to the system view.

    10. Run:

      interface interface-type interface-number

      The interface view is displayed.

    11. Run:

      ip binding vpn-instance vpn-instance-name

      The interface is associated with a specified VPN instance.

    12. 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 improve the security of multicast networks. If the addresses in the default range are insufficient, the SSM group address range must 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 all the devices in the network have the same SSM group address range.

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 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 | vpn-instance vpn-instance-name | 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-08-21

Document ID: EDOC1000141903

Views: 155150

Downloads: 111

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