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 Prune Messages in IPv4 PIM-DM

Adjusting Control Parameters for Prune Messages in IPv4 PIM-DM

Context

A multicast device sends Prune messages upstream for requiring to stop forwarding multicast data. You can configure control parameters for Prune messages as required. If there is no special requirement, the default values are recommended.

Configuration Procedure

You can configure time parameters for Join/Prune messages, Join/Prune message packaging, and Prune delay in any sequence as required.

Adjusting Time Parameters for Join/Prune Messages

Context

A PIM device sends Prune messages to its upstream neighbor to request the neighbor to stop sending multicast data to it. Prune messages are encapsulated in a Join/Prune message, which is defined by the PIM protocol to control multicast forwarding. When the upstream neighbor receives a Join/Prune message, it starts a timer and sets the timer value to the holdtime of the Join/Prune message. If the upstream neighbor does not receive any Join/Prune message when the timer expires, the upstream neighbor starts to forward multicast data to the downstream interface again.

NOTE:

The holdtime of Join/Prune messages can be configured in the PIM view or interface view. If the holdtime is configured both in the PIM view and interface view, the configuration in the interface view takes effect.

Default Settings

Table 4-10 lists the default settings of time parameters for Join/Prune messages.

Table 4-10 Default settings of time parameters for Join/Prune messages
Parameter Default Setting

Holdtime of Join/Prune messages

210s

Procedure

  • Global configuration
    1. Run system-view

      The system view is displayed.

    2. Run pim

      The PIM view is displayed.

    3. Run holdtime join-prune interval

      The holdtime of Join/Prune messages 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 holdtime join-prune interval

      The holdtime of Join/Prune messages is configured.

    6. Run commit

      The configuration is committed.

Disabling PIM Join/Prune Message Packaging

Context

The efficiency for sending PIM Join/Prune messages in a package is higher than that for separately sending a large number of PIM Join/Prune messages. By default, a device sends PIM Join/Prune messages in a package. Because the size of a PIM Join/Prune message package is large, devices that have poor performance cannot receive the PIM Join/Prune message package. To prevent packets from being discarded, disable the real-time Join/Prune message packaging function.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run pim

    The PIM view is displayed.

  3. Run join-prune triggered-message-cache disable

    The real-time Join/Prune message packaging function is disabled.

    By default, the real-time Join/Prune message package function is enabled.

  4. Run commit

    The configuration is committed.

Adjusting Control Parameters for Prune Delay

Context

LAN-delay specifies the delay from the time a device receives a Prune message from a downstream interface to the time it sends the Prune message to an upstream interface. A PIM device does not prune the corresponding downstream interface immediately after it sends the Prune message. If another device still requests multicast data, it needs to send a Join message to the upstream device within this period. The period for overriding the Prune message is called override-interval. The delay from the time a PIM device receives a Prune message to the time it performs the prune action is the sum of the LAN-delay and override-interval.

NOTE:

The LAN-delay and override-interval can be configured globally or on an interface. If you configure the LAN-delay and override-interval in the global PIM view and in the interface view simultaneously, the configuration in the interface view takes effect.

Default Settings

Table 4-11 lists the default settings of control parameters for prune delay.

Table 4-11 Default settings of control parameters for prune delay
Parameter Default Setting

LAN-delay

500 ms

Override-interval

2500 ms

Procedure

  • Global configuration
    1. Run system-view

      The system view is displayed.

    2. Run pim

      The PIM view is displayed.

    3. Run hello-option lan-delay interval

      The delay for transmitting Prune messages is configured.

    4. Run hello-option override-interval interval

      The interval for overriding the prune action is configured.

    5. 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 lan-delay interval

      The delay for transmitting Prune messages is configured.

    6. Run pim hello-option override-interval interval

      The interval for overriding the prune action is configured.

    7. Run commit

      The configuration is committed.

Verifying the Configuration of Control Parameters for Prune Messages in IPv4 PIM-DM

Prerequisites

After control parameters for Prune messages are configured, you can check information about the PIM interface, statistics about PIM control messages, and PIM routing table.

Procedure

  • Run the display pim interface [ interface-type interface-number | up | down ] [ verbose ] command to check PIM information on an interface.
  • Run the display pim control-message counters [ message-type { assert | hello | join-prune | graft | graft-ack | state-refresh } | interface interface-type interface-number ] * command to check the number of sent or received PIM control messages.
  • Run the following commands to check the PIM routing table.

    • Run the display pim routing-table [ group-address [ mask { group-mask-length | group-mask } ] | source-address [ mask { source-mask-length | source-mask } ] | incoming-interface { interface-type interface-number | register } | outgoing-interface { include | exclude | match } { interface-type interface-number | register | none } | mode dm | flags flag-value | fsm ] * [ outgoing-interface-number [ number ] ] command to check detailed information about the PIM routing table.

    • Run the display pim routing-table brief [ group-address [ mask { group-mask-length | group-mask } ] | source-address [ mask { source-mask-length | source-mask } ] | incoming-interface { interface-type interface-number | register } ] * command to check brief information about the PIM routing table.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075361

Views: 21021

Downloads: 23

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