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 12800 and 12800E 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).
Configuring Basic IPv4 PIM-DM Functions

Configuring Basic IPv4 PIM-DM Functions

Pre-configuration Tasks

Before configuring basic PIM-DM functions, configure a unicast routing protocol to ensure normal unicast routing on the network.

Context

After PIM-DM is enabled on all the devices on a PIM-DM network, they use the Any-Source Multicast (ASM) model to provide multicast services for user hosts. User hosts in a multicast group can receive multicast data sent from any multicast source to this group.

PIM-DM cannot be configured together with PIM-SM in the same instance on a switch.

It is recommended that you enable PIM-DM on all interfaces on a PIM-DM network, so that the interfaces can establish neighbor relationships with all connected PIM devices.

Procedure

  1. Run system-view

    The system view is displayed.

  2. (Optional) Run multicast forwarding optimization

    Multicast forwarding optimization is enabled.

    By default, multicast forwarding optimization is disabled.

    After multicast forwarding optimization is enabled on a standalone switch or a stack, the switch or stack dynamically adjusts traffic forwarding on switch fabrics or stack ports for each multicast group based on multicast traffic distribution in the system. This function saves multicast forwarding resources, but it consumes some processing resources and increases the response time to users' multicast requests. To enable multicast traffic to be transmitted to users quickly, disable the multicast forwarding optimization function.

    NOTE:

    The CE12800 supports this function. The CE12800E supports this function after ED-E, EG-E, and EGA-E series cards are installed, and does not support this function after FD-X series cards are installed.

  3. Run multicast routing-enable

    The multicast routing function is enabled.

    By default, the multicast routing function is disabled.

  4. Run interface interface-type interface-number

    The interface view is displayed.

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

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

  7. Run pim dm

    PIM-DM is enabled on the interface.

    By default, PIM-DM is disabled on an interface.

  8. Run commit

    The configuration is committed.

Verifying the Configuration

After PIM-DM is enabled on all the devices in a PIM domain, use the following commands to check information about PIM interfaces, PIM neighbors, and PIM routing entries.

  • Run the display pim interface [ interface-type interface-number | up | down ] [ verbose ] command to check PIM information on an interface.

  • Run the display pim neighbor [ neighbor-address | interface interface-type interface-number | verbose ] * command to check information about PIM neighbors.

  • 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: EDOC1100074724

Views: 45633

Downloads: 13

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