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


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


Configuration Guide - IP Multicast

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of IP multicast, including IP multicast basics, IGMP, MLD, PIM (IPv4), PIM (IPv6), MSDP, multicast VPN, multicast route management (IPv4), multicast route management (IPv6), IGMP snooping, MLD snooping, static multicast MAC address, multicast VLAN, multicast network management.
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).
Adjusting Control Parameters for a Multicast Source in IPv4 Bidir-PIM

Adjusting Control Parameters for a Multicast Source in IPv4 Bidir-PIM


After a PIM device receives a multicast packet sent to group G, it starts a timer for the (*, G) entry and sets the timer to the multicast source lifetime. If the device receives a packet sent to the group before the timer expires, it resets the timer. If the device does not receive any multicast packet sent to the group within the lifetime, it considers the corresponding (*, G) entry invalid and deletes this entry. You can configure the multicast source lifetime.

To control multicast traffic or ensure data security, configure source address-based filtering policies on the device so that the device accepts only multicast data allowed by the policies.

Default Settings

Table 4-24 lists default settings of multicast source control parameters.

Table 4-24 Default settings of multicast source control parameters
Parameter Default Setting

Keepalive period of a multicast source


Source address filtering policy

No policy configured (Multicast data from all sources is accepted.)


  1. Run system-view

    The system view is displayed.

  2. Run pim

    The PIM view is displayed.

  3. Run source-lifetime interval

    The multicast source lifetime is configured.

    Configure the source lifetime according to the number of the multicast forwarding entries used. If a large number of multicast entries are used on your network, a too short lifetime will make the multicast forwarding table incomplete. However, if the lifetime is too long, invalid entries will be retained for a long time, wasting system resources. The following table lists the recommended lifetime values for different quantities of multicast forwarding entries.

    Number of Entries

    Recommended Lifetime Value

    Within 1000

    Default value

    1000 to 2000

    1000 seconds

    2000 to 8000

    2000 seconds

    More than 8000

    4000 seconds

  4. Run source-policy { acl-number | acl-name acl-name }

    A multicast source address-based filtering policy is configured.

    • If a basic ACL is specified in the command, the allowed multicast packets are specified by the source parameter in the rule configured under the basic ACL. The device forwards only the multicast packets with the source addresses allowed by the filtering policy.

    • If an advanced ACL is specified in the command, the allowed multicast packets are specified by source and destination parameters in the rule configured under the advanced ACL. The device forwards only the multicast packets with both source addresses and group addresses allowed by the filtering policy.

    • If the specified ACL contains no rule, the device does not forward multicast packets from any sources.

    • This command does not filter multicast packets that match the PIM entries generated from statically configured IGMP (*, G) entries.

  5. Run commit

    The configuration is committed.

Verifying the Configuration

After the control parameters of a multicast source are adjusted, you can check entries in the PIM routing table.

Run the following commands to check the PIM routing table.
  • display pim routing-table [ group-address [ mask { group-mask-length | group-mask } ] ] { rpf-interface interface-type interface-number | mode bidir } * [ outgoing-interface { include | exclude | match } { interface-type interface-number | none } | flags flag-value | fsm ] * [ outgoing-interface-number [ number ] ]
  • display pim 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 } ] *
Updated: 2019-04-20

Document ID: EDOC1100074724

Views: 40886

Downloads: 13

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