Adjusting DR Parameters

A source's Designated router (DR) is responsible for sending Register messages to a Rendezvous Point (RP), and a receiver's DR is responsible for sending Join messages to an RP. Devices elect a DR by exchanging Hello messages. The device with the highest priority wins the election. In the case of the same priority, the device with the largest IP address wins the election

Context

In IPv6 PIM-SM, a DR needs to be elected on a shared network segment to process multicast source registration and multicast group join requests. DR election is based on DR priorities and IPv6 addresses. The routers exchange Hello messages carrying DR priorities to elect a DR.

  • If all routers support Hello messages carrying DR priorities, the PIM interface with the highest DR priority is elected as the DR. If all routers have the same priority, the interface with the largest IPv6 address is elected as the DR.

  • If one or more routers do not support Hello messages carrying the DR priority, the PIM interface with the largest IPv6 address is elected as the DR.

You can configure a DR priority either globally or on an interface:

  • Global configuration: takes effect on all interfaces.

  • Interface-specific configuration: takes precedence over the global configuration. If an interface-specific configuration is not available, the interface uses the global configuration.

Procedure

  • Configure a DR priority globally.
    1. Run system-view

      The system view is displayed.

    2. Run pim-ipv6

      The IPv6 PIM view is displayed.

    3. Run hello-option dr-priority priority

      A priority is set for all the interfaces on the router that participate in the DR election.

      A higher priority value indicates a higher priority.

    4. Run commit

      The configuration is committed.

  • Configure a DR priority for a specific interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The IPv6 PIM interface view is displayed.

    3. Run pim ipv6 hello-option dr-priority priority

      A priority for DR election is set for the interface.

      A higher priority value indicates a higher priority.

    4. Run pim ipv6 timer dr-switch-delay interval

      The DR switchover delay is configured, and the delay timer is specified.

      When an interface changes from a DR to a non-DR, the original entries are valid till the delay timer expires.

    5. Run commit

      The configuration is committed.

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