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

Configuration Guide - IP Multicast

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of IP multicast, including IP multicast basics, IGMP, MLD, PIM (IPv4), PIM (IPv6), MSDP, multicast VPN, multicast route management (IPv4), multicast route management (IPv6), IGMP snooping, MLD snooping, static multicast MAC address, multicast VLAN, multicast network management.
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 in IPv4 PIM-SM

Adjusting Control Parameters for DR Election in IPv4 PIM-SM

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 Procedure

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 Settings

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.

    4. Run commit

      The configuration is committed.

  • 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. On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      The mode switching function takes effect when the interface only has attribute configurations (for example, shutdown and description configurations). Alternatively, if configuration information supported by both Layer 2 and Layer 3 interfaces exists (for example, mode lacp and lacp system-id configurations), no configuration that is not supported after the working mode of the interface is switched can exist. If unsupported configurations exist on the interface, delete the configurations first and then run the undo portswitch command.

      NOTE:

      If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.

    4. For a Layer 3 sub-interface, run the following commands to configure termination of single-tagged packets on it.

      1. Run quit

        Return to the system view.

      2. Run interface interface-type interface-number.subinterface-number

        The Layer 3 sub-interface view is displayed.

        The subinterface-number parameter must specify a Layer 3 sub-interface number on an Ethernet interface that has been switched to the Layer 3 mode.

      3. Run dot1q termination vid vid

        Termination of Dot1q packets is configured on the Layer 3 sub-interface.

        By default, the termination of Dot1q packets is not configured on a Layer 3 sub-interface.

    5. Run pim hello-option dr-priority priority

      The priority for DR election is configured.

    6. Run commit

      The configuration is committed.

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. On an Ethernet interface, run undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.

    The mode switching function takes effect when the interface only has attribute configurations (for example, shutdown and description configurations). Alternatively, if configuration information supported by both Layer 2 and Layer 3 interfaces exists (for example, mode lacp and lacp system-id configurations), no configuration that is not supported after the working mode of the interface is switched can exist. If unsupported configurations exist on the interface, delete the configurations first and then run the undo portswitch command.

    NOTE:

    If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.

  4. For a Layer 3 sub-interface, run the following commands to configure termination of single-tagged packets on it.
    1. Run quit

      Return to the system view.

    2. Run interface interface-type interface-number.subinterface-number

      The Layer 3 sub-interface view is displayed.

      The subinterface-number parameter must specify a Layer 3 sub-interface number on an Ethernet interface that has been switched to the Layer 3 mode.

    3. Run dot1q termination vid vid

      Termination of Dot1q packets is configured on the Layer 3 sub-interface.

      By default, the termination of Dot1q packets is not configured on a Layer 3 sub-interface.

  5. 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.

  6. Run commit

    The configuration is committed.

Verifying the Configuration of Control Parameters for DR Election in IPv4 PIM-SM

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-04-20

Document ID: EDOC1100075361

Views: 21131

Downloads: 23

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