Huawei Quidway s3700 series Configuration Manual

Hide thumbs Also See for Quidway s3700 series:
Table of Contents

Advertisement

Quidway S3700 Series Ethernet Switches
V100R006C01
Configuration Guide - Multicast
Issue
01
Date
2011-10-26
HUAWEI TECHNOLOGIES CO., LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei Quidway s3700 series

  • Page 1 Quidway S3700 Series Ethernet Switches V100R006C01 Configuration Guide - Multicast Issue Date 2011-10-26 HUAWEI TECHNOLOGIES CO., LTD.
  • Page 2 All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope.
  • Page 3: About This Document

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast About This Document About This Document Intended Audience This document describes the multicast service supported by the S3700, including basic knowledge, protocol implementation, configuration procedures, and configuration examples. This document guides you through the configuration of the multicast service of the S3700.
  • Page 4: Command Conventions

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast About This Document Command Conventions The command conventions that may be found in this document are defined as follows. Convention Description Boldface The keywords of a command line are in boldface.
  • Page 5: Table Of Contents

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast Contents Contents About This Document........................ii 1 IP Multicast Configuration Guide.....................1 1.1 IP Multicast Overview............................2 1.2 IP Multicast Features Supported by the S3700....................2 1.3 IPv4 Multicast Configuration Guide........................2 1.3.1 IPv4 Multicast Addresses..........................2 1.3.2 IPv4 Multicast Protocols...........................3...
  • Page 6 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast Contents 2.5.4 Checking the Configuration........................26 2.6 Maintaining Layer 2 Multicast.........................27 2.6.1 Clearing Static Entries in a Multicast Forwarding Table................27 2.6.2 Clearing Multicast Forwarding Entries....................28 2.6.3 Clearing the Statistics on IGMP Snooping....................28 2.6.4 Debugging IGMP Snooping........................28...
  • Page 7 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast Contents 4.3.6 Checking the Configuration........................63 4.4 Configuration Example.............................64 4.4.1 Example for Configuring Controllable Multicast..................64 5 IGMP Configuration........................68 5.1 Introduction to IGMP............................69 5.2 IGMP Features Supported by the S3700......................69 5.3 Configuring Basic IGMP Functions.........................70 5.3.1 Establishing the Configuration Task.......................70...
  • Page 8 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast Contents 6.4.1 Establishing the Configuration Task.....................104 6.4.2 Configuring the Lifetime of a Source....................105 6.4.3 Configuring Filtering Rules Based on Source Addresses..............106 6.4.4 Checking the Configuration........................106 6.5 Adjusting Control Parameters for Maintaining Neighbor Relationships............107 6.5.1 Establishing the Configuration Task.....................107...
  • Page 9 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast Contents 7 PIM-SM (IPv4) Configuration....................135 7.1 PIM-SM Overview............................137 7.2 PIM-SM Features Supported by the S3700....................138 7.3 Configuring Basic PIM-SM Functions......................139 7.3.1 Establishing the Configuration Task.....................139 7.3.2 Enabling IP Multicast Routing......................140 7.3.3 Enabling Basic PIM-SM Functions.......................141 7.3.4 (Optional) Configuring a Static RP.......................141...
  • Page 10 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast Contents 7.9 Adjusting Control Parameters for Forwarding....................165 7.9.1 Establishing the Configuration Task.....................165 7.9.2 Configuring Control Parameters for Keeping the Forwarding State.............166 7.9.3 Configuring Control Parameters for Prune....................167 7.9.4 Configuring Join Information Filtering....................168 7.9.5 Configuring Neighbor Check........................169...
  • Page 11 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast Contents 8.4.6 Specifying the Logical RP Address for an SA Message...............204 8.4.7 Checking the Configuration........................205 8.5 Managing MSDP Peer Connections.......................206 8.5.1 Establishing the Configuration Task.....................206 8.5.2 Controlling the Sessions Between MSDP Peers..................207 8.5.3 Adjusting the interval for Retrying Setting up an MSDP Peer Connection..........207...
  • Page 12 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast Contents 9.4 Configuring the Multicast Routing Policy......................240 9.4.1 Establishing the Configuration Task.....................240 9.4.2 Configuring Longest Match of Multicast Route..................241 9.4.3 Checking the Configuration........................242 9.5 Configuring the Multicast Forwarding Scope....................242 9.5.1 Establish the Configuration Task......................242 9.5.2 Configuring the Multicast Forwarding Boundary.................243...
  • Page 13 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast Contents 10.6 Configuring the MLD Snooping Querier.....................264 10.6.1 Establishing the Configuration Task....................264 10.6.2 Enabling the MLD Snooping Querier....................265 10.6.3 Setting the MLD Snooping Query Interval and Response Interval.............266 10.6.4 Setting the Source IPv6 Address of MLD Query Messages...............267 10.6.5 Checking the Configuration.........................267...
  • Page 14: Ip Multicast Configuration Guide

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 1 IP Multicast Configuration Guide IP Multicast Configuration Guide About This Chapter The system supports the construction of multicast services through multicast protocols in IPv4 networks. In addition, the typical configuration solutions of multicast networks are provided.
  • Page 15: Ip Multicast Overview

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 1 IP Multicast Configuration Guide 1.1 IP Multicast Overview NOTE The S3700SI does not support L3 Multicast. Multicast is a Point to Multi-Point (P2MP) data transmission mode. During data transmission, multicast can ensure the security of information. Multicast consumes limited network bandwidth.
  • Page 16: Ipv4 Multicast Protocols

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 1 IP Multicast Configuration Guide Class D Address Range Description 232.0.0.0 to 232.255.255.255 Indicates Source-Specific Multicast (SSM) addresses. This is the default SSM group address scope, and is valid in the entire network.
  • Page 17: Typical Configuration Solution

    The configuration solution in this section functions only as a reference. The network environments are classified into two types, which need different configuration solutions. For details, refer to the Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast. NOTE Ensure that unicast routes work normally in the network before configuring IP multicast.
  • Page 18: Controlling Multicast Forwarding

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 1 IP Multicast Configuration Guide Small-Scale Network A small-scale network, such as a test network, is suitable to implement multicast data transmission in a Local Area Network (LAN), and does not interconnect with the Internet.
  • Page 19: Igmp Snooping Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration IGMP Snooping Configuration About This Chapter This chapter describes the procedure for configuring IGMP snooping and maintenance commands, and provides configuration examples. 2.1 IGMP Snooping Overview This section describes the functions and advantages of the IGMP snooping protocol.
  • Page 20: Igmp Snooping Overview

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration 2.1 IGMP Snooping Overview This section describes the functions and advantages of the IGMP snooping protocol. IGMP Snooping Function Internet Group Management Protocol Snooping (IGMP snooping) is a Layer 2 multicast protocol.
  • Page 21: Igmp Snooping Supported By The S3700

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration IGMP Snooping Advantages The IGMP snooping protocol forwards multicast information only to the specified receivers through Layer 2 multicast. It has the following advantages: Reducing broadcast packets on Layer 2 networks, and thus saving network bandwidth...
  • Page 22: Configuring Igmp Snooping

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration IGMP Snooping Proxying Configuring IGMP snooping proxying on an edge device can reduce the number of IGMP Report and Leave messages received by an upstream Layer 3 device and improve performance of the upstream Layer 3 device.
  • Page 23: Enabling Igmp Snooping

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration If IGMP snooping is configured on the Layer 2 device, multicast data of a known group is forwarded to specified receivers (paid subscribers) but not broadcast at the data link layer.
  • Page 24 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: igmp-snooping enable IGMP snooping is enabled globally. Step 3 Run: vlan vlan-id The VLAN view is displayed.
  • Page 25: Optional) Configuring A Static Router Interface

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration 2.3.3 (Optional) Configuring a Static Router Interface Context To control the multicast packets received by hosts, you can disable dynamic learning on interfaces. After the dynamic learning function is disabled on interfaces, you can only configure the static router interface and forwarding entries manually.
  • Page 26 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration dynamic. If a dynamic member interface has not received any IGMP Report messages for a multicast group before its aging time expires, the device deletes this member interface from the downstream interface list of the multicast forwarding entry for this group.
  • Page 27: Optional) Configuring Igmp Snooping Querier

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration The interface is disabled from learning forwarding entries. The interface can be an Ethernet interface, a GE interface, or an Eth-Trunk interface. Run: l2-multicast static-group { [ source-address source-ip-address ] group- address group-ip-address } vlan { { vlan-id1 [ to vlan-id2 ] } &<1-10>...
  • Page 28: Optional) Setting The Maximum Number Of Multicast Groups That Hosts Attached To An Interface Can Join

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration By default, the robustness variable is 2. Step 6 Run: igmp-snooping max-response-time max-response-time The maximum response time of IGMP Query messages is set. By default, the maximum response time of IGMP Query messages is 10 seconds.
  • Page 29: Optional) Configuring Multicast Policies

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration Step 3 Run: igmp-snooping group-limit group-limit vlan {vlan-id [ to vlan-id ] } &<1-10> The maximum number of multicast groups that hosts attached to the interface can join.
  • Page 30: Optional) Enabling The Discarding Of Unknown Multicast Data Packets In A Vlan

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration hosts belonging to the same multicast group, the Layer 3 device receives duplicated IGMP Report or Leave messages from these hosts. After IGMP Report and Leave message suppression is enable, the Layer 2 device sends only the...
  • Page 31: Optional) Configuring The S3700 To Actively Send Igmp Query Messages

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: vlan vlan-id The VLAN view is displayed. Step 3 Run: multicast drop-unknown Discarding unknown multicast data packets is enabled.
  • Page 32: Optional) Configuring The Igmp Snooping Proxy For The Vlan

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration Context Router-Alert is a mechanism used to identify protocol packets. The packets carrying Router- Alert options are delivered to the routing protocol layer for processing. By default, devices do not check whether packets carry Router-Alert options for the sake of compatibility, and send all IGMP messages to the upper layer for processing.
  • Page 33: Optional) Filtering Layer 2 Multicast Data On An Interface

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: vlan vlan-id The VLAN view is displayed. Step 3 Run: igmp-snooping proxy The IGMP snooping proxy is configured.
  • Page 34 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration Prerequisite The configuration of IGMP snooping in a VLAN is complete. Procedure Run the display igmp-snooping configuration command to check the configuration of IGMP snooping. Run the display igmp-snooping [ vlan vlan-id ] command to check the configuration of IGMP snooping in a VLAN.
  • Page 35: Configuring A Static Multicast Mac Address

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration IGMP Prompt Leave Disable IGMP Router Alert is Not Required IGMP Send Router Alert Enable IGMP Proxy Enable IGMP Report Suppress Disable IGMP Suppress Time is set to default 10 seconds...
  • Page 36 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration NOTE Only the S3700HI supports static multicast MAC addresses. Pre-configuration Tasks Before configuring a static multicast MAC address, complete the following task: Creating a VLAN and adding the interface that needs to be configured with a static multicast...
  • Page 37: Configuring Layer 2 Multicast Ssm Mapping

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration l The specified VLAN exists and the interfaces have been added to the VLAN. l The value of mac-address must be a multicast MAC address, which starts with 01.
  • Page 38: Optional) Configuring An Ssm Group Policy

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration Data Preparation To configure SSM mapping, you need the following data. Data (Optional) ACL rule (Optional) SSM policy Source addresses mapped to the multicast group addresses 2.5.2 (Optional) Configuring an SSM Group Policy...
  • Page 39: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration SSM mapping can be configured only when IGMP snooping is enabled globally and in the corresponding VLAN and when the IGMP messages version is set to IGMPv3 in the VLAN.
  • Page 40: Huawei Proprietary And Confidential

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration Example Run the display igmp-snooping port-info command, and you can view the IGMP snooping entries on the interface. For example: <Quidway> display igmp-snooping port-info vlan 10 -----------------------------------------------------------------------...
  • Page 41: Clearing Multicast Forwarding Entries

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration undo l2-multicast static-group [ source-address source-ip-address ] group-address group-ip-address1 to group-ip-address2 vlan vlan-id The interface is removed from multiple multicast groups in a batch. ----End 2.6.2 Clearing Multicast Forwarding Entries...
  • Page 42: Configuration Examples

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration Context CAUTION Debugging affects the performance of the system. So, after debugging, run the undo debugging igmp-snooping all command to disable it immediately. Procedure Run the debugging igmp-snooping { all | aps | event | fwd | general | leave [ basic-acl-...
  • Page 43 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration Figure 2-2 Networking diagram for configuring VLAN-based IGMP snooping Multicast source DHCP server IP/MPLS core Eth0/0/1 Switch Eth0/0/2 VLAN3 Host3 Host4 Host5 Configuration Roadmap The configuration roadmap is as follows: Create a VLAN and add interfaces to the VLAN.
  • Page 44 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration [Switch-Ethernet0/0/2] port hybrid tagged vlan 3 [Switch-Ethernet0/0/2] quit Step 2 Enable IGMP snooping. # Enable IGMP snooping globally. [Switch] igmp-snooping enable # Enable IGMP snooping in VLAN 3.
  • Page 45: Example For Configuring Igmp Snooping Ssm Mapping

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration # View the multicast forwarding table. [Switch] display l2-multicast forwarding-table vlan 3 VLAN ID : 3, Forwarding Mode : IP -------------------------------------------------------------------- (Source, Group) Interface Out-Vlan -------------------------------------------------------------------- Router-port Ethernet0/0/1 (*, 225.1.1.1)
  • Page 46 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration Figure 2-3 Networking diagram for configuring IGMP snooping SSM mapping Source 2 10.1.1.2 Internet/ Source 1 Intranet 10.1.1.1 RouterA Eth0/0/1 Swtich Eth0/0/2 SwitchA SSM Mapping VLAN10 Host1...
  • Page 47 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration [SwitchA-Ethernet0/0/1] port hybrid untagged vlan 10 [SwitchA-Ethernet0/0/1] quit [SwitchA] interface ethernet 0/0/2 [SwitchA-Ethernet0/0/2] port hybrid pvid vlan 10 [SwitchA-Ethernet0/0/2] port hybrid untagged vlan 10 [SwitchA-Ethernet0/0/2] quit Step 2 Enable global IGMP snooping and IGMP snooping in the VLAN.
  • Page 48 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 2 IGMP Snooping Configuration Configuration Files Configuration file of Switch A sysname SwitchA vlan batch 10 igmp-snooping enable acl number 2008 rule 5 permit source 224.1.1.1 0 vlan 10 igmp-snooping enable...
  • Page 49: Multicast Vlan Replication Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Multicast VLAN Replication Configuration About This Chapter This chapter describes the procedure for configuring multicast VLAN replication and maintenance commands, and provides configuration examples. 3.1 Multicast VLAN Replication Overview After multicast VLAN replication is configured on a switch, the upstream router only needs to transmit multicast data to a multicast VLAN.
  • Page 50: Multicast Vlan Replication Overview

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration 3.1 Multicast VLAN Replication Overview After multicast VLAN replication is configured on a switch, the upstream router only needs to transmit multicast data to a multicast VLAN. This function saves bandwidth because the upstream router does not need to send a copy of multicast data to each user VLAN.
  • Page 51 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Figure 3-2 shows multicast data transmission after multicast VLAN replication is configured. The router only needs to copy multicast data for the multicast VLAN and sends the data to the switch.
  • Page 52: Configuring Multicast Vlan Replication Based On User Vlans

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Figure 3-3 Multicast data transmission before and after multicast VLAN replication is configured on interfaces Multicast Packet Multicast Packet Multicast VLAN 2 Multicast VLAN 2 Multicast VLAN 3...
  • Page 53: Configuring Multicast Vlan Replication Based On User Vlans

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Pre-configuration Tasks Before configuring multicast VLAN replication based on user VLANs, complete the following tasks: Connecting interfaces and setting physical parameters for the interfaces to ensure that the...
  • Page 54: Adding Interfaces To Vlans

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration The vlan-id1 and vlan-id2 parameters specify user VLAN IDs. The value of vlan-id2 must be greater than the value of vlan-id1. NOTE The user VLANs specified in the command must be existing VLANs enabled with IGMP snooping and cannot be multicast VLANs or user VLANs of another multicast VLAN.
  • Page 55: Configuring Multicast Vlan Replication Based On Interfaces

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration <Quidway> display multicast-vlan vlan 3 Multicast-vlan User-vlan Number IGMP snooping state : Enable snooping state : Disable User-vlan Snooping-state ----------------------------------------------- IGMP Enable /MLD Disable IGMP Enable /MLD Disable Run the display user-vlan vlan [ vlan-id ] command to view information about user VLANs.
  • Page 56: Creating A Multicast Vlan

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Data Types and numbers of interfaces 3.4.2 Creating a Multicast VLAN Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: vlan vlan-id A VLAN is created and the VLAN view is displayed.
  • Page 57: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Add a network-side interface to a multicast VLAN. Run the interface interface-type interface-number command to enter the network-side interface view.
  • Page 58: Enabling A User Vlan To Be Added To Multiple Multicast Vlans

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Applicable Environment In many-to-one mode, a user VLAN can be added to only one multicast VLAN and users in the user VLAN can receive programs of only one multicast group. Many-to-many multicast VLAN allows you to add a user VLAN to multiple multicast VLANs and specify multiple multicast groups for users in the user VLAN.
  • Page 59: Adding A User Vlan To Multiple Multicast Vlans

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration IGMP snooping is enabled globally. Step 3 Run: vlan vlan-id A user VLAN is created and its view is displayed. Step 4 Run: igmp-snooping enable IGMP snooping is enabled in the user VLAN.
  • Page 60: Optional) Configuring A Static Flow In A Multicast Vlan

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Before adding the user VLAN to multiple multicast VLANs, run the multicast flow-trigger enable command in the user VLAN view to enable it to be added to multiple multicast VLANs.
  • Page 61: Configuration Examples

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Procedure Run the display multicast static-flow [ mvlan vlan-id ] command to view the static flow in a multicast VLAN. ----End Example # Run the display multicast static-flow [ mvlan vlan-id ] command to view the static flow in multicast VLAN 10.
  • Page 62 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Figure 3-4 Networking diagram for configuring multicast VLAN replication based on user VLANs GE1/0/0 RouterA Source VLAN10 Eth0/0/1 SwitchA Eth0/0/4 Eth0/0/2 Eth0/0/3 VLAN300 VLAN100 VLAN200 HostB...
  • Page 63 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration [SwitchA] vlan 10 [SwitchA-vlan10] igmp-snooping enable [SwitchA-vlan10] multicast-vlan enable [SwitchA-vlan10] quit Step 3 Create user VLANs and enable IGMP snooping in the user VLANs. [SwitchA] vlan 100...
  • Page 64: Example For Configuring Multicast Vlan Replication Based On Interfaces

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration sysname SwitchA vlan batch 10 100 200 300 igmp-snooping enable vlan 10 igmp-snooping enable multicast-vlan enable multicast-vlan user-vlan 100 200 300 vlan 100 igmp-snooping enable vlan 200...
  • Page 65 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Figure 3-5 Networking diagram for configuring multicast VLAN replication based on interfaces Router GE1/0/0 Source GE0/0/1 Ethernet0/0/2 Ethernet0/0/3 SwitchA ISP1 ISP2 VLAN10 VLAN10 Receiver Receiver HostB...
  • Page 66 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration [SwitchA-vlan2] igmp-snooping enable [SwitchA-vlan2] quit [SwitchA] vlan 3 [SwitchA-vlan3] igmp-snooping enable [SwitchA-vlan3] quit Step 2 Create user VLAN 10. [Switch] vlan batch 10 Step 3 Bind the user VLAN to multicast VLANs on Eth 0/0/2 and Eth 0/0/3.
  • Page 67: Example For Configuring Many-To-Many Multicast Vlans

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration igmp-snooping enable interface Ethernet0/0/2 port hybrid pvid vlan 10 port hybrid untagged vlan 10 l2-multicast-bind vlan 10 mvlan 2 interface Ethernet0/0/3 port hybrid pvid vlan 10...
  • Page 68 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Enable IGMP snooping in the system view. Create multicast VLANs and enable IGMP snooping in the multicast VLAN. Create a user VLAN and enable IGMP snooping in the user VLAN. Enable the triggering of the multicast flow in the user VLAN.
  • Page 69: Configuration File

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration [Switch-GigabitEthernet0/0/2] port hybrid untagged vlan 10 [Switch-GigabitEthernet0/0/2] quit # Add Eth 0/0/3 to user VLAN 100. [Switch] interface ethernet 0/0/3 [Switch-Ethernet0/0/3] port hybrid pvid vlan 100...
  • Page 70 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration port hybrid untagged vlan 100 interface GigabitEthernet0/0/1 port hybrid pvid vlan 20 port hybrid untagged vlan 20 interface GigabitEthernet0/0/2 port hybrid pvid vlan 10 port hybrid untagged vlan 10...
  • Page 71: Controllable Multicast Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 4 Controllable Multicast Configuration Controllable Multicast Configuration About This Chapter This chapter describes the principle of controllable multicast and procedures for configuring controllable multicast. 4.1 Overview of Controllable Multicast 4.2 Basic Principle 4.3 Configuring Controllable Multicast...
  • Page 72: Overview Of Controllable Multicast

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 4 Controllable Multicast Configuration 4.1 Overview of Controllable Multicast Traditional multicast services are uncontrollable. Users running traditional multicast need to send IGMP Report messages to join related multicast groups, and then receive multicast packets of the groups.
  • Page 73: Configuring Controllable Multicast

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 4 Controllable Multicast Configuration G4. A multicast group can be contained in several multicast group lists. For example, G3 is contained in L1 and L2. Multicast Profile A multicast profile is a set of multicast group lists, and defines the frame of users' rights to join related multicast groups.
  • Page 74: Configuring A Multicast Group

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 4 Controllable Multicast Configuration Data Name and IP address of a multicast group Name of a multicast list Name of a multicast profile IDs of the user VLANs that apply multicast profiles 4.3.2 Configuring a Multicast Group...
  • Page 75: Configuring A Multicast Profile

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 4 Controllable Multicast Configuration The BTV view is displayed. Step 3 Run: multicast-list list-name A multicast group list is created and the view of the multicast group list is displayed. Step 4 Run: add multicast-group { name group-name | index start-index to end-index } A multicast group is added to the multicast group list.
  • Page 76: Applying A Multicast Profile To A Vlan

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 4 Controllable Multicast Configuration multicast-preview minutes minutes Set the period for a user to preview a multicast group each time. Step 8 Run: multicast-preview times times Set the number of times for a user to preview a multicast group each day.
  • Page 77: Configuration Example

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 4 Controllable Multicast Configuration Step 4 Run the display multicast-profile-apply command to information about a VLAN where a multicast profile is applied. ----End 4.4 Configuration Example This section provides configuration examples of controllable multicast.
  • Page 78: Configuration Procedure

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 4 Controllable Multicast Configuration Configure user VLANs. Configure IGMP snooping. Configure controllable multicast. – Two multicast group lists L1 (G1, G2) and L2 (G3, G4) – Two multicast profiles P1 and P2...
  • Page 79 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 4 Controllable Multicast Configuration # Apply multicast profiles to VLANs. [Switch] vlan 1 [Switch-vlan1] attach multicast-profile P1 [Switch-vlan1] quit [Switch] vlan 2 [Switch-vlan2] attach multicast-profile P1 [Switch-vlan2] quit [Switch] vlan 3...
  • Page 80 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 4 Controllable Multicast Configuration Configuration Files sysname Switch vlan batch 1 to 4 igmp-snooping enable multicast-group G1 ip-address 225.0.0.1 multicast-group G2 ip-address 225.0.0.2 multicast-group G3 ip-address 225.0.0.3 multicast-group G4 ip-address 225.0.0.4...
  • Page 81: Igmp Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration IGMP Configuration About This Chapter This chapter describes the procedure for configuring IGMP and commands for maintaining IGMP, and provides configuration examples. 5.1 Introduction to IGMP This section describes the principle of IGMP.
  • Page 82: Introduction To Igmp

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration 5.1 Introduction to IGMP This section describes the principle of IGMP. NOTE The S3700SI does not support IGMP. In the TCP/IP protocol suite, the Internet Group Management Protocol (IGMP) manages IPv4 multicast members.
  • Page 83: Configuring Basic Igmp Functions

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration You can determine whether to set the Router-Alert option in the IGMP messages to be sent and whether the received IGMP messages must contain the Router-Alert option. IGMP Query Controller For IGMPv1, you can set the interval for sending General Query messages and robustness variable.
  • Page 84: Enabling Ip Multicast

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration IGMP needs to be enabled on the VLANIF interface that is connected to the host. The matching IGMP version needs to be configured on the S3700 and host because the IGMP messages vary according to version.
  • Page 85: Enabling The Igmp Function

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration Step 2 Run: multicast routing-enable IP multicast routing is enabled. By default, the IP multicast routing function is disabled on an S3700 ----End 5.3.3 Enabling the IGMP Function...
  • Page 86: Optional) Configuring A Static Igmp Group

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration The interface view is displayed. The S3700 uses this interface to communicate with hosts. On the S3700, VLANIF interfaces and loopback interfaces support IGMP. Step 3 Run: igmp version { 1 | 2 | 3 } The IGMP version is specified on the interface.
  • Page 87: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration interface to filter the received messages. In this case, the range of groups that the interface serves can be limited. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 88: Setting The Parameters Of Igmp Features

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration IGMP state: up IGMP group policy: none IGMP limit: - Value of query interval for IGMP (negotiated): - Value of query interval for IGMP (configured): 60 s Value of other querier timeout for IGMP: - Value of maximum query response time for IGMP: 10 s Querier for IGMP: 100.0.0.3 (this router)
  • Page 89: Configuring Igmp Message Options

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration Pre-configuration Tasks Before configuring IGMP message options and timers, complete the following tasks: Configuring the unicast routing protocol to make the IP routes of nodes be reachable 5.3 Configuring Basic IGMP Functions Data Preparation To configure IGMP message options and related timers, you need the following data.
  • Page 90: Configuring The Igmpv1 Querier

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration Run: system-view The system view is displayed. Run: igmp The IGMP view is displayed. Run: require-router-alert The S3700 is configured to ignore the IGMP messages that do not contain the Router- Alert option.
  • Page 91 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration Context The IGMP querier can be configured globally or on an interface. The global configuration is valid on each interface. The configuration on an interface is valid only for the specific interface. The configuration on an interface takes precedence over the global configuration.
  • Page 92: Configuring The Igmpv2 Or Igmpv3 Querier

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration Run: igmp robust-count robust-value The IGMP robustness variable is set. When the S3700 starts, the S3700 sends General Query messages robust-value times. The interval between the messages is 1/4 of the interval for sending IGMP General Query messages.
  • Page 93 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration General Query messages is 1/4 of the interval for sending IGMP General Query messages. – When receiving a Leave message, the S3700 sends the IGMP Group-Specific Query messages for the time specified by the value of the robustness variable at the interval that you set.
  • Page 94: Configuring Igmp Prompt Leave

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration – When receiving a Leave message, the S3700 sends IGMP Group-Specific Query messages for the time specified by the value of the robustness variable at the interval that you set.
  • Page 95: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed. The S3700 uses this interface to communicate with hosts. On the S3700, VLANIF interfaces and loopback interfaces support IGMP.
  • Page 96: Configuring Ssm Mapping

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration <Quidway> display igmp group interface vlanif 3 static Static join group information Total 2 entries Specified interface state:UP Total 2 entries matched Group Address Source Address Expires 232.1.1.1 10.0.0.1...
  • Page 97: Enabling Ssm Mapping

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration 5.5.2 Enabling SSM Mapping Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed. The S3700 uses this interface to communicate with hosts. On the S3700, VLANIF interfaces and loopback interfaces support IGMP.
  • Page 98: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration l group-address { mask | mask-length }: specifies the group address and mask. l source-address: specifies the address of the source mapping the SSM group. ----End 5.5.4 Checking the Configuration Prerequisite The configuration of SSM mapping is complete.
  • Page 99: Monitoring The Running Status Of Igmp

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration Context CAUTION The IGMP group that an interface dynamically joins is deleted after you run the reset igmp group command. Receivers may not receive multicast information normally. Therefore, confirm the action before run the command.
  • Page 100: Configuration Examples

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration Context CAUTION Debugging affects the performance of the system. So, after debugging, run the undo debugging all command to disable it immediately. Procedure Run the debugging igmp { all | event | leave [ basic-acl-number ] | report [ advanced- acl-number ] | query [ basic-acl-number ] | timer } command to enable the debugging of IGMP.
  • Page 101 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration Figure 5-1 Networking diagram for configuring basic IGMP functions Ethernet HostA SwitchA Receiver Eth0/0/1 Eth0/0/2 HostB SwitchB Eth0/0/1 Leaf network Eth0/0/2 HostC PIM Network SwitchC Receiver Eth0/0/1 Eth0/0/2...
  • Page 102 For details on how to configure IP addresses of interfaces, see Configuring IP Addresses for Interfaces in the Quidway S3700 Series Ethernet Switches Configuration Guide - Basic Configurations. For details on how to configure OSPF, see OSPF Configuration in the Quidway S3700 Series Ethernet Switches Configuration Guide - IP Routing.
  • Page 103 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration A, the downstream interface is VLANIF 10, and the protocol type is STATIC, you can infer that VLANIF 10 is added to the multicast group 225.1.1.1 statically. [SwitchA] display igmp routing-table...
  • Page 104: Example For Configuring Ssm Mapping

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration ospf 1 area 0.0.0.0 network 10.110.2.0 0.0.0.255 network 192.168.2.0 0.0.0.255 return Configuration file of Switch C sysname SwitchC vlan batch 30 31 multicast routing-enable interface Vlanif30 ip address 10.110.3.2 255.255.255.0...
  • Page 105 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration Figure 5-2 Networking of the SSM mapping configuration 133.133.2.1/24 133.133.3.1/24 SwitchB SwitchC Eth0/0/3 Eth0/0/3 Eth0/0/1 Eth0/0/1 Eth0/0/2 Eth0/0/2 PIM-SM Receiver 133.133.1.1/24 Eth0/0/2 Eth0/0/2 133.133.4.1/24 Eth0/0/1 Eth0/0/1 Eth0/0/3 Eth0/0/3...
  • Page 106 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration Procedure Step 1 Create VLANs and add interfaces to the VLANs. Step 2 Configure the IP address of each VLANIF and the unicast routing protocol according to Figure 5-2.
  • Page 107 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration Uptime: 00:01:52 Expires: 00:00:18 Last reporter: 133.133.4.1 Last-member-queryCounter: 0 Last-member-query-timer-expiry: off Group mode: exclude Version1-host-present-timer-expiry: off Version2-host-present-timer-expiry: 00:00:17 # Run the display pim routing-table command to view the PIM-SM multicast routing table on a switch.
  • Page 108 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration interface Ethernet0/0/2 port hybrid tagged vlan 20 interface Ethernet0/0/3 port hybrid tagged vlan 30 ospf 1 area 0.0.0.0 network 133.133.1.0 0.0.0.255 network 192.168.1.0 0.0.0.255 network 192.168.4.0 0.0.0.255 ssm-policy 2000...
  • Page 109 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration rule 5 permit source 232.1.1.0 0.0.0.255 interface Vlanif12 ip address 133.133.3.2 255.255.255.0 pim sm interface Vlanif21 ip address 192.168.3.1 255.255.255.0 pim sm interface Vlanif31 ip address 192.168.2.2 255.255.255.0...
  • Page 110 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 5 IGMP Configuration network 192.168.4.0 0.0.0.255 c-Bsr vlanif30 c-rp vlanif30 ssm-policy 2000 acl number 2000 rule 5 permit source 232.1.1.0 0.0.0.255 igmp ssm-mapping 232.1.1.0 255.255.255.0 133.133.1.1 ssm-mapping 232.1.1.0 255.255.255.0 133.133.3.1 return...
  • Page 111: Pim-Dm (Ipv4) Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration PIM-DM (IPv4) Configuration About This Chapter The PIM protocol is used to implement multicast routing and data forwarding inside an AS. The PIM-DM protocol is a multicast routing protocol of dense node. It is applicable to a small-scale network with densely-distributed members.
  • Page 112 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration can enable the State-Refresh function. The multicast device then sends State-Refresh messages periodically to refresh the prune state of the interface and maintain the SPT. 6.8 Adjusting Control Parameters for Graft...
  • Page 113: Pim-Dm Overview

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration 6.1 PIM-DM Overview In the network where multicast group members are densely distributed and each network segment may have multicast group members, PIM-DM builds a unidirectional and loop-free SPT from the multicast source to the group member through periodical flooding and pruning.
  • Page 114: Pim-Dm Features Supported By The S3700

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration The Protocol Independent Multicast-Sparse Mode (PIM-SM) is applicable to a large-scale network with sparsely-distributed members. For details about PIM-SM, see PIM-SM (IPv4) Configuration. 6.2 PIM-DM Features Supported by the S3700 The system can work normally with default PIM-DM parameters.
  • Page 115: Configuring Basic Pim-Dm Functions

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Adjusting Control Parameters for Assert You can set the period for a switch to retain the Assert state. The switch that fails in the election prevents the downstream interface from forwarding multicast data during this period. After the period expires, the downstream interface continues to forward multicast data.
  • Page 116: Enabling Pim-Dm

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: multicast routing-enable IPv4 multicast routing is enabled in the public network. ----End 6.3.3 Enabling PIM-DM An interface can set up PIM neighbor relationship with other devices after PIM-DM is enabled on it.
  • Page 117: Adjusting Control Parameters Of A Multicast Source

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Procedure Run the command display pim interface [ interface-type interface-number | up | down ] [ verbose ] to check PIM on interfaces of the public network.
  • Page 118: Configuring The Lifetime Of A Source

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Applicable Environment This configuration is applicable to all PIM-DM networks. A PIM switch checks the passing multicast data. By checking whether the data matches the filtering rule, the switch determines whether to forward the data. In this case, you can regard the switch as the filter of the multicast data.
  • Page 119: Configuring Filtering Rules Based On Source Addresses

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration source-lifetime interval The lifetime of a source is set. If a switch does not receive any (S, G) packet in the lifetime of the source, the switch considers that the source stops sending multicast data to G and the (S, G) entry becomes invalid.
  • Page 120: Adjusting Control Parameters For Maintaining Neighbor Relationships

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration interface { interface-type interface-number | register } | outgoing-interface { include | exclude | match } { interface-type interface-number | register | none } | mode { sm | ssm } | flags flag-value | fsm ]...
  • Page 121: Configuring The Interval For Sending Hello Messages

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Data Timeout period of the neighbor Interval for sending Hello messages Maximum delay for triggering Hello messages Number or name of the ACL used to filter PIM neighbors 6.5.2 Configuring the Interval for Sending Hello Messages...
  • Page 122: Configuring The Timeout Period Of A Neighbor

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Run: pim timer hello interval The interval for sending Hello messages is set. Run: pim triggered-hello-delay interval The maximum delay for triggering Hello messages is set. After the maximum delay is set, the conflict caused by multiple PIM switchs sending Hello messages simultaneously is prevented.
  • Page 123: Refusing To Receive The Hello Message Without The Generation Id Option

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Run: interface interface-type interface-number The interface view is displayed. The interface can be a VLANIF interface, or an Loopback interface. Run: pim hello-option holdtime interval The timeout period during which the neighbor is reachable is set.
  • Page 124: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Context To prevent some switch from being involved in PIM, filtering PIM neighbors is required. Do as follows on the switch running PIM-DM: Procedure Step 1 Run: system-view The system view is displayed.
  • Page 125: Configuring The Period For An Interface To Keep The Prune State

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Applicable Environment When the last member leaves its group, the switch sends a Prune message through an upstream interface. After receiving the Prune message, the upstream switch performs the prune action and stops sending multicast packets to this network segment.
  • Page 126: Configuring The Delay For Transmitting Prune Messages In A Lan

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration The system view is displayed. Run: The PIM view is displayed. Run: holdtime join-prune interval The period during which the downstream interface is in the Prune state is set.
  • Page 127: Configuring The Interval For Overriding The Prune Action

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Run: The PIM view is displayed. Run: hello-option lan-delay interval The delay for transmitting messages in a LAN is set. Configuration on an Interface Run: system-view The system view is displayed.
  • Page 128: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration data, it needs to send a Join message to the upstream switch in the override-interval period. Configuration on an Interface Run: system-view The system view is displayed.
  • Page 129: Adjusting Control Parameters For State-Refresh

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration 6.7 Adjusting Control Parameters for State-Refresh In a PIM-DM network, the periodic flooding-pruning wastes lots of network resources. To prevent the pruned interface from forwarding messages because the prune timer times out, you can enable the State-Refresh function.
  • Page 130: Configuring The Interval For Sending State-Refresh Messages

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Context Do as follows on all the switchs in the PIM-DM domain. NOTE By default, PIM-DM State-Refresh is enabled on the interface. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 131: Configuring The Period For Receiving The Next State-Refresh Message

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration state-refresh-interval interval The interval for sending PIM State-Refresh messages is set. NOTE l This command is applicable to the first-hop switch connecting with the multicast source. l The interval for sending PIM State-Refresh messages should be shorter than the timeout period for keeping the Prune state.
  • Page 132: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: The PIM view is displayed. Step 3 Run: state-refresh-ttl ttl-value The TTL value carried in the State-Refresh message is set.
  • Page 133: Adjusting Control Parameters For Graft

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration 6.8 Adjusting Control Parameters for Graft To make new members in a network to quickly receive multicast data, a multicast device actively sends a Graft message through an upstream interface, requesting the upstream device to forward multicast data to this network segment.
  • Page 134: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Context Do as follows on the PIM-DM switch: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed.
  • Page 135: Adjusting Control Parameters For Assert

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration – display pim routing-table [ group-address [ mask { group-mask-length | group- mask } ] | source-address [ mask { source-mask-length | source-mask } ] | incoming-...
  • Page 136 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Context Do as follows on the PIM-DM switch: NOTE The configuration involves the following two cases: l Global configuration: It is valid on each interface. l Configuration on an interface: The configuration on an interface takes precedence over the global configuration.
  • Page 137: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration 6.9.3 Checking the Configuration After the control parameters for assert are adjusted, you can check information about the PIM interface and the PIM routing table and statistics about PIM control messages through commands.
  • Page 138: Configuring Pim Silent

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration To prevent the preceding case, you can set the status of the interface to PIM silent. When the interface is in the PIM silent state, the interface is prevented from receiving and forwarding any PIM packet.
  • Page 139: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed. The interface can be a VLANIF interface, or an Loopback interface.
  • Page 140: Maintaining Pim-Dm (Ipv4)

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration PIM generation ID: - PIM require-GenID: disabled PIM hello hold interval: 105 s PIM assert hold interval: 180 s PIM triggered hello delay: 5 s PIM J/P interval: 60 s...
  • Page 141: Debugging Pim

    When a PIM fault occurs, run the following debugging command in the user view to debug PIM and locate the fault. For more information about debugging commands, refer to the Quidway S3700 Series Ethernet Switches Debugging Reference. Procedure Run the debugging pim all command in the user view to enable all the debugging of PIM.
  • Page 142: Configuration Example

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration Run the debugging pim assert [ advanced-acl-number | [ receive | send ] ] command in the user view to enable the debugging of PIM Assert. Run the debugging pim join-prune [ advanced-acl-number | [ receive | send ] ] command in the user view to enable the debugging of PIM Join/Prune.
  • Page 143 For details on how to configure IP addresses of interfaces, see Configuring IP Addresses for Interfaces in the Quidway S3700 Series Ethernet Switches Configuration Guide - Basic Configuration. For details on how to configure OSPF, see OSPF Configuration in the Quidway S3700 Series Ethernet Switches Configuration Guide - IP Routing.
  • Page 144 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration [SwitchA-Vlanif101] pim dm [SwitchA-Vlanif101] quit Step 3 Configure the interfaces connected to hosts to be PIM silent and configure IGMP on the interface. # On Switch A, configure the vlanif interfaces connected to hosts to be PIM silent, and configure IGMP on the interface.
  • Page 145 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration UpTime: 00:00:44 Upstream interface: Vlanif100 Upstream neighbor: 192.168.1.2 RPF prime neighbor: 192.168.1.2 Downstream interface(s) information: Total number of downstreams: 1 1: Vlanif101 Protocol: pim-dm, UpTime: 00:00:44, Expires: never...
  • Page 146 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration multicast routing-enable vlan batch 200 102 interface Vlanif102 ip address 10.110.2.1 255.255.255.0 pim dm igmp enable interface Vlanif200 ip address 192.168.2.1 255.255.255.0 pim dm interface Ethernet0/0/1 port hybrid pvid vlan 200...
  • Page 147 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 6 PIM-DM (IPv4) Configuration pim dm interface Vlanif 103 ip address 10.110.5.1 255.255.255.0 pim dm interface Vlanif 200 ip address 192.168.2.2 255.255.255.0 pim dm interface Vlanif 300 ip address 192.168.3.2 255.255.255.0...
  • Page 148: Huawei Proprietary And Confidential

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration PIM-SM (IPv4) Configuration About This Chapter The PIM protocol is used to implement multicast routing and data forwarding inside an AS. The PIM-SM protocol is a multicast routing protocol of sparse node. It is applicable to a large-scale network with sparsely-distributed members.
  • Page 149 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Multicast devices establish PIM neighbor relationships and negotiate various control parameters by exchanging Hello messages. You can adjust the parameters carried in Hello messages as required. If there is no special requirement, adopt default values.
  • Page 150: Pim-Sm Overview

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration 7.1 PIM-SM Overview In a PIM-SM network, group members are sparsely distributed and almost all the network segments do not have group members resided. Therefore, an RP is a forwarding core of the PIM- SM network.
  • Page 151: Pim-Sm Features Supported By The S3700

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration NOTE l The Protocol Independent Multicast Dense Mode (PIM-DM) is applicable to a small-scale network with densely distributed members. l PIM-SM can be used to construct the Any-Source Multicast (ASM) and Source-Specific Multicast (SSM) models.
  • Page 152: Configuring Basic Pim-Sm Functions

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Time for overriding the prune action Filtering Join information in the Join/Prune messages Neighbor check function: checks whether the Join/Prune and Assert messages are sent to or received from a PIM neighbor. If not, these messages are not processed.
  • Page 153: Enabling Ip Multicast Routing

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration If G is not in the SSM group address range, the ASM model is used to provide multicast services. In the PIM-SM network, the ASM model supports the following methods to obtain an RP. You can select the method as required.
  • Page 154: Enabling Basic Pim-Sm Functions

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: multicast routing-enable IP multicast routing is enabled in the public network instance. ----End 7.3.3 Enabling Basic PIM-SM Functions An interface can set up PIM neighbor relationship with other devices after PIM-SM is enabled on it.
  • Page 155: Optional) Configuring A Dynamic Rp

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Context CAUTION When the static RP and the dynamic RP are configured in the PIM-SM at the same time, faults may occur in the network. So, confirm the action before you run the command. If you want to use only the dynamic RP in the PIM-SM network, skip the configuration.
  • Page 156 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Step 2 Run: The PIM view is displayed. Step 3 Run: c-rp interface-type interface-number [ group-policy basic-acl-number | priority priority | holdtime hold-interval | advertisement-interval adv-interval ] * The C-RP is configured.
  • Page 157: Optional) Configuring The Ssm Group Address Range

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration It is recommended to enable BSR message fragmentation on all devices on the network because BSR message fragmentation can solve the problem faced by IP fragmentation that all fragments become unavailable due to loss of fragment information.
  • Page 158: Adjusting Control Parameters For A Multicast Source

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Procedure Run the display pim interface [ interface-type interface-number | up | down ] [ verbose ] command to check PIM on an interface. Run the display pim neighbor [ neighbor-address | interface interface-type interface- number | verbose ] command to check a PIM neighbor.
  • Page 159: Configuring The Lifetime Of A Source

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Pre-configuration Tasks Before adjusting control parameters for a multicast source, complete the following tasks: Configuring a certain unicast routing protocol Configuring Basic PIM-SM Functions Data Preparation To adjust control parameters for a multicast source, you need the following data.
  • Page 160: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Context Do as follows on the switch: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: The PIM view is displayed. Step 3 Run: source-policy acl-number A filter is configured.
  • Page 161: Establishing The Configuration Task

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration 7.5.1 Establishing the Configuration Task If dynamic RP is used, after basic functions of PIM-SM are configured, you can adjust parameters of the C-RP and C-BSR, configure a BSR boundary, and set valid address ranges for BSRs and C-RPs.
  • Page 162: Adjusting C-Rp Parameters

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration 7.5.2 Adjusting C-RP Parameters C-RPs periodically send Advertisement messages to a BSR. The Advertisement messages carry C-RP priorities. You can adjust the C-RP priority, the interval for sending Advertisement messages, and the holdtime of Advertisement messages on a device configured with the C-RP.
  • Page 163: Configuring The Bsr Boundary

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration NOTE You can re-set various parameters of a C-BSR. This configuration is optional. If there is no specific requirement, the default values of parameters are recommended. Procedure...
  • Page 164: Optional) Configuring The Bsr Address Range

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed. The interface can be a VLANIF interface, or an Loopback interface.
  • Page 165: Optional) Configuring The Range Of Valid C-Rp Addresses

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration 7.5.6 (Optional) Configuring the Range of Valid C-RP Addresses ACL-based policies can be set on all C-BSRs to filter C-RP addresses and addresses of the groups that the C-RPs serve. The BSR adds C-RP information to the RP-set only when the addresses are in the set legal address range.
  • Page 166: Configuring A Bsr Administrative Domain

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration 7.6 Configuring a BSR Administrative Domain A PIM-SM network can be divided into multiple BSR administrative domains and a global domain. This effectively reduces the load of a single BSR, and provides a special service for specific multicast groups.
  • Page 167: Enabling A Bsr Administrative Domain

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Data Preparation To configure a BSR administrative domain, you need the following data. Data Priority and hash mask length for electing a BSR in a BSR domain Priority and hash mask length of electing the global domain BSR 7.6.2 Enabling a BSR Administrative Domain...
  • Page 168: Adjusting C-Bsr Parameters

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed. The interface can be a VLANIF interface, or an Loopback interface.
  • Page 169: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration – hash-length hash-length: specifies the hash mask length of a C-BSR. – priority priority: specifies the priority of a C-BSR. Configuration in the Global Domain Run: system-view The system view is displayed.
  • Page 170: Configuring Control Parameters For Establishing The Neighbor Relationship

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration The switch can work normally by default. The S3700 allows the users to adjust the parameters as required. NOTE It is recommended to adopt the default value if there is no special requirement.
  • Page 171 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Procedure Global Configuration Run: system-view The system view is displayed. Run: The PIM view is displayed. Run: timer hello interval The interval for sending Hello messages is set.
  • Page 172: Configuring Control Parameters For Electing A Dr

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration By default, the switch handles the Hello message without the Generation option. ----End 7.7.3 Configuring Control Parameters for Electing a DR The control parameters for electing a DR can be set either globally or on an interface.
  • Page 173: Enabling The Function Of Tracking A Downstream Neighbor

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration On a shared network segment where all PIM switchs 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.
  • Page 174: Configuring Pim Neighbor Filtering

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration NOTE This command is only supported by the S3700HI. NOTE The function of tracking downstream neighbors cannot be implemented unless all the PIM switchs in the shared network segment are enabled with this function.
  • Page 175: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration The interface can be a VLANIF interface, or an Loopback interface. Step 3 Run: pim neighbor-policy basic-acl-number PIM neighbor filtering is configured. NOTE This command is only supported by the S3700HI.
  • Page 176: Configuring Pim-Sm Register Messages

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration The switch can work normally under the control of default values. The S3700 allows the users to adjust the parameters as required. NOTE It is recommended to adopt default values if there is no special requirement.
  • Page 177: Configuring Pim-Sm Register Suppression

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration The RP applies the policy to filter received Register messages. Step 4 Run: register-header-checksum The checksum is calculated only according to the header of a Register message.
  • Page 178: Adjusting Control Parameters For Forwarding

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration 7.9 Adjusting Control Parameters for Forwarding A multicast device sends Join messages upstream to require to forward multicast data and Prune messages upstream for requiring to stop forwarding multicast data. You can adjust control parameters for multicast data forwarding as required.
  • Page 179: Configuring Control Parameters For Keeping The Forwarding State

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Data Interval for sending Join messages Number or name of the ACL used to filter join information in the Join/Prune messages Whether neighbor check needs to be performed after Join/Prune message and Assert messages are sent or received 7.9.2 Configuring Control Parameters for Keeping the Forwarding...
  • Page 180: Configuring Control Parameters For Prune

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration The interface can be a VLANIF interface, or an Loopback interface. Run: pim timer join-prune interval The interval for sending Join/Prune messages is set. Run: pim holdtime join-prune interval The interval for holding the forwarding state of a downstream interface is set.
  • Page 181: Configuring Join Information Filtering

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration If a switch receives the Prune message through an upstream interface, this indicates that other downstream switchs exist in this LAN. If the switch still needs to receive multicast data of the group, the switch must send a Join message to the upstream switch within the override-interval.
  • Page 182: Configuring Neighbor Check

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration NOTE This command is only supported by the S3700HI. ----End 7.9.5 Configuring Neighbor Check If PIM neighbor check is enabled, a device checks whether the Join/Prune and Assert messages are sent to or received from PIM neighbors.
  • Page 183: Adjusting Control Parameters For Assert

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Procedure Run the display pim interface [ interface-type interface-number | up | down ] [ verbose ] command to check PIM on an interface. Run the display pim control-message counters [ message-type { assert | hello | join-...
  • Page 184: Configuring The Period For Keeping The Assert State

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Pre-configuration Tasks Before adjusting control parameters for assert, complete the following tasks: Configuring a certain unicast routing protocol Configuring Basic PIM-SM Functions Data Preparation To adjust control parameters for assert, you need the following data.
  • Page 185: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. The interface can be a VLANIF interface, or an Loopback interface.
  • Page 186: Configuring The Spt Switchover

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration 7.11 Configuring the SPT Switchover A high volume of multicast data traffic increases the load of an RP, and may result in a fault. To solve this problem, PIM-SM allows the RP or the DR at the group member side to trigger the SPT switchover when the rate of multicast packets is high.
  • Page 187: Optional) Configuring The Interval For Checking The Forwarding Rate Of Multicast Data

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Data Rate threshold that a leaf PIM switch switches packets from the RPT to the SPT Group filtering policy and sequence policy for the switchover from the RPT to the...
  • Page 188: Configuring Pim Bfd

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration interface { interface-type interface-number | register } | outgoing-interface { include | exclude | match } { interface-type interface-number | register | none } | mode { sm | ssm } | flags flag-value | fsm ]...
  • Page 189: Configuring Pim Bfd

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Data Preparation To configure PIM BFD, you need the following data. Data Minimum intervals for sending and receiving BFD detection messages, and local detection multiple 7.12.2 Configuring PIM BFD Enable PIM BFD on the devices that set up a PIM neighbor relationship.
  • Page 190: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed The interface must be a VLANIF interface.
  • Page 191: Monitoring The Running Status Of Pim-Sm

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Context CAUTION The statistics of PIM control messages on an interface cannot be restored after you clear it. So, confirm the action before you use the command.
  • Page 192: Debugging Pim

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration – display pim routing-table [ group-address [ mask { group-mask-length | group- mask } ] | source-address [ mask { source-mask-length | source-mask } ] | incoming-...
  • Page 193: Configuration Examples

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration 7.14 Configuration Examples Configuration examples are provided to show how to construct a basic PIM-SM network and configure basic functions of PIM-SM. 7.14.1 Example for Configuring the PIM-SM Network...
  • Page 194 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration Configuration Roadmap The ISP network connects to the Internet. The PIM-SM protocol is used to configure the multicast function, which facilitates service expansion. The ASM and SSM models provide multicast services.
  • Page 195 For details on how to configure IP addresses of interfaces, see IP Addresses Configuration in the Quidway S3700 Series Ethernet Switches Configuration Guide - IP Service. For details on how to configure OSPF, see OSPF Configuration in the Quidway S3700 Series Ethernet Switches Configuration Guide - IP Routing.
  • Page 196 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration # Set the range of SSM group addresses to 232.1.1.0/24 on all switches. The configurations of Switch B, Switch C, Switch D, and Switch E are the same as the configuration of Switch A, and are not provided here.
  • Page 197 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration static-rp 192.168.2.2 ssm-policy 2000 return Configuration file of Switch B sysname SwitchB multicast routing-enable vlan batch 102 300 acl number 2000 rule 5 permit source 232.1.1.0 0.0.0.255 interface Vlanif 102 ip address 10.110.2.1 255.255.255.0...
  • Page 198 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration port hybrid untagged vlan 102 interface Ethernet0/0/2 port hybrid pvid vlan 400 port hybrid untagged vlan 400 ospf 1 area 0.0.0.0 network 10.110.2.0 0.0.0.255 network 192.168.3.0 0.0.0.255 static-rp 192.168.2.2...
  • Page 199: Example For Configuring Pim Bfd

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration return Configuration file of Switch E sysname SwitchE vlan batch 100 300 400 500 multicast routing-enable acl number 2000 rule 5 permit source 232.1.1.0 0.0.0.255 acl number 2008 rule 5 permit source 225.1.1.0 0.0.0.255...
  • Page 200: Networking Requirements

    For details on how to configure IP addresses of interfaces, see IP Addresses Configuration in the Quidway S3700 Series Ethernet Switches Configuration Guide - IP Service. For details on Issue 01 (2011-10-26) Huawei Proprietary and Confidential Copyright ©...
  • Page 201 Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration how to configure OSPF, see OSPF Configuration in the Quidway S3700 Series Ethernet Switches Configuration Guide - IP Routing. Step 2 Enable BFD globally and configure PIM BFD in the interface view.
  • Page 202 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration # Run the display pim routing-table command to view the PLM routing table. SwitchC functions as the DR. The (S, G) and (*, G) entries exist. The displayed information is as follows:...
  • Page 203 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 7 PIM-SM (IPv4) Configuration network 10.1.2.0 0.0.0.255 return Issue 01 (2011-10-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 204: Msdp Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration MSDP Configuration About This Chapter The MSDP protocol is used to implement multicast routing and data forwarding between PIM- SM domains and anycast RP in a PIM-SM domain.
  • Page 205 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration obtain multicast source information. You can configure filtering rules for receiving SA Request messages on a specified remote MSDP peer. 8.8 Configuring the Filtering Rules for SA Messages By default, a device receives all SA messages that pass the RPF check, and forwards the SA messages to all MSDP peers.
  • Page 206: Msdp Overview

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration 8.1 MSDP Overview MSDP functions to set up an MSDP peer relationship between RPs in different PIM-SM domains. MSDP peers exchange (S, G) information by sending SA messages. In this manner, MSDP peers share multicast source information and hosts can receive multicast data from the multicast sources in another PIM-SM domain.
  • Page 207 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration PIM-SM Intra-Domain Anycast RP After anycast RP is applied to a PIM-SM domain, the multicast source registers with the nearest RP and receivers send Join messages to the nearest RP. This reduces the burden of a single RP, implements RP backup, and optimizes the forwarding path.
  • Page 208: Configuring Pim-Sm Inter-Domain Multicast

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Setting the TTL threshold can limit the transmission scope of a multicast data packet contained in an SA message. After receiving an SA message containing a multicast data packet, an MSDP peer checks the TTL value in the IP header of the multicast packet.
  • Page 209: Configuring Intra-As Msdp Peers

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration To ensure that SA messages transmitted between MSDP peers are not interrupted by RPF rules and to reduce redundant traffic, the following solutions are recommended: Add MSDP peers in the same AS to one Mesh Group.
  • Page 210: Configuring Inter-As Msdp Peers On Mbgp Peers

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration msdp MSDP is enabled in the public network instance and the MSDP view is displayed. Step 3 Run: peer peer-address connect-interface interface-type interface-number An MSDP peer connection is configured The parameters of the command are explained as follows: l peer-address: specifies the address of a remote MSDP peer.
  • Page 211: Configuring Static Rpf Peers

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Context Establish the MBGP peer relationship between two RPs of different ASs and do as follows on the MBGP peers: NOTE If the two RPs set up the BGP peer relationship, it is not necessary to set up the MBGP peer relationship between them.
  • Page 212: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Do as follows on two RPs of different ASs: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: msdp MSDP is enabled in the public network instance, and the MSDP view is displayed.
  • Page 213: Configuring An Anycast Rp In A Pim-Sm Domain

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Run the display msdp peer-status [ peer-address ] to check the detailed information about the statuses of the specified remote peers that establish the MSDP peer relationships with the local host.
  • Page 214: Configuring The Interface Address Of An Rp

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Configure the loopback interfaces on the switchs as C-RPs or configure the address of the loopback interface as a static RP on all switchs in the PIM-SM domain.
  • Page 215: Configuring A C-Rp

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Step 2 Run: interface loopback interface-number The loopback interface view is displayed. Multiple RPs can use the same IP address in a network. The RPs, therefore, are configured on the loopback interface.
  • Page 216: Statically Configuring An Rp

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration An interface is configured as a C-RP. ----End 8.4.4 Statically Configuring an RP To configure a static RP, you need to configure the addresses of the loopback interfaces as the RP addresses on all the devices in a PIM-SM domain.
  • Page 217: Specifying The Logical Rp Address For An Sa Message

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Step 2 Run: msdp MSDP is enabled in the public network instance, and the MSDP view is displayed. Step 3 Run: peer peer-address connect-interface interface-type interface-number An MSDP peer connection is created.
  • Page 218: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Context After receiving an SA message, an MSDP peer performs the RPF check on the message. If the remote RP address carried in the SA message is the same as the local RP address, the SA message is discarded.
  • Page 219: Managing Msdp Peer Connections

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration <Quidway> display msdp brief MSDP Peer Brief Information Configured Listen Connect Shutdown Down Peer's Address State Up/Down time SA Count Reset Count 2.2.2.2 00:10:17 Run the display pim routing-table command. If the RP information corresponding to the routing table is displayed, it means that the configuration succeeds.
  • Page 220: Controlling The Sessions Between Msdp Peers

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Data Address of a remote MSDP peer Interface type and interface number of the local switch 8.5.2 Controlling the Sessions Between MSDP Peers After the connection between MSDP peers is closed, the MSDP peers no longer exchange SA messages and do not retry to set up a new connection.
  • Page 221: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Context Do as follows on the switch on which the MSDP peer is created: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: msdp The MSDP view is displayed.
  • Page 222: Establishing The Configuration Task

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration 8.6.1 Establishing the Configuration Task After PIM-SM inter-domain multicast or anycast RP in a PIM-SM domain is configured, you can configure an SA cache as required. Applicable Environment By default, SA Cache is enabled on switchs on which MSDP peers are configured.
  • Page 223: Disabling The Sa Cache Function

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: msdp The MSDP view is displayed. Step 3 Run: peer peer-address sa-cache-maximum sa-limit The maximum number of (S, G) entries is set.
  • Page 224: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration 8.6.4 Checking the Configuration After the SA cache function is configured, you can run related commands to check brief and detailed information about MSDP peers. Procedure Run the display msdp sa-cache [ group-address | source-address | { 2-byte-as-number |...
  • Page 225: Configuring "Sending Sa Request Messages" On The Local Switch

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Applicable Environment The capacity of SA Cache on certain switchs is small. When these switchs need to receive multicast data, they cannot immediately obtain the valid (S, G) information and need to wait for the SA message sent by their MSDP peers in the next period.
  • Page 226: Optional) Configuring The Filtering Rules For Receiving Sa Request Messages

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: msdp The MSDP view is displayed. Step 3 Run: peer peer-address request-sa-enable Sending SA Request message is configured.
  • Page 227: Check The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration 8.7.4 Check the Configuration After "SA Request message sending" is configured, you can run related commands to check detailed information about MSDP peers and SA cache information. Procedure Run the display msdp peer-status [ peer-address ] command to check detailed information about the MSDP peer status.
  • Page 228: Setting Rules For Creating An Sa Message

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Applicable Environment By default, MSDP switchs receive all SA messages that pass the RPF check and forward them to all MSDP peers. To control of the transmission of SA messages among MSDP peers, users can configure various filtering rules by using the following methods: Setting the rules for filtering the multicast source of an SA message on the source RP.
  • Page 229: Setting Rules For Receiving An Sa Message

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration NOTE If the configuration is not done, an SA message created by the source RP contains the information of all local active sources. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 230: Setting Rules For Forwarding An Sa Message

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Step 3 Run: peer peer-address sa-policy import [ acl { advanced-acl-number The rules for filtering an SA message received from a remote MSDP peer are set. The parameters of the command are explained as follows: l peer-address: specifies the address of a remote MSDP peer.
  • Page 231: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration 8.8.5 Checking the Configuration After filtering rules for SA messages are configured, you can run related commands to check detailed information about MSDP peers and SA cache information.
  • Page 232: Configuring Msdp Authentication

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration (8.8.8.8, 225.0.0.200) Origin RP: 4.4.4.4 Pro: BGP, AS: 10 Uptime: 00:00:33, Expires: 00:05:27 (8.8.8.8, 225.0.0.201) Origin RP: 4.4.4.4 Pro: BGP, AS: 1.0 Uptime: 00:00:33, Expires: 00:05:27 (8.8.8.8, 225.0.0.202) Origin RP: 4.4.4.4...
  • Page 233: Configuring Msdp Md5 Authentication

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration 8.9.2 Configuring MSDP MD5 Authentication The MSDP peers must be configured with the same authentication password; otherwise, the TCP connection cannot be set up between MSDP peers and MSDP messages cannot be transmitted.
  • Page 234: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: msdp The MSDP view is displayed. Step 3 Run: peer peer-address keychain keychain-name MSDP Key-Chain authentication is configured.
  • Page 235: Maintaining Msdp

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Import policy: 3000 Export policy: 3002 Information about SA-Requests: Policy to accept SA-Request messages: 2000 Sending SA-Requests status: enable Minimum TTL to forward SA with encapsulated data: 10...
  • Page 236: Monitoring The Running Status Of Msdp

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Context CAUTION The (S, G) information in SA Cache cannot be restored after you clear it. So, confirm the action before you use the command. Procedure Run the reset msdp sa-cache [ group-address ] command in the user view to clear the entries in MSDP SA Cache.
  • Page 237: Configuration Examples

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Context CAUTION Debugging affects the performance of the system. So, after debugging, execute the undo debugging all command to disable it immediately. When an MSDP fault occurs, run the following debugging commands in the user view to debug MSDP and locate the fault.
  • Page 238 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Figure 8-1 Networking diagram for configuring basic MSDP functions AS200 AS100 Loopback0 Receiver 2.2.2.2/32 Loopback0 1.1.1.1/32 PIM-SM2 Eth0/0/1 SwitchA SwitchC Eth0/0/1 Eth0/0/1 Eth0/0/2 Eth0/0/2 Eth0/0/2 Eth0/0/2 Eth0/0/3 SwitchB...
  • Page 239 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration Enable multicast and PIM-SM on each interface, configure the boundary domain, and enable the IGMP function on the interfaces connected to hosts. Configure the CBSR and C-RP. Configure the RPs of PIM-SM1 and PIM-SM2 on the ASBR.
  • Page 240 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration # Enable multicast on Switch B and enable PIM-SM on each interface. The configurations of other switches are similar to the configuration of Switch B, and are not provided here.
  • Page 241 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration BGP local router ID : 1.1.1.1 Local AS number : 100 Total number of peers : 1 Peers in established state : 1 Peer MsgRcvd MsgSent OutQ Up/Down...
  • Page 242 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration # Run the display msdp peer-status command to view the details about MSDP peer relations between switches. The details displayed on Switch B are as follows: [SwitchB] display msdp peer-status MSDP Peer 192.168.2.2, AS 200...
  • Page 243 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration 1: vlanif300, Protocol: pim-sm, UpTime: 00:13:46, Expires:- (10.110.1.2, 225.1.1.1) RP: 2.2.2.2 Protocol: pim-sm, Flag: SPT MSDP ACT UpTime: 00:00:42 Upstream interface: vlanif200 Upstream neighbor: 192.168.2.1 RPF neighbor: 192.168.2.1...
  • Page 244 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration interface Vlanif100 ip address 192.168.1.2 255.255.255.0 pim sm interface Vlanif200 ip address 192.168.2.1 255.255.255.0 pim sm pim bsr-boundary interface LoopBack0 ip address 1.1.1.1 255.255.255.255 pim sm interface Ethernet0/0/1...
  • Page 245 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration interface Ethernet0/0/3 port hybrid pvid vlan 400 port hybrid untagged vlan 400 interface LoopBack0 ip address 2.2.2.2 255.255.255.255 pim sm bgp 200 router-id 2.2.2.2 peer 192.168.2.1 as-number 100...
  • Page 246 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 8 MSDP Configuration interface Vlanif 400 ip address 192.168.4.2 255.255.255.0 pim sm pim bsr-boundary interface Vlanif 500 ip address 192.168.5.1 255.255.255.0 pim sm interface Ethernet0/0/2 port hybrid pvid vlan 500 port hybrid untagged vlan 500...
  • Page 247: Ipv4 Multicast Routing Management

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management IPv4 Multicast Routing Management About This Chapter The system synchronously maintains multiple multicast routing protocols, and controls multicast routing and forwarding through the information exchanged between the control plane and the forwarding plane.
  • Page 248 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Maintaining IPv4 multicast routing management involves testing multicast routing, checking the RPF path and multicast path, clearing multicast forwarding and routing entries, and monitoring multicast routing and forwarding.
  • Page 249: Overview Of Ipv4 Multicast Routing Management

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management 9.1 Overview of IPv4 Multicast Routing Management Multicast routing and forwarding maintains a protocol routing table, multicast routing table, and multicast forwarding table. A multicast routing protocol creates multicast routing entries through RPF.
  • Page 250 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Static Multicast Route The static multicast route is an important factor of RPF check. By configuring the static multicast route, users can specify the RPF interface and RPF neighbor for a specific source of packets on the current switch.
  • Page 251: Configuring A Static Multicast Route

    You can ping multicast addresses by using the Network Quality Analysis (NQA) test instances or related commands. For detailed configurations of NQA test instances, refer to the chapter " NQA Configuration " in Quidway S3700 Series Ethernet Switches Configuration Guide - Network Management. 9.3 Configuring a Static Multicast Route Static multicast routes have the functions of changing RPF routes and connecting RPF routes.
  • Page 252: Configuring A Static Multicast Route

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Applicable Environment Static multicast route has the following functions: Changing RPF route If the topology of multicast is the same as that of unicast, the transmission path of multicast data is the same as that of unicast data.
  • Page 253: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: ip rpf-route-static source-address { mask | mask-length } [ isis process-id | ospf process-id | rip process-id | bgp | static ] [ route-policy route-policy-...
  • Page 254: Configuring Longest Match Of Multicast Route

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Applicable Environment If multiple equal-cost unicast routes exist when a multicast switch select an upstream interface, you can configure the switch to the RPF switch by using one of the following methods: By default, the switch chooses the route with the largest next-hop address.
  • Page 255: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Devices are selected according to the longest match. ----End 9.4.3 Checking the Configuration After multicast routing policies are configured, you can check the multicast routing table and RPF routing information to ensure normal running of the multicast network.
  • Page 256: Configuring The Multicast Forwarding Boundary

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Data Group address, mask, and mask length of the multicast forwarding boundary 9.5.2 Configuring the Multicast Forwarding Boundary When an interface of a multicast device is configured with a forwarding boundary for a specified group, the forwarding scope of multicast packets is restricted.
  • Page 257: Configuring Control Parameters Of The Multicast Forwarding Table

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Run the display multicast boundary [ group-address [ mask | mask-length ] ] [ interface interface-type interface-number ] command to check information about the multicast boundary of an interface.
  • Page 258: Setting The Maximum Number Of Entries In Multicast Forwarding Table

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Data Multicast source address, group address, and mask or mask length Matching policy, switch sequence, and route preference of the multicast routes Maximum number of entries in the multicast forwarding table...
  • Page 259: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Context CAUTION This configuration becomes valid only after the reset multicast forwarding-table command is used. Multicast services are interrupted after you run the reset multicast forwarding-table command.
  • Page 260: Check Rpf Paths And Multicast Paths

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Context When data transmission is abnormal, you can ping related multicast addresses to check the multicast routing. Procedure Run the ping multicast [ -i interface-type interface-number | -c count | -h ttl-value | -m...
  • Page 261: Clearing Multicast Routing And Forwarding Entries

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management 9.7.3 Clearing Multicast Routing and Forwarding Entries After you confirm to clear multicast forwarding and routing entries, use the reset command in the user view. After you run the reset command to clear information in the multicast forwarding table and the multicast routing table, multicast data cannot be normally transmitted.
  • Page 262: Debugging Multicast Routing And Forwarding

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management interface { interface-type interface-number | register } | outgoing-interface { include | exclude | match } { interface-type interface-number | register | none } ] [ outgoing-interface-number [ number ] ] Run the display multicast routing-table static [ config ] [ source-address { mask- length | mask } ] command in any view to check the static multicast routing table.
  • Page 263 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management C run OSPF. You need to configure a static multicast route to make the multicast path from the source to the receiver different from the unicast path from the source to the receiver.
  • Page 264 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management IP address of the source Outgoing interface of the route from Switch B to SwitchC: VLANIF 40 NOTE This configuration example describes only the commands used to configure static multicast routes.
  • Page 265 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Referenced route/mask: 8.1.1.0/24 Referenced route type: mstatic Route selection rule: preference-preferred Load splitting rule: disable ----End Configuration Files Configuration file of Switch A sysname SwitchA vlan batch 10 20 30...
  • Page 266 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 9 IPv4 Multicast Routing Management igmp enable interface Ethernet0/0/1 port hybrid pvid vlan 10 port hybrid untagged vlan 10 interface Ethernet0/0/2 port hybrid pvid vlan 40 port hybrid untagged vlan 40...
  • Page 267: Mld Snooping Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration MLD Snooping Configuration About This Chapter This chapter describes the implementation and configuration procedures of Multicast Listener Discovery (MLD) snooping on the S3700. 10.1 Overview of MLD Snooping When MLD snooping is enabled, the S3700 creates a Layer 2 forwarding table for multicast data packets by listening to MLD messages.
  • Page 268 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration This section provides several configuration examples of MLD snooping. Issue 01 (2011-10-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 269: Overview Of Mld Snooping

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration 10.1 Overview of MLD Snooping When MLD snooping is enabled, the S3700 creates a Layer 2 forwarding table for multicast data packets by listening to MLD messages. In this manner, the S3700 manages and controls the forwarding of multicast data packets to ensure that these packets are sent only to the hosts that need the multicast data.
  • Page 270: Configuring Basic Functions Of Mld Snooping

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration Interval for sending the MLD Last Member Query messages. This timer helps the S3700 adapt to the change of load on the network. Duration for suppressing the Report messages. This timer saves network bandwidth and reduces loads on the network.
  • Page 271: Enabling Mld Snooping On The S3700

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration Data Number of the static member interface to be configured, ID of the VLAN to which the interface is to be added, and multicast IPv6 address Number of the static router interface to be...
  • Page 272: Optional) Adding An Interface To A Multicast Group Statically

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration MLD snooping is enabled in the VLAN. When MLD snooping is disabled in a VLAN by default. ----End 10.3.4 (Optional) Adding an Interface to a Multicast Group...
  • Page 273: Optional) Setting The Maximum Number Of Multicast Groups That Hosts Attached To An Interface Can Join

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed. The interface can be an Ethernet interface, a GE interface or an Eth-Trunk interface.
  • Page 274: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: vlan vlan-id The VLAN view is displayed. Step 3 Run: mld-snooping version version The version is configured for MLD protocol packets that can be processed by MLD snooping.
  • Page 275: Establishing The Configuration Task

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration 10.4.1 Establishing the Configuration Task Applicable Environment You can configure policies to control the multicast groups that the hosts in a VLAN can join. Pre-configuration Tasks Before configuring a multicast group policy for a VLAN, complete the following task: 10.3 Configuring Basic Functions of MLD Snooping...
  • Page 276: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration NOTE l When a multicast policy is configured for a VLAN, the multicast policy does not take effect if the ACL6 specified by the ACL number does not exist; therefore, the hosts in the VLAN can join any multicast group.
  • Page 277: Configuring Prompt Leave Of Interfaces

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration 10.5.2 Configuring Prompt Leave of Interfaces Context To configure the prompt leave function in a VLAN, do as follows on the S3700. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 278: Enabling The Mld Snooping Querier

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration the IPv6 multicast forwarding entries at the data link layer. In this way, the IPv6 multicast data can be forwarded at the data link layer. Pre-configuration Tasks...
  • Page 279: Setting The Mld Snooping Query Interval And Response Interval

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration NOTE By default, the MLD snooping querier is disabled. The MLD snooping querier does not participate in the election of the MLD querier; however, the MLD snooping querier on an IPv6 multicast network running MLD may affect the election result because the source IPv6 address of the Query message sent by the MLD snooping querier is small.
  • Page 280: Setting The Source Ipv6 Address Of Mld Query Messages

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration 10.6.4 Setting the Source IPv6 Address of MLD Query Messages Context Do as follows on the S3700. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 281: Establishing The Configuration Task

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration 10.7.1 Establishing the Configuration Task Applicable Environment You can modify parameters of MLD snooping to optimize the multicast performance on the S3700 according to the actual situation of the network.
  • Page 282: Optional) Setting The Aging Time Of The Router Interface

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration 10.7.2 (Optional) Setting the Aging Time of the Router Interface Context To set the aging time of the router interface, do as follows on the S3700. Procedure...
  • Page 283: Optional) Configuring The Router Alert Option In Mld Messages

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration The maximum response time of MLD messages is set. The default value is 10 seconds. Step 5 Run: mld-snooping robust-count robust-count The robustness variable of MLD is set. The default value is 2.
  • Page 284: Optional) Setting The Duration For Suppressing The Same Mld Messages

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: mld-snooping send-query enable The MLD snooping module of the S3700 is enabled to respond to changes of the Layer 2 network topology.
  • Page 285: Checking The Configuration

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration NOTE l By default, the duration for suppressing the same MLD Report messages is 10 seconds. l The MLD snooping function is applicable to only the MLDv1 packets, but is invalid for the MLDv2 packets.
  • Page 286: Clearing The Statistics On Mld Snooping

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration To clear the dynamic forwarding entries from the multicast forwarding table, run the following command in the user view. Procedure Step 1 Run the reset mld-snooping group { vlan { vlan-id | all } | all } command to clear the dynamic forwarding entries from the multicast forwarding table.
  • Page 287: Configuration Examples

    Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration 10.9 Configuration Examples This section provides several configuration examples of MLD snooping. 10.9.1 Example for Configuring Prompt Leave of Interfaces in a VLAN Networking Requirements As shown in...
  • Page 288 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration Data Preparation To complete the configuration, you need the following data: ID of the VLAN where prompt leave is enabled: 3 Procedure Step 1 Create VLAN 3 on Switch A and add Eth 0/0/1, Eth 0/0/2, and Eth 0/0/3 to VLAN 3. The configuration procedure is not provided here.
  • Page 289 Quidway S3700 Series Ethernet Switches Configuration Guide - Multicast 10 MLD Snooping Configuration return Issue 01 (2011-10-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.

Table of Contents