< Home

Adjusting Control Parameters for a Multicast Source

Context

After a PIM switch receives a multicast packet from a multicast source, it starts a timer for the (S, G) entry and sets the timer to the lifetime of the source. If the switch receives a packet from the source before the timer expires, it resets the timer. Otherwise, it considers the corresponding (S, G) entry invalid and deletes this entry.

The lifetime of a multicast source is configurable. To control multicast traffic or ensure data security, configure source address-based filtering policies on a switch so that the switch accepts only multicast data allowed by the policies.

Default Settings

Table 1 lists default settings of control parameters for a multicast source.

Table 1 Default settings of multicast source control parameters
Parameter Default Setting

Keepalive period of a multicast source

210s

Source address filtering policy

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

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run pim-ipv6

    The PIM-IPv6 view is displayed.

  3. Run source-lifetime { interval | infinity } [ group-policy acl6-number ]

    The lifetime of a multicast source is configured.

  4. Run source-policy acl6-number

    A multicast source address-based filtering policy is configured.

    • If a basic access control list (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 switch 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 switch 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 switch does not forward multicast packets from any sources.

    • The source-policy command does not filter the static (S, G) entries.

Verifying the Configuration

Run the following commands to check the IPv6 PIM routing table:

  • Run the display pim ipv6 routing-table [ ipv6-source-address [ mask mask-length ] | ipv6-group-address [ mask mask-length ] | flags flag-value | fsm | incoming-interface { interface-type interface-number | register } | mode { dm | sm | ssm } | outgoing-interface { exclude | include | match } { interface-type interface-number | none | register } ] * [ outgoing-interface-number [ number ] ] command to check detailed information about the IPv6 PIM routing table.

  • Run the display pim ipv6 routing-table brief [ ipv6-source-address [ mask mask-length ] | ipv6-group-address [ mask mask-length ] | incoming-interface { interface-type interface-number | register } ] * command to check brief information about the IPv6 PIM routing table.

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