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. The routers elect a DR by exchanging Hello messages. The router with the highest priority wins the election. If the router have the same priority, the router with the largest IP address wins the election.

Context

In 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 IP addresses. The routers exchange Hello messages to elect a DR.

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

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

You can set 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 [ vpn-instance vpn-instance-name ]

      The 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 PIM interface view is displayed.

    3. Run pim 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 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 >