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

Reminder

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

upgrade

CLI-based Configuration Guide - IP Multicast

AR500, AR510, and AR530 V200R007

This document describes the principles and configurations of IP multicast, and provides configuration examples.
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 DR Election

Adjusting Control Parameters for DR Election

Pre-configuration Tasks

Before configuring control parameters for DR election, complete the following tasks:

  • Configure a unicast routing protocol to ensure normal unicast routing on the network.
  • Enable PIM-SM.

Configuration Process

You can configure the priority for DR election and DR switchover delay in any sequence as required.

Configuring the DR Priority

Context

The shared network segment where a multicast source or group member resides is usually connected to multiple PIM devices. PIM devices exchange Hello messages to elect a designated router (DR) on the network segment, which is the unique sender of multicast packets. The DR priorities carried in Hello messages are compared at first. The device with the highest DR priority wins (A greater value indicates a higher priority). If PIM devices have the same DR priority or at least one PIM device does not support Hello messages carrying the DR priority, the PIM device with the largest IP address wins.

NOTE:

The DR priority can be configured globally or on an interface. If you configure the DR priority in the global PIM view and in the interface view simultaneously, the configuration in the interface view takes effect.

Default Configuration

The default DR priority is 1.

Procedure

  • Global configuration
    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

      The priority for DR election is configured.

  • Configuration on an interface
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

      The interface view is displayed.

    3. Run:

      pim hello-option dr-priority priority

      The priority for DR election is configured.

Configuring the DR Switchover Delay

Context

When an interface on a shared network segment changes from a designated router (DR) to a non-DR, PIM devices on the network segment immediately delete the related multicast forwarding entries. This causes loss of multicast data in a short period. To avoid such a situation, enable DR switching delay function and set a delay time. When the DR changes, the original multicast forwarding entries are retained within the delay time.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The interface view is displayed.

  3. Run:

    pim timer dr-switch-delay interval

    The DR switchover delay function is enabled and a delay time is configured.

    By default, when the interface changes from a DR to a non-DR, the interface stops forwarding data immediately.

Checking the Configuration

Prerequisites

After the control parameters for electing a DR are adjusted, you can check information about the PIM interface and the PIM neighbor.

Procedure

  • Run the display pim [ vpn-instance vpn-instance-name | all-instance ] interface [ interface-type interface-number | up | down ] [ verbose ] command to check PIM information on an interface.
  • Run the display pim [ vpn-instance vpn-instance-name | all-instance ] neighbor [ neighbor-address | interface interface-type interface-number | verbose ] * command to check information about PIM neighbors.
Translation
Download
Updated: 2019-06-12

Document ID: EDOC1000097280

Views: 9832

Downloads: 20

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