< Home

Configuring Control Parameters for Electing a DR

The control parameters for electing a DR can be set either globally or on an interface.

Context

The configuration involves the following cases:

  • Global configuration: It is valid on all the interfaces.

  • Configuration on an interface: The configuration on an interface takes precedence over the global configuration. If the configuration on an interface is not done, the global configuration is used.

Procedure

  • Global Configuration
    1. Access the system view.

      system-view

    2. Access the PIM view.

      pim [ vpn-instance vpn-instance-name ]

    3. Set the DR priority.

      hello-option dr-priority priority

      On a shared network segment where all PIM devices support the DR priority, the interface with the highest priority acts as the DR. In the case of the same priority, the interface with the largest IP address acts as the DR. If a minimum of one PIM device does not support the DR priority, the interface with the largest IP address acts as the DR.

  • Configuration on an Interface
    1. Access the system view.

      system-view

    2. Access the interface view.

      interface interface-type interface-number

    3. Set the DR priority.

      pim hello-option dr-priority priority

      On a shared network segment where all PIM devices support the DR priority, the interface with the highest priority acts as the DR. In the case of the same priority, the interface with the largest IP address acts as the DR. If a minimum of one PIM device does not support the DR priority, the interface with the largest IP address acts as the DR.

    4. Configure the DR switchover delay and specify the delay.

      pim timer dr-switch-delay interval

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

      By default, once an interface changes from a DR to a non-DR, the original entries are deleted immediately.

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