Huawei Quidway S7700 Configuration Manual - Multicast

Smart routing switch
Hide thumbs Also See for Quidway S7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
V100R006C00
Configuration Guide - Multicast
Issue
01
Date
2011-07-15
HUAWEI TECHNOLOGIES CO., LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei Quidway S7700

  • Page 1 Quidway S7700 Smart Routing Switch V100R006C00 Configuration Guide - Multicast Issue Date 2011-07-15 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 S7700 Smart Routing Switch Configuration Guide - Multicast About This Document About This Document Intended Audience This document describes the multicast service supported by the S7700, including basic knowledge, protocol implementation, configuration procedures, and configuration examples. This document guides you through the configuration of the multicast service of the S7700.
  • Page 4: Command Conventions

    Quidway S7700 Smart Routing Switch 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 S7700 Smart Routing Switch 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 S7700....................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 S7700 Smart Routing Switch Configuration Guide - Multicast Contents 2.4 Configuring Static Layer 2 Multicast.......................25 2.4.1 Establishing the Configuration Task.......................25 2.4.2 Creating a VLAN and Enabling IGMP Snooping ..................26 2.4.3 (Optional) Setting the Forwarding Mode of Multicast Data in a VLAN..........27 2.4.4 Adding an Interface to a VLAN......................27...
  • Page 7 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast Contents 3.4.1 Establishing the Configuration Task.......................59 3.4.2 Creating a Multicast VLAN........................60 3.4.3 Binding User VLANs to a Multicast VLAN on an Interface..............60 3.4.4 Adding Interfaces to VLANs........................61 3.4.5 Checking the Configuration........................61 3.5 Configuration Examples...........................61...
  • Page 8 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast Contents 4.8.1 Example for Configuring Basic IGMP Functions...................89 4.8.2 Example for Configuring SSM Mapping....................93 4.8.3 Example for Configuring IGMP Limit....................99 5 PIM-DM (IPv4) Configuration....................104 5.1 PIM-DM Overview............................106 5.2 PIM-DM Features Supported by the S7700....................107 5.3 Configuring Basic PIM-DM Functions......................108...
  • Page 9 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast Contents 5.9.2 Configuring the Period for Keeping the Assert State................130 5.9.3 Checking the Configuration........................131 5.10 Configuring PIM Silent..........................132 5.10.1 Establishing the Configuration Task....................132 5.10.2 Configuring PIM Silent........................133 5.10.3 Checking the Configuration.........................134 5.11 Maintaining PIM-DM (IPv4)........................135...
  • Page 10 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast Contents 6.7 Adjusting Control Parameters for Establishing the Neighbor Relationship...........166 6.7.1 Establishing the Configuration Task.....................166 6.7.2 Configuring Control Parameters for Establishing the Neighbor Relationship........167 6.7.3 Configuring Control Parameters for Electing a DR................169 6.7.4 Enabling the Function of Tracking a Downstream Neighbor..............170...
  • Page 11 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast Contents 6.15.2 Clearing the PIM Status of the Specified Downstream Interfaces of PIM Entries......193 6.15.3 Monitoring the Running Status of PIM-SM..................194 6.15.4 Debugging PIM...........................195 6.16 Configuration Examples..........................196 6.16.1 Example for Configuring the PIM-SM Network.................196 6.16.2 Example for Configuring SPT Switchover in PIM-SM Domain............206...
  • Page 12 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast Contents 7.8.2 Encapsulating a Multicast Data Packet in an SA message..............247 7.8.3 (Optional) Setting the TTL Threshold for Forwarding an SA Message Containing a Multicast Data Packet ..................................248 7.8.4 Checking the Configuration........................249 7.9 Configuring the Filtering Rules for SA Messages..................250...
  • Page 13 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast Contents 8.6 Configuration Examples..........................294 8.6.1 Example for Configuring a Single-AS MD VPN..................294 9 IPv4 Multicast Routing Management..................318 9.1 Overview of IPv4 Multicast Routing Management..................320 9.2 IPv4 Multicast Routing Management Features Supported by the S7700............320 9.3 Configuring a Static Multicast Route......................322...
  • Page 14 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast Contents 10.3.5 (Optional) Configuring an Interface to Statically Join a Group............360 10.3.6 (Optional) Configuring the Range of Groups an Interface Can Join...........361 10.3.7 Checking the Configuration.........................362 10.4 Configuring Options of an MLD Packet......................362 10.4.1 Establishing the Configuration Task....................362...
  • Page 15 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast Contents 11.4.2 Configuring a Multicast Group Policy....................393 11.4.3 Checking the Configuration.........................393 11.5 Configuring Prompt Leave of Interfaces......................394 11.5.1 Establishing the Configuration Task....................394 11.5.2 Configuring Prompt Leave of Interfaces.....................394 11.5.3 Checking the Configuration.........................395 11.6 Configuring the MLD Snooping Querier.....................395...
  • Page 16 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast Contents 12.4.4 Checking the Configuration.........................423 12.5 Adjusting Control Parameters for Maintaining Neighbors................423 12.5.1 Establishing the Configuration Task....................423 12.5.2 Configuring the Interval for Sending Hello Messages................424 12.5.3 Configuring the Timeout Period of a Neighbor...................425 12.5.4 Refusing to Receive the Hello Message Without the Generation ID Option........426...
  • Page 17 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast Contents 13.3 Configuring Basic PIM-SM (IPv6) Functions....................454 13.3.1 Establishing the Configuration Task....................454 13.3.2 Enabling IPv6 Multicast Routing......................456 13.3.3 Enabling Basic PIM-SM (IPv6) Functions..................456 13.3.4 (Optional) Configuring an Embedded-RP...................457 13.3.5 (Optional) Configuring a Static RP.....................458 13.3.6 (Optional) Configuring a Dynamic RP....................459...
  • Page 18 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast Contents 13.9.1 Establishing the Configuration Task....................483 13.9.2 Configuring the Period for Keeping the Assert State................484 13.9.3 Checking the Configuration.........................485 13.10 Adjusting Control Parameters for the SPT Switchover................485 13.10.1 Establishing the Configuration Task....................485 13.10.2 (Optional) Adjusting Conditions of the SPT Switchover..............486...
  • Page 19 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast Contents 14.6.1 Clearing IPv6 Multicast Forwarding Entries and Routing Entries............522 14.6.2 Monitoring the Running Status of IPv6 Multicast Forwarding and Routing........522 14.6.3 Debugging IPv6 Multicast Forwarding and Routing................523 14.7 Configuration Examples..........................523 14.7.1 Example for Configuring IPv6 Multicast Load Splitting..............523...
  • Page 20: Ip Multicast Configuration Guide

    Quidway S7700 Smart Routing Switch 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 and IPv6 networks. In addition, the typical configuration solutions of multicast networks are provided.
  • Page 21: Ip Multicast Overview

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 1 IP Multicast Configuration Guide 1.1 IP Multicast Overview 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 22: Ipv4 Multicast Protocols

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 1 IP Multicast Configuration Guide Class D Address Range Description 239.0.0.0 to 239.255.255.255 Indicates administration multicast addresses. The default range of BSR administrative domain group addresses is valid only in the local BSR administration domain. The addresses are private addresses.
  • Page 23: 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 S7700 Smart Routing Switch Configuration Guide - Multicast. NOTE Ensure that unicast routes work normally in the network before configuring IP multicast.
  • Page 24: Controlling Multicast Forwarding

    Quidway S7700 Smart Routing Switch 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 25 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 1 IP Multicast Configuration Guide Figure 1-2 Format of an IPv6 multicast address flags scope reserved (80bit) group ID (32bit) The meaning of each field is as follows: The IPv6 multicast address begins with FF.
  • Page 26 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 1 IP Multicast Configuration Guide Table 1-4 Description of commonly-used IPv6 multicast Addresses Scope IPv6 Multicast Description Address Node/interface-local FF01:0:0:0:0:0:0:1 Indicates all node (interface) addresses. scope FF01:0:0:0:0:0:0:2 Indicates all router addresses.
  • Page 27: Ipv6 Multicast Protocols

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 1 IP Multicast Configuration Guide 1.4.2 IPv6 Multicast Protocols To implement a complete set of IPv6 multicast services, various multicast protocols deployed in a network need to cooperate with each other, as shown in Figure 1-3.
  • Page 28: Typical Configuration Solution

    The configuration solution in this section functions only as a reference. The network environments are classified into two types, which are suitable for different configuration solutions. For details, refer to the Quidway S7700 Smart Routing Switch Configuration Guide - Multicast.
  • Page 29: Igmp Snooping Configuration

    Quidway S7700 Smart Routing Switch 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 30: Igmp Snooping Overview

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration 2.1 IGMP Snooping Overview This section describes the functions and advantages of the IGMP snooping protocol. Internet Group Management Protocol Snooping (IGMP snooping) is a Layer 2 multicast protocol.
  • Page 31: Igmp Snooping Querier

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration IGMP Snooping Querier On a multicast network running IGMP, there should be a Layer 3 multicast device functioning as an IGMP querier to send IGMP Query messages and create and maintain multicast forwarding entries for normal multicast data forwarding.
  • Page 32: Configuring Igmp Snooping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Controlling multicast service accurately Ensuring the service quality for most VoD users Reducing the impact of multicast attack 2.3 Configuring IGMP Snooping This section describes how to configure IGMP snooping in a VLAN.
  • Page 33: Enabling Igmp Snooping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Data (Optional) Source IP address of IGMP Query messages 2.3.2 Enabling IGMP Snooping Context By default, IGMP snooping is disabled on the S7700. You need to enable IGMP snooping on the S7700 globally.
  • Page 34: Optional) Setting The Forwarding Mode Of Multicast Data In A Vlan

    Quidway S7700 Smart Routing Switch 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 version { 1 | 2 |3 } The version of IGMP messages that the S7700 can process is set.
  • Page 35: Optional) Configuring A Static Router Interface

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration The VLAN view is displayed. Step 3 Run: l2-multicast forwarding-mode { ip | mac } The multicast flows in the VLAN are forwarded based on IP addresses or MAC addresses.
  • Page 36: Optional) Configuring Igmp Snooping Querier

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Procedure Disabling dynamic learning of router interfaces in a VLAN Run: system-view The system view is displayed. Run: vlan vlan-id The VLAN view is displayed. Run: undo igmp-snooping router-learning Dynamic learning of router interfaces is disabled in the VLAN.
  • Page 37: Optional) Configuring Multicast Policies

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Step 2 Run: vlan vlan-id The VLAN view is displayed. Step 3 Run: igmp-snooping querier enable The IGMP snooping querier is enabled for the VLAN. By default, an IGMP snooping querier is disabled.
  • Page 38: Optional) Configuring Prompt Leave For Interfaces

    2.3.9 (Optional) Configuring Prompt Leave for Interfaces Prerequisite A basic ACL is configured to specify the IP multicast groups that hosts can leave. For the configuration of the ACL, see ACL Configuration in the Quidway S7700 Smart Routing Switch Configuration Guide - Security. Context...
  • Page 39: Optional) Configuring The S7700 To Respond To Changes Of A Layer 2 Network Topology

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration By default, prompt leave is disabled for interfaces. NOTE On the S7700, the permit rule is applicable to all multicast groups by default. To configure prompt leave for a specified multicast group, you need to use the rule deny source any command.
  • Page 40 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Within the suppression duration, the S7700 sends only one copy of the same IGMP messages continuously sent by hosts to the upstream router. This reduces the number of redundant messages.
  • Page 41: Optional) Configuring The Igmp Snooping Proxy For The Vlan

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration value is smaller than the remaining aging time of the router interface, the S7700 does not change the aging time of the interface. Step 5 Run: igmp-snooping max-response-time max-response-time The maximum response time for IGMP messages is set.
  • Page 42: Optional) Filtering Layer 2 Multicast Data On An Interface

    Quidway S7700 Smart Routing Switch 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 43 Quidway S7700 Smart Routing Switch 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 44: Configuring Static Layer 2 Multicast

    Quidway S7700 Smart Routing Switch 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 45: Creating A Vlan And Enabling Igmp Snooping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Applicable Environment In a metro Ethernet, if a host connected to an interface of the S7700 needs to receive the multicast flow of a certain multicast group for a long time, you can add the interface to the multicast group.
  • Page 46: Optional) Setting The Forwarding Mode Of Multicast Data In A Vlan

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration 2.4.3 (Optional) Setting the Forwarding Mode of Multicast Data in a VLAN Context You can set the forwarding mode of multicast data so that the multicast flows can be forwarded based on IP addresses or MAC addresses.
  • Page 47: Adding An Interface To A Multicast Group Statically

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration The interface can be an Ethernet interface, a GE interface, an XGE interface, or an Eth-Trunk interface. Step 3 Run: port hybrid tagged vlan { { vlan-id1 [ to vlan-id2 ] }&<1-10> | all } The interface is added to VLANs.
  • Page 48: Configuring A Static Multicast Mac Address

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Procedure Run the display l2-multicast forwarding-table vlan vlan-id [ source-address source- address group-address group-address ] command to check the multicast forwarding table of a VLAN. ----End Example Run the display l2-multicast forwarding-table vlan 10 command, and you can view the multicast forwarding table of VLAN 10.
  • Page 49: Configuring A Static Multicast Mac Address

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Data Number of the interface to be configured with a static multicast MAC address ID of the VLAN that the interface belongs to 2.5.2 Configuring a Static Multicast MAC Address...
  • Page 50: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration 2.5.3 Checking the Configuration Prerequisite The configurations of a static multicast MAC address are complete. Procedure Run the display mac-address multicast [ mac-address ] [ vlan vlan-id ] command to check the configured static multicast MAC addresses.
  • Page 51: Establishing The Configuration Task

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Figure 2-1 Networking diagram of multicast CAC IP/MPLS Core Switch DSLAM NOTE You can choose to configure multicast CAC for a VLAN, a Layer 2 interface, or an interface in a VLAN, or you can configure multicast CAC for all of them.
  • Page 52: Limiting The Number Of Multicast Groups Of A Vlan, A Layer 2 Interface, Or An Interface In A Vlan

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration NOTE This section describes only the scenario where IGMP snooping is deployed. Pre-configuration Tasks Before configuring multicast CAC for a VLAN, a Layer 2 interface, or an interface in a VLAN,...
  • Page 53: Limiting The Number Of Multicast Groups In A Channel For A Vlan, An Interface, Or An Interface In A Vlan

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration The Ethernet, GigabitEthernet, or Eth-Trunk interface view is displayed. Step 5 Run: l2-multicast limit max-entry count [ except acl-number ] Limitation on the number of multicast groups on a Layer 2 interface is configured.
  • Page 54: Configuring Channels On A Vlan

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration 2.6.4 Configuring Channels on a VLAN Context Do as follows on the UPE. Procedure Step 1 Run: system-view The system view is displayed. Step 2 (Optional) Configure the global channels.
  • Page 55: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Return to the system view. ----End 2.6.5 Checking the Configuration Prerequisite The configurations of Layer 2 multicast CAC for a VLAN, a Layer 2 interface, or an interface in a VLAN are complete.
  • Page 56: Configuring Layer 2 Multicast Ssm Mapping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration <Quidway> display l2-multicast-channel vlan 10 Channel information on VLAN 10 ChannelName Group/Mask Source/Mask Bandwidth ------------------------------------------------------------------------------- njtv 226.1.1.0/24 226.1.2.0/24 226.1.3.0/24 --------------------------------------------------------------------- njtv1 226.2.1.0/24 226.2.2.0/24 Run the display l2-multicast limit vlan 20 command, and you can check the configuration of multicast CAC of a VLAN.
  • Page 57: Optional) Configuring An Ssm Group Policy

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Pre-configuration Tasks Before configuring SSM mapping, complete the following task: Enabling global IGMP snooping Data Preparation To configure SSM mapping, you need the following data. Data (Optional) ACL rule...
  • Page 58: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Context By configuring SSM mapping, you can set up one-to-one mappings between multicast groups and multicast sources. 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 59: Maintaining Layer 2 Multicast

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Procedure Run the display igmp-snooping port-info command to view the IGMP snooping entries on an interface. ----End Example Run the display igmp-snooping port-info command, and you can view the IGMP snooping entries on the interface.
  • Page 60: Clearing Multicast Forwarding Entries

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration The interface can be an Ethernet interface, a GE interface, an XGE interface, or an Eth-Trunk interface. Step 3 Run: undo l2-multicast static-group [ source-address source-ip-address ] group-address group-ip-address vlan { all | { vlan-id1 [ to vlan-id2 ] } &...
  • Page 61: Debugging Igmp Snooping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Procedure Run the reset igmp-snooping statistics { all | vlan { vlan-id | all } } command in the user view to clear the statistics on IGMP snooping.
  • Page 62: Example For Configuring Igmp Snooping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration 2.9.1 Example for Configuring IGMP Snooping Networking Requirements As shown in Figure 2-2, GE 3/0/1 of the S7700 is connected to a router on the multicast source side, and GE 1/0/1 is connected to hosts.
  • Page 63 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Static router interface: GE 3/0/1 Addresses of static multicast groups: 225.1.1.1, 225.1.1.2, 225.1.1.3 Procedure Step 1 Create a VLAN and add interfaces to the VLAN. <Switch> system-view...
  • Page 64: Example For Configuring Layer 2 Multicast Cac For A Vlan

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration [Switch] display igmp-snooping port-info ----------------------------------------------------------------------- (Source, Group) Port Flag Flag: S:Static D:Dynamic M: Ssm-mapping ----------------------------------------------------------------------- VLAN 3, 3 Entry(s) (*, 225.1.1.1) GE1/0/1 1 port(s) (*, 225.1.1.2) GE1/0/1 1 port(s) (*, 225.1.1.3)
  • Page 65 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Networking Requirements As shown in the figure, Switch A and Switch B are connected through VLAN 20; Switch B and Switch C are connected through the MPLS/VPLS network and Switch C is connected to the TV server on the Internet.
  • Page 66 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration <SwitchA> system-view [SwitchA] vlan 20 [SwitchA-vlan20] quit [SwitchA] interface gigabitethernet 1/0/1 [SwitchA-GigabitEthernet1/0/1] port link-type access [SwitchA-GigabitEthernet1/0/1] port default vlan 20 [SwitchA-GigabitEthernet1/0/1] quit # Configure Switch B. <SwitchB> system-view...
  • Page 67 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration --------------------------------------------------------------------- ---- ---------- VLAN 20 limit information: --------------------------------------------------------------------- ---- ---------- VLAN 20 channel limit information: --------------------------------------------------------------------- bjtv ---- ---------- interface GigabitEthernet1/0/1 VLAN 10 channel limit information: ---------------------------------------------------------------------...
  • Page 68: Example For Configuring Igmp Snooping Ssm Mapping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration port link-type trunk port trunk allow-pass vlan 20 return Configuration file of Switch B sysname SwitchB vlan batch 10 20 igmp-snooping enable l2-multicast limit max-entry 100 l2-multicast limit max-entry 50 vlan 20...
  • Page 69 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration Figure 2-4 Networking diagram for configuring IGMP snooping SSM mapping Source 2 10.1.1.2 Internet/ Source 1 Intranet 10.1.1.1 RouterA GE1/0/0 Swtich GE1/0/1 SwitchA SSM Mapping VLAN10 Host1...
  • Page 70 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 2 IGMP Snooping Configuration [SwitchA-vlan10] quit [SwitchA] interface gigabitethernet 1/0/0 [SwitchA-GigabitEthernet1/0/0] port hybrid pvid vlan 10 [SwitchA-GigabitEthernet1/0/0] port hybrid untagged vlan 10 [SwitchA-GigabitEthernet1/0/0] quit [SwitchA] interface gigabitethernet 1/0/1 [SwitchA-GigabitEthernet1/0/1] port hybrid pvid vlan 10...
  • Page 71 Quidway S7700 Smart Routing Switch 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 72: Multicast Vlan Replication Configuration

    Quidway S7700 Smart Routing Switch 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 73: Multicast Vlan Replication Overview

    Quidway S7700 Smart Routing Switch 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 74 Quidway S7700 Smart Routing Switch 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 75: Configuring Multicast Vlan Replication Based On User Vlans

    Quidway S7700 Smart Routing Switch 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 76: Configuring Multicast Vlan Replication Based On User Vlans

    Quidway S7700 Smart Routing Switch 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 77: Adding Interfaces To Vlans

    Quidway S7700 Smart Routing Switch 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 78: Configuring Multicast Vlan Replication Based On Interfaces

    Quidway S7700 Smart Routing Switch 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 79: Creating A Multicast Vlan

    Quidway S7700 Smart Routing Switch 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 80: Adding Interfaces To Vlans

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration 3.4.4 Adding Interfaces to VLANs 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 81: Example For Configuring Multicast Vlan Replication Based On User Vlans

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration 3.5.1 Example for Configuring Multicast VLAN Replication Based on User VLANs Networking Requirements As shown in Figure 3-4, RouterA is connected to the multicast source. GE1/0/0 of RouterA is connected to GE1/0/0 of SwitchA.
  • Page 82 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Data Preparation To complete the configuration, you need the following data: Interface connected to RouterA and the VLAN that the interface belongs to User-side interfaces and the VLANs that the interfaces belong to Procedure Step 1 Enable IGMP snooping globally.
  • Page 83: Example For Configuring Multicast Vlan Replication Based On Interfaces

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration multicast-vlan user-vlan number snooping-state ---------------------------------------------------------------- IGMP Enable /MLD Disable [SwitchA] display user-vlan vlan Total user vlan user-vlan snooping-state multicast-vlan snooping-state ----------------------------------------------------------------------------- IGMP Enable /MLD Disable IGMP Enable /MLD Disable...
  • Page 84 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration for ISP2. ISP1 and ISP2 use multicast VLAN 2 and VLAN 3 respectively to provide multicast services for users. GE1/0/1 and GE1/0/2 belong to user VLAN 10.
  • Page 85 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration User-side interfaces and the VLANs that the interfaces belong to Procedure Step 1 Create multicast VLANs 2 and 3 and enable IGMP snooping in the multicast VLANs.
  • Page 86 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 3 Multicast VLAN Replication Configuration Configuration Files Configuration file of the Switch A sysname SwitchA vlan batch 2 3 10 igmp-snooping enable vlan 2 igmp-snooping enable multicast-vlan enable vlan 3 igmp-snooping enable...
  • Page 87: Igmp Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration IGMP Configuration About This Chapter This chapter describes the procedure for configuring IGMP and commands for maintaining IGMP, and provides configuration examples. 4.1 Introduction to IGMP This section describes the principle of IGMP.
  • Page 88: Introduction To Igmp

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration 4.1 Introduction to IGMP This section describes the principle of IGMP. In the TCP/IP protocol suite, the Internet Group Management Protocol (IGMP) manages IPv4 multicast members. It sets up and maintains the multicast membership between IP hosts and adjacent multicast routers.
  • Page 89: Configuring Basic Igmp Functions

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration IGMP Query Controller For IGMPv1, you can set the interval for sending General Query messages and robustness variable. NOTE IGMPv1 does not support querier election. Therefore, you need to enable PIM for querier election.
  • Page 90: Enabling Ip Multicast

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration The host where the IGMP is run responds to the IGMP Query message of the S7700. If the host gives no response and the operation times out, the S7700 considers that the multicast group does not contain any member on the network segment and cancels data forwarding.
  • Page 91: Enabling The Igmp Function

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration If a multicast forwarding table needs to contain more than 4096 entries, run this command to optimize the multicast forwarding table before enabling IP multicast routing. Step 3 Run: multicast routing-enable IP multicast routing is enabled.
  • Page 92: Optional) Configuring A Static Igmp Group

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration Step 2 Run: interface interface-type interface-number The interface view is displayed. The S7700 uses this interface to communicate with hosts. On the S7700, VLANIF interfaces and loopback interfaces support IGMP.
  • Page 93: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration Context To enable hosts on the network to which the interface is connected to join the specified multicast groups and to receive messages from the groups, you need to set an ACL rule on the related interface to filter the received messages.
  • Page 94: Setting The Parameters Of Igmp Features

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration Vlanif10 (100.0.0.3): IGMP is enabled Current IGMP version is 2 IGMP state: up IGMP group policy: none IGMP limit: - Value of query interval for IGMP (negotiated): -...
  • Page 95: Configuring Igmp Message Options

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 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 4.3 Configuring Basic IGMP Functions Data Preparation To configure IGMP message options and related timers, you need the following data.
  • Page 96: Configuring The Igmpv1 Querier

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration Run: system-view The system view is displayed. Run: igmp The IGMP view is displayed. Run: require-router-alert The S7700 is configured to ignore the IGMP messages that do not contain the Router- Alert option.
  • Page 97 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 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 98: Configuring The Igmpv2 Or Igmpv3 Querier

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration Run: igmp robust-count robust-value The IGMP robustness variable is set. When the S7700 starts, the S7700 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 99 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration General Query messages is 1/4 of the interval for sending IGMP General Query messages. – When receiving a Leave message, the S7700 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 100: Configuring Igmp Prompt Leave

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration – When receiving a Leave message, the S7700 sends IGMP Group-Specific Query messages for the time specified by the value of the robustness variable at the interval that you set.
  • Page 101: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 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 S7700 uses this interface to communicate with hosts. On the S7700, VLANIF interfaces and loopback interfaces support IGMP.
  • Page 102: Configuring Ssm Mapping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 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 103: Enabling Ssm Mapping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration 4.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 S7700 uses this interface to communicate with hosts. On the S7700, VLANIF interfaces and loopback interfaces support IGMP.
  • Page 104: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 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 4.5.4 Checking the Configuration Prerequisite The configuration of SSM mapping is complete.
  • Page 105: Optional) Configuring The Maximum Number Of Global Igmp Group Memberships

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration The IGMP limit function is configured on the last-hop S7700 connected to users. You can perform the following configurations as required: Configure the maximum number of global IGMP group memberships on a S7700.
  • Page 106: Optional) Setting The Maximum Number Of Global Igmp Entries For An Instance

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration 4.6.3 (Optional) Setting the Maximum Number of Global IGMP Entries for an Instance Context Do as follows on the S7700 connected to user hosts. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 107: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration 4.6.5 Checking the Configuration Procedure Run the display igmp interface [ interface-type interface-number ] [ verbose ] command to check the configuration and running of IGMP on an interface.
  • Page 108: Debugging Igmp

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration Run the display igmp group ssm-mapping [ verbose ] command to check the information about the multicast group that is already configured with SSM mapping. Run the display igmp interface [ interface-type interface-number ] [ verbose ] command to check the configuration and running status of IGMP on the interface.
  • Page 109 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration if HostA needs to receive the multicast data from the multicast group 225.1.1.1 for a long time, you need to add GE 1/0/0 on the SwitchA to the multicast group 225.1.1.1 statically.
  • Page 110 For details on how to configure IP addresses of interfaces, see OSPF Configuration in the Quidway S7700 Smart Routing Switch Configuration Guide - IP Service. For details on how to configure OSPF, see IP Addresses Configuration in the Quidway S7700 Smart Routing Switch Configuration Guide - IP Routing.
  • Page 111 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration Value of maximum query response time for IGMP: 10 s Querier for IGMP: 10.110.1.1 (this router) # Run the display igmp routing-table command on SwitchA. You can check whether VLANIF 10 is added to the multicast group 225.1.1.1 statically.
  • Page 112: Example For Configuring Ssm Mapping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration ip address 192.168.2.1 255.255.255.0 pim sm interface gigabitethernet 1/0/0 port hybrid pvid vlan 20 port hybrid untagged vlan 20 interface gigabitethernet 2/0/0 port hybrid pvid vlan 21 port hybrid untagged vlan 21 ospf 1 area 0.0.0.0...
  • Page 113 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration Figure 4-2 Networking of the SSM mapping configuration 133.133.2.1/24 133.133.3.1/24 SwitchB SwitchC GE3/0/0 GE3/0/0 GE1/0/0 GE1/0/0 GE2/0/0 GE2/0/0 PIM-SM Receiver 133.133.1.1/24 GE2/0/0 GE2/0/0 133.133.4.1/24 GE1/0/0 GE1/0/0 GE3/0/0 GE3/0/0...
  • Page 114 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 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 4-2.
  • Page 115 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration Uptime: 00:01:52 Expires: 00:00:18 Last reporter: 133.133.4.1 Last-member-query-counter: 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 116 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration port hybrid untagged vlan 10 interface GigabitEthernet2/0/0 port hybrid pvid vlan 20 port hybrid untagged vlan 20 interface GigabitEthernet3/0/0 port hybrid pvid vlan 30 port hybrid untagged vlan 30 ospf 1 area 0.0.0.0...
  • Page 117 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration vlan batch 12 21 31 multicast routing-enable acl number 2000 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...
  • Page 118: Example For Configuring Igmp Limit

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration interface GigabitEthernet2/0/0 port hybrid pvid vlan 21 port hybrid untagged vlan 21 interface GigabitEthernet3/0/0 port hybrid pvid vlan 30 port hybrid untagged vlan 30 ssm-policy 2000 acl number 2000 rule 5 permit source 232.1.1.0 0.0.0.255...
  • Page 119 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration Figure 4-3 Networking diagram of IGMP limit Ethernet HostA SwitchA Receiver GE2/0/0 GE1/0/0 HostB 192.168.1.1/24 10.110.1.1/24 SwitchB GE1/0/0 GE2/0/0 Leaf network 10.110.2.1/24 192.168.2.1/24 HostC PIM network GE1/0/0 Receiver SwitchC 10.110.3.1/24...
  • Page 120 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration Procedure Step 1 Enable the multicast function and enable IGMP and PIM-SM on the user-side interfaces. # Enable the multicast function on SwitchA, enable IGMP and PIM-SM on VLANIF 10, and set the IGMP version to v2.
  • Page 121 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration You can find that a maximum of 30 IGMP member relationships can be created on VLANIF 10 of SwitchA. ----End Configuration Files Configuration file of SwitchA sysname SwitchA...
  • Page 122 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 4 IGMP Configuration network 10.110.2.0 0.0.0.255 network 192.168.2.0 0.0.0.255 igmp limit 40 return Configuration file of SwitchC sysname SwitchC vlan batch 30 31 igmp global limit 50 multicast routing-enable interface Vlanif30...
  • Page 123: Pim-Dm (Ipv4) Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration PIM-DM (IPv4) Configuration About This Chapter This chapter describes the PIM-DM (IPv4) fundamentals, configuration steps, and maintenance for PIM-DM functions, along with typical examples. 5.1 PIM-DM Overview...
  • Page 124 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 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. 5.8 Adjusting Control Parameters for Graft...
  • Page 125: Pim-Dm Overview

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration 5.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 126: Pim-Dm Features Supported By The S7700

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 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. 5.2 PIM-DM Features Supported by the S7700 The system can work normally with default PIM-DM parameters.
  • Page 127: Configuring Basic Pim-Dm Functions

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 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 128: Enabling Ipv4 Multicast Routing

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration 5.3.2 Enabling IPv4 Multicast Routing Prior to configuring all IPv4 multicast features, enable IPv4 multicast routing. Context CAUTION The configuration related to the VPN instance is applicable only to the PE switch. If the interface of the VPN instance connects to hosts, run the commands in Step 3 and Step 4.
  • Page 129: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Context NOTE PIM-SM and PIM-DM cannot be enabled on an interface at the same time. The PIM mode must be the same on all the interfaces of the same instance. When switches are distributed in different PIM-DM domains, enable PIM-SM on all non-boundary interfaces.
  • Page 130: Adjusting Control Parameters Of A Multicast Source

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 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 131: Establishing The Configuration Task

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration 5.4.1 Establishing the Configuration Task After basic functions of PIM-DM are configured, you can configure the lifetime of a multicast source and source address-based filtering rules as required.
  • Page 132: Configuring Filtering Rules Based On Source Addresses

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Step 2 Run: pim [ vpn-instance vpn-instance-name ] The PIM view is displayed. Step 3 Run: 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 133: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration NOTE l If acl-number | acl-name acl-name is specified in the source-policy command and ACL rules are created, only the multicast packets whose source addresses match the ACL rules are permitted.
  • Page 134: Configuring The Interval For Sending Hello Messages

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Applicable Environment PIM switchs exchange Hello messages to set up neighbor relationships and negotiate various control parameters. The Switch under the control of default values can work normally. In the S7700, users can adjust related parameters according to the specific network environment.
  • Page 135: Configuring The Timeout Period Of A Neighbor

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Procedure Global Configuration Run: system-view The system view is displayed. Run: pim [ vpn-instance vpn-instance-name ] The PIM view is displayed. Run: timer hello interval The interval for sending Hello messages is set.
  • Page 136: Refusing To Receive The Hello Message Without The Generation Id Option

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration 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: Configuring Pim Neighbor Filtering

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 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 138: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration An interface sets up neighbor relationships with only the addresses matching the filtering rules and deletes the neighbors unmatching the filtering rules. NOTE When configuring the neighbor filtering function on the interface, you must also configure the neighbor filtering function correspondingly on the switch that sets up the neighbor relationship with the interface.
  • Page 139: Configuring The Period For An Interface To Keep The Prune State

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Pre-configuration Tasks Before adjusting control parameters for prune, complete the following tasks: Configuring a unicast routing protocol Configuring Basic PIM-DM Functions Data Preparation To adjust control parameters for prune, you need the following data.
  • Page 140: Configuring The Delay For Transmitting Prune Messages In A Lan

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration 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. Run: pim holdtime join-prune interval The period during which the downstream interface is in the Prune state is set.
  • Page 141: Configuring The Interval For Overriding The Prune Action

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration The interface can be a VLANIF interface, or an Loopback interface. Run: pim hello-option lan-delay interval The delay for transmitting messages in a LAN is set. ----End 5.6.4 Configuring the Interval for Overriding the Prune Action...
  • Page 142: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration 5.6.5 Checking the Configuration After the control parameters for prune are adjusted, you can check information about the PIM interface and the PIM routing table and statistics about PIM control messages through commands.
  • Page 143: Disabling State-Refresh

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Switch periodically send State-Refresh messages to refresh the prune state of interfaces and maintain the SPT. Switchs can work normally under the control of the default parameter values. Users can adjust related parameters according to the specific network environment.
  • Page 144: Configuring The Interval For Sending State-Refresh Messages

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Step 3 Run: undo pim state-refresh-capable PIM-DM State-Refresh is disabled. The interface on which PIM-DM State-Refresh is disabled cannot forward any State-Refresh message. NOTE You can run the pim state-refresh-capable command to re-enable PIM-DM State-Refresh on the interface.
  • Page 145: Configuring The Ttl Value Carried In A State-Refresh Message

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Context Do as follows on all the PIM-DM switchs in the PIM-DM domain: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: pim [ vpn-instance vpn-instance-name ] The PIM view is displayed.
  • Page 146: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration 5.7.6 Checking the Configuration After the control parameters for state-refresh are adjusted, you can check information about the PIM interface and the PIM routing table and statistics about PIM control messages through commands.
  • Page 147: Configuring The Interval For Retransmitting Graft Messages

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration To enable new members in the network to receive multicast data quickly, a PIM-DM switch sends a Graft message through an upstream interface. After receiving the Graft message, the upstream switch responds immediately with a Graft-Ack message and enables the interface that receives the Graft message to forward packets.
  • Page 148: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration The interval for retransmitting Graft messages is set. If the local switch does not receive any Graft-Ack message from the upstream switch in a specified period, it resends a Graft message.
  • Page 149: Establishing The Configuration Task

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration 5.9.1 Establishing the Configuration Task After basic functions of PIM-DM are configured, you can set the holdtime of the Assert state as required. Applicable Environment When a PIM-DM switch receives multicast data through a downstream interface, it indicates that other upstream switchs exist in the network segment.
  • Page 150: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Run: system-view The system view is displayed. Run: pim [ vpn-instance vpn-instance-name ] The PIM view is displayed. Run: holdtime assert interval The period for holding the Assert state is set.
  • Page 151: Configuring Pim Silent

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration bsr } | interface interface-type interface-number ] command to check the number of sent or received PIM control messages. Run the following commands to check the PIM routing table.
  • Page 152: Configuring Pim Silent

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration PIM silent is applicable only to the interface directly connected to the host network segment that is connected only to this switch. CAUTION If PIM silent is enabled on the interface connected to a switch, the PIM neighbor relationship cannot be established and a multicast fault may occur.
  • Page 153: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration The interface can be a VLANIF interface, or an Loopback interface. Step 3 Run: pim silent PIM silent is enabled. After PIM silent is enabled, the Hello message attack of malicious hosts is effectively prevented, and the switch is protected.
  • Page 154: Maintaining Pim-Dm (Ipv4)

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Number of routers on link not using DR priority: - Number of routers on link not using LAN delay: - Number of routers on link not using neighbor tracking: -...
  • Page 155: 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 S7700 Smart Routing Switch Debugging Reference. Issue 01 (2011-07-15) Huawei Proprietary and Confidential Copyright ©...
  • Page 156: Configuration Example

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Procedure Run the debugging pim [ vpn-instance vpn-instance-name | all-instance ] all command in the user view to enable all the debugging of PIM. Run the debugging pim [ vpn-instance vpn-instance-name | all-instance ] event [ advanced-acl-number ] command in the user view to enable the debugging of PIM events.
  • Page 157 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Figure 5-2 Networking diagram for configuring basic PIM-DM functions SwitchA Ethernet Receiver GE2/0/0 HostA Ethernet GE1/0/0 PIM-DM Leaf network Source GE3/0/0 GE4/0/0 GE1/0/0 GE2/0/0 SwitchD GE1/0/0 GE2/0/0...
  • Page 158 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Procedure Step 1 Enable multicast on all Switches and enable PIM-DM on all interfaces. # Enable multicast on SwitchA and enable PIM-DM on each interface. The configurations of SwitchB, SwitchC, and SwitchD are similar to the configuration of SwitchA, and are not provided here.
  • Page 159 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration Total 1 (*, G) entry; 1 (S, G) entry (*, 225.1.1.1) Protocol: pim-dm, Flag: WC UpTime: 03:54:19 Upstream interface: NULL Upstream neighbor: NULL RPF prime neighbor: NULL...
  • Page 160 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration interface GigabitEthernet2/0/0 port hybrid pvid vlan 101 port hybrid untagged vlan 101 ospf 1 area 0.0.0.0 network 192.168.1.0 0.0.0.255 network 10.110.1.0 0.0.0.255 return Configuration file of SwitchB...
  • Page 161 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 5 PIM-DM (IPv4) Configuration network 192.168.3.0 0.0.0.255 network 10.110.2.0 0.0.0.255 return Configuration file of SwitchD sysname SwitchD multicast routing-enable vlan batch 100 103 200 300 interface Vlanif100 ip address 192.168.1.2 255.255.255.0...
  • Page 162: Pim-Sm (Ipv4) Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 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 163 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 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 164: Pim-Sm Overview

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration 6.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 165: Pim-Sm Features Supported By The S7700

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 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 166 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Adjusting Parameters for Maintaining PIM-SM Neighbors You can adjust the following parameters about PIM-SM neighbors, including: Interval for sending Hello messages Time period for the neighbor to hold the reachable state...
  • Page 167: Configuring Basic Pim-Sm Functions

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration any PIM packet. Then all PIM neighbors and PIM state machines on the interface are deleted. The interface acts as the static DR and immediately takes effect. At the same time, IGMP on the interface are not affected.
  • Page 168: Enabling Ip Multicast Routing

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration A multicast group may be in the service range of the dynamic RP and the static RP simultaneously. By default, The switch prefers the dynamic RP. If the static RP precedence is configured, the static RP is preferred.
  • Page 169: Enabling Basic Pim-Sm Functions

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 (Optional) Run: assign multicast-resource-mode optimize The multicast forwarding table is optimized. If a multicast forwarding table needs to contain more than 4096 entries, run this command to optimize the multicast forwarding table before enabling IGMP snooping.
  • Page 170: Optional) Configuring A Static Rp

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration The interface can be a VLANIF interface, or an Loopback interface. Step 3 Run: pim sm PIM SM is enabled. After PIM SM is enabled on the interface and PIM neighbor relationships are set up between switches, the packets from the PIM neighbors can be processed.
  • Page 171: Optional) Configuring A Dynamic Rp

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration l basic-acl-number | acl-name acl-name: specifies the ACL. The ACL defines the range of the multicast group served by the static RP. When the range of multicast groups that multiple static RPs serve overlaps, the static RP with the largest IP address functions as the RP.
  • Page 172: Optional) Configuring The Ssm Group Address Range

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration NOTE It is recommended to configure the loopback interfaces as RPs. If the address borrowing is configured, it is not recommended to configure C-RP on the interfaces that have the same addresses.
  • Page 173: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Do as follows on all switchs in the PIM-SM domain: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: pim [ vpn-instance vpn-instance-name ] The PIM view is displayed.
  • Page 174: Adjusting Control Parameters For A Multicast Source

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration [ mask { source-mask-length | source-mask } ] | incoming-interface { interface-type interface-number | register } ] Run the display pim [ vpn-instance vpn-instance-name | all-instance ] rp-info [ group- address ] command to check the RP in a PIM-SM domain.
  • Page 175: Configuring The Lifetime Of A Source

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration 6.4.2 Configuring the Lifetime of a Source A multicast device starts a timer for each (S, G) entry. If the device does not receive any multicast packets from a source within the lifetime of the source, it considers the corresponding (S, G) entry as invalid and fails to receive multicast data for related groups.
  • Page 176: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration If the basic ACL is configured, only the packets with the source addresses that pass the filtering are forwarded. If the advanced ACL is configured, only the packets with the source addresses and group addresses that pass the filtering are forwarded.
  • Page 177: Adjusting C-Rp Parameters

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Applicable Environment This section describes how to adjust control parameters of the C-RP and the C-BSR by using commands in the ASM model. NOTE The configuration is applicable only to a BSR-RP. If you want to use only a static RP in the network, skip the configuration.
  • Page 178: Adjusting C-Bsr Parameters

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration NOTE You can re-set various parameters of a C-RP. This configuration is optional. If there is no specific requirement, default values of parameters are recommended. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 179: Configuring The Bsr Boundary

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration The system view is displayed. Step 2 Run: pim [ vpn-instance vpn-instance-name ] The PIM view is displayed. Step 3 Run: c-bsr hash-length hash-length The hash mask length of a C-BSR is set.
  • Page 180: Optional) Configuring The Bsr Address Range

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration The interface can be a VLANIF interface, or an Loopback interface. Step 3 Run: pim bsr-boundary The BSR boundary is configured. Bootstrap messages cannot pass the BSR boundary.
  • Page 181: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Context Do as follows on all the C-BSRs in the PIM-SM domain: NOTE This configuration is optional. By default, a switch does not check the C-RP address and the group address contained in a received Advertisement message and adds them to the RP-set.
  • Page 182: Establishing The Configuration Task

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration 6.6.1 Establishing the Configuration Task After dynamic RP and basic PIM-SM functions are configured, you can configure BSR administrative domains as required. Each BSR administrative domain maintains a BSR and provides services for the multicast groups within a specific address range.
  • Page 183: Enabling A Bsr Administrative Domain

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration 6.6.2 Enabling a BSR Administrative Domain Enable BSR administrative domains on all devices in a PIM-SM network. Context Do as follows on all switchs in the PIM-SM network:...
  • Page 184: Adjusting C-Bsr Parameters

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration The BSR administrative domain boundary is configured. Multicast packets that belong to the BSR administrative domain cannot traverse the boundary. ----End 6.6.4 Adjusting C-BSR Parameters You can adjust the C-BSR parameters of the BSR administrative domain and the global domain as required.
  • Page 185: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration The PIM view is displayed. Run: c-bsr global [ hash-length hash-length | priority priority ] * The C-BSR parameters are configured. – hash-length hash-length: specifies the hash mask length of a C-BSR.
  • Page 186: Configuring Control Parameters For Establishing The Neighbor Relationship

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Pre-configuration Tasks Before configuring control parameters for establishing the neighbor relationship, complete the following tasks: Configuring unicast routing protocol Configuring Basic PIM-SM Functions Data Preparation To adjust the control parameters for establishing the neighbor relationship, you need the following data.
  • Page 187 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Run: pim [ vpn-instance vpn-instance-name ] The PIM view is displayed. Run: timer hello interval The interval for sending Hello messages is set. Run: hello-option holdtime interval The timeout period of holding the reachable state of a neighbor is set.
  • Page 188: Configuring Control Parameters For Electing A Dr

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration 6.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. Context Do as follows on the PIM-SM switch:...
  • Page 189: Enabling The Function Of Tracking A Downstream Neighbor

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration switch does not support the DR priority, the interface with the largest IP address acts as the DR. ----End 6.7.4 Enabling the Function of Tracking a Downstream Neighbor When the Generation ID option in the Hello message received from an upstream neighbor changes, it indicates that the status of the upstream neighbor changes.
  • Page 190: Configuring Pim Neighbor Filtering

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration The interface can be a VLANIF interface, or an Loopback interface. Run: pim hello-option neighbor-tracking The function of tracking a downstream neighbor is enabled. After this function is enabled, information about the downstream neighbor who has sent a Join message and whose Join state does not times out is recorded.
  • Page 191: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration 6.7.6 Checking the Configuration After the neighbor control parameters are adjusted, you can run commands to check information about the PIM interface and the PIM neighbor. Procedure...
  • Page 192: Configuring Pim-Sm Register Messages

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Configuring a unicast routing protocol Configuring Basic PIM-SM Functions Data Preparation To adjust control parameters for source registering, you need the following data. Data ACL rules used by the RP to filter Register messages...
  • Page 193: Configuring Pim-Sm Register Suppression

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration 6.8.3 Configuring PIM-SM Register Suppression You can set the timeout period for keeping the register suppression state and the interval for sending null Register messages on all the devices that may becomes DRs at the multicast source side.
  • Page 194: Establishing The Configuration Task

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration 6.9.1 Establishing the Configuration Task After basic functions of PIM-SM are configured, you can adjust related control parameters of forwarding relationship maintenance, and configure the Join information filtering and neighbor filtering functions to enhance security as required.
  • Page 195: Configuring Control Parameters For Keeping The Forwarding State

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration 6.9.2 Configuring Control Parameters for Keeping the Forwarding State The control parameters of multicast data forwarding can be set either globally or on an interface. The parameters specify the interval for sending Join/Prune messages and the period for a downstream interface to keep the Join/Prune state.
  • Page 196: Configuring Control Parameters For Prune

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration The interval for holding the forwarding state of a downstream interface is set. Run: pim require-genid The Generation ID option is contained in a received Hello message. The Hello message without the Generation ID option is rejected.
  • Page 197: Configuring Join Information Filtering

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Run: hello-option override-interval interval The interval for overriding the Prune action is set. 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 198: Configuring Neighbor Check

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration The interface view is displayed. The interface can be a VLANIF interface, or an Loopback interface. Step 3 Run: pim join-policy { asm { basic-acl-number | acl-name acl-name } | ssm { advanced-acl- number | acl-name acl-name } } Join information filtering is configured.
  • Page 199: Adjusting Control Parameters For Assert

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Procedure Run the display pim [ vpn-instance vpn-instance-name | all-instance ] interface [ interface-type interface-number | up | down ] [ verbose ] command to check PIM on an interface.
  • Page 200: Configuring The Period For Keeping The Assert State

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration NOTE It is recommended to adopt default values if there is no special requirement. Pre-configuration Tasks Before adjusting control parameters for assert, complete the following tasks: Configuring a certain unicast routing protocol...
  • Page 201: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration The switch that fails in the election prevents the downstream interface from forwarding multicast packets within the interval. After the interval expires, the downstream interface starts to forward multicast packets.
  • Page 202: Configuring The Spt Switchover

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration instance-name | register | none } | mode { dm | sm | ssm } | flags flag-value | fsm ] [ outgoing-interface-number [ number ] ] –...
  • Page 203: Optional) Configuring The Interval For Checking The Forwarding Rate Of Multicast Data

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Pre-configuration Tasks Before configuring the SPT switchover, complete the following tasks: Configuring a unicast routing protocol Configuring Basic PIM-SM Functions Data Preparation To configure the SPT switchover, you need the following data.
  • Page 204: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration l group-policy { basic-acl-number | acl-name acl-name } [ order order-value]: specifies the range of the multicast groups that use the threshold. By default, the threshold is applicable to all multicast groups.
  • Page 205: Configuring Pim Bfd

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration transmission is interrupted is not shorter than the timeout period of the neighbor relationship. Generally, it is of second level. BFD features fast detection of faults, and is up to the millisecond level. BFD can detect statuses of PIM neighbors in the shared network segment.
  • Page 206: Optional) Adjusting Bfd Parameters

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Step 3 Run: pim bfd enable PIM BFD is enabled. By default, PIM BFD is disabled. ----End 6.12.3 (Optional) Adjusting BFD Parameters You can adjust PIM BFD parameters as required. PIM BFD parameters include the minimum interval for sending and receiving PIM BFD packets and the local detection multiplier.
  • Page 207: Configuring Pim Gr

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration – display pim [ vpn-instance vpn-instance-name | all-instance ] bfd session [ interface interface-type interface-number | neighbor neighbor-address ] ----End 6.13 Configuring PIM GR In a PIM-SM network, PIM GR can be applied to a device with dual main control boards to ensure normal multicast data forwarding during master-slave switchover.
  • Page 208: Configuring Pim Gr

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Data Preparation To enable PIM GR, you need the following data. Data Unicast GR period PIM GR period 6.13.2 Configuring PIM GR After PIM GR is enabled on a device, you can set the PIM GR period as required.
  • Page 209: Configuring Pim Silent

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration mask-length | source-mask } ] | incoming-interface { interface-type interface-number | register } | outgoing-interface { include | exclude | match } { interface-type interface- number | register | none } | mode { dm | sm | ssm } | flags flag-value | fsm ]...
  • Page 210: Configuring Pim Silent

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration CAUTION If PIM silent is enabled on the interface connected to a switch, the PIM neighbor relationship cannot be set up and a multicast fault may occur.
  • Page 211: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration PIM silent is enabled. After PIM silent is enabled, the Hello packet attack of malicious hosts is effectively prevented and the switch is protected. ----End 6.14.3 Checking the Configuration After PIM silent is configured, you can run the command to check information about the PIM interface.
  • Page 212: Maintaining Pim-Sm (Ipv4)

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration 6.15 Maintaining PIM-SM (IPv4) Maintaining PIM-SM involves resetting PIM statistics, and monitoring PIM running status. 6.15.1 Clearing Statistics of PIM Control Messages If you need to re-collect the statistics about PIM control messages, you can reset the existent statistics.
  • Page 213: Monitoring The Running Status Of Pim-Sm

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Procedure Step 1 After confirming that PIM status of the specified downstream interfaces of the specified PIM entry need to be cleared, run the reset pim [ vpn-instance vpn-instance-name ] routing-table group group-address mask { group-mask-length | group-mask } source source-address interface interface-type interface-number command in the user view.
  • Page 214: Debugging Pim

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration – display pim [ vpn-instance vpn-instance-name | all-instance ] routing-table brief [ group-address [ mask { group-mask-length | group-mask } ] | source-address [ mask { source-mask-length | source-mask } ] | incoming-interface { interface-type...
  • Page 215: Configuration Examples

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Run the debugging pim [ vpn-instance vpn-instance-name | all-instance ] register [ advanced-acl-number ] command in the user view to enable the debugging of PIM Register. Run the debugging pim [ vpn-instance vpn-instance-name | all-instance ] msdp [ advanced-acl-number ] command in the user view to enable the debugging of the information exchanged between PIM and MSDP.
  • Page 216 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration GE 2/0/0 VLANIF 400 192.168.3.1/24 SwitchD GE 1/0/0 VLANIF 500 192.168.4.2/24 GE 2/0/0 VLANIF 200 192.168.1.2/24 GE 3/0/0 VLANIF 103 10.110.5.1/24 GE 4/0/0 VLANIF 104 10.110.4.1/24 SwitchE...
  • Page 217 For details on how to configure IP addresses of interfaces, see IP Addresses Configuration in the Quidway S7700 Smart Routing Switch Configuration Guide - IP Service. For details on how to configure OSPF, see OSPF Configuration in the Quidway S7700 Smart Routing Switch Configuration Guide - IP Routing.
  • Page 218 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Step 4 Enable PIM silent on SwitchA. [SwitchA] interface vlanif 101 [SwitchA-Vlanif101] pim silent Step 5 Configure the RP. NOTE The RP can be configured in two modes: the static RP and the dynamic RP. The static RP can be configured together with the dynamic RP.
  • Page 219 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration # Run the display pim bsr-info command to view information about BSR election on the Switches. For example, the BSR information on SwitchA and SwitchE (including the C-BSR information on SwitchE) is as follows: <SwitchA>...
  • Page 220 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Protocol: igmp, UpTime: 00:13:46, Expires:- (10.110.5.100, 225.1.1.1) RP: 192.168.9.2 Protocol: pim-sm, Flag: SPT ACT UpTime: 00:00:42 Upstream interface: vlanif200 Upstream neighbor: 192.168.1.2 RPF neighbor: 192.168.1.2 Downstream interface(s) information:...
  • Page 221 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration VPN-Instance: public net Total 1 (*, G) entry; 1 (S, G) entry (*, 225.1.1.1) RP: 192.168.9.2 (local) Protocol: pim-sm, Flag: WC UpTime: 00:13:16 Upstream interface: Register Upstream neighbor: 192.168.4.2 RPF neighbor: 192.168.4.2...
  • Page 222 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration ip address 192.168.1.1 255.255.255.0 pim sm interface GigabitEthernet1/0/0 port hybrid pvid vlan 100 port hybrid untagged vlan 100 interface GigabitEthernet2/0/0 port hybrid pvid vlan 101 port hybrid untagged vlan 101...
  • Page 223 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration vlan batch 102 400 multicast routing-enable acl number 2000 rule 5 permit source 232.1.1.0 0.0.0.255 interface Vlanif102 ip address 10.110.2.2 255.255.255.0 pim sm igmp enable igmp version 3 interface Vlanif400 ip address 192.168.3.1 255.255.255.0...
  • Page 224 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration port hybrid pvid vlan 200 port hybrid untagged vlan 200 interface GigabitEthernet3/0/0 port hybrid pvid vlan 103 port hybrid untagged vlan 103 interface GigabitEthernet4/0/0 port hybrid pvid vlan 104...
  • Page 225: Example For Configuring Spt Switchover In Pim-Sm Domain

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration area 0.0.0.0 network 192.168.3.0 0.0.0.255 network 192.168.2.0 0.0.0.255 network 192.168.9.0 0.0.0.255 network 192.168.4.0 0.0.0.255 c-bsr vlanif 100 c-rp vlanif 100 group-policy 2005 priority 0 static-rp 192.168.2.2 ssm-policy 2000 return 6.16.2 Example for Configuring SPT Switchover in PIM-SM...
  • Page 226 For details on how to configure IP addresses of interfaces, see IP Addresses Configuration in the Quidway S7700 Smart Routing Switch Configuration Guide - IP Service. For details on how configure OSPF, see OSPF Configuration in the Quidway S7700 Smart Routing Switch Configuration Guide - IP Routing.
  • Page 227 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration [SwitchC-Vlanif300] quit [SwitchC] interface vlanif 100 [SwitchC-Vlanif100] pim sm [SwitchC-Vlanif100] quit Step 3 Configure the static RP. # Configure the static RP on SwitchA, SwitchB, and SwitchC. The configurations of SwitchB and SwitchC are similar to configuration of SwitchA, and are not provided here.
  • Page 228 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration UpTime: 00:13:46 Upstream interface: vlanif300, Upstream neighbor: 192.168.2.2 RPF neighbor: 192.168.2.2 Downstream interface(s) information: Total number of downstreams: 1 1: vlanif102, Protocol: igmp, UpTime: 00:13:46, Expires:- (10.110.5.100, 225.1.1.1) RP: 192.168.1.1...
  • Page 229 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration pim sm interface Vlanif200 ip address 192.168.3.2 255.255.255.0 pim sm interface Vlanif300 ip address 192.168.2.1 255.255.255.0 pim sm interface GigabitEthernet1/0/0 port hybrid pvid vlan 300 port hybrid untagged vlan 300...
  • Page 230: Example For Configuring Pim Bfd

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration ospf 1 area 0.0.0.0 network 10.110.2.0 0.0.0.255 network 192.168.1.0 0.0.0.255 network 192.168.2.0 0.0.0.255 return 6.16.3 Example for Configuring PIM BFD Networking Requirements On the multicast network shown in Figure 6-4, PIM-SM is run between Switches.
  • Page 231 For details on how to configure IP addresses of interfaces, see IP Addresses Configuration in the Quidway S7700 Smart Routing Switch Configuration Guide - IP Service. For details on how configure OSPF, see OSPF Configuration in the Quidway S7700 Smart Routing Switch Configuration Guide - IP Routing.
  • Page 232 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration PIM version: 2 PIM mode: Sparse PIM state: up PIM DR: 10.1.1.2 PIM DR Priority (configured): 1 PIM neighbor count: 1 PIM Hello interval: 30 s PIM LAN delay (negotiated): 500 ms...
  • Page 233: Example For Configuring Pim Gr

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration RPF neighbor: 10.1.2.2 Downstream interface(s) information: Total number of downstreams: 1 1: Vlanif100 Protocol: pim-sm, UpTime: 00:00:42, Expires:- ----End Configuration Files SwitchA needs to be configured with only basic PIM SM functions. The configuration file is not provided here.
  • Page 234 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration As shown in Figure 6-5, multicast services are deployed on the network. When SwitchC enabled with the PIM GR function forwards multicast data to the receiver, the master MPU backs up the PIM routes and Join/Prune messages to be sent to the upstream device to the slave MPU.
  • Page 235 For details on how to configure IP addresses of interfaces, see IP Addresses Configuration in the Quidway S7700 Smart Routing Switch Configuration Guide - IP Service. For details on how to configure OSPF, see OSPF Configuration in the Quidway S7700 Smart Routing Switch Configuration Guide - IP Routing.
  • Page 236 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration # Configure the static RP on all the switches. The configurations of SwitchB and SwitchC are similar to the configuration of SwitchA, and are not provided here.
  • Page 237 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration RP: 1.1.1.1 Protocol: pim-sm, Flag: SPT ACT UpTime: 01:51:24 Upstream interface: Vlanif50 Upstream neighbor: 192.168.4.1 RPF prime neighbor: 192.168.4.1 Downstream interface(s) information: Total number of downstreams: 1...
  • Page 238 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration Downstream interface(s) information: Total number of downstreams: 1 1: Vlanif60 Protocol: pim-sm, UpTime: 02:51:24, Expires: - On a multicast network, the downstream switch periodically sends Join/Prune messages to the upstream device to update the timeout period of PIM routing entries on the upstream, thereby ensuring normal multicast data forwarding.
  • Page 239 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration return Configuration file of SwitchB sysname SwitchB vlan batch 30 40 multicast routing-enable interface Vlanif30 ip address 192.168.2.2 24 pim sm interface Vlanif40 ip address 192.168.4.1 24...
  • Page 240 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration static-rp 1.1.1.1 graceful-restart graceful-restart period 300 return Issue 01 (2011-07-15) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 241: Msdp Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 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 242 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration obtain multicast source information. You can configure filtering rules for receiving SA Request messages on a specified remote MSDP peer. 7.8 Transmitting Burst Multicast Data Between Domains By default, an SA message carries only (S, G) information. Then, if burst multicast data need be transmitted between domains, you can configure multicast data encapsulation for an SA message on the source RP.
  • Page 243: Msdp Overview

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration 7.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 244 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration You can use a loopback interface as a interface of C-RP or static RP and specify the logical RP address for an SA message. Configuring Control Parameters for Maintaining MSDP Peer Connections In the S7700, you can set up and tear down an MSDP session, and configure the period for retrying to send TCP connection requests to the remote MSDP peers.
  • Page 245: Configuring Pim-Sm Inter-Domain Multicast

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration remote peers. If the TTL value is greater than the threshold, the MSDP peer reduces the TTL value in the IP header of the multicast packet by 1, and then encapsulates the multicast packet in an SA message and sends the message out.
  • Page 246: Configuring Intra-As Msdp Peers

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Applicable Environment When a large multicast network is divided into multiple PIM-SM domains, MSDP is used to connect RPs of various domains to share the source information. In this manner, hosts in a domain can receive multicast data sent by multicast sources in other domains.
  • Page 247 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Procedure Step 1 Run: system-view The system is displayed. Step 2 Run: msdp [ vpn-instance vpn-instance-name ] MSDP is enabled in the public network instance or VPN instances and the MSDP view is displayed.
  • Page 248: Configuring Inter-As Msdp Peers On Mbgp Peers

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration l An MSDP peer can belong to only one mesh group. If an MSDP peer is configured to join different mesh groups for multiple times, only the latest configuration is valid.
  • Page 249: Configuring Static Rpf Peers

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration l text: specifies the description text. The text is a string of 80 characters. ----End 7.3.4 Configuring Static RPF Peers You can configure a static RPF peer relationship between RPs in different ASs so that PIM-SM domains in different ASs can share multicast source information.
  • Page 250: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration peer-address specifies the address of a remote MSDP peer. ----End 7.3.5 Checking the Configuration After PIM-SM inter-domain multicast is configured, you can run related commands to check brief and detailed information about MSDP peers.
  • Page 251: Configuring An Anycast Rp In A Pim-Sm Domain

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Policy to accept SA-Request messages: none Sending SA-Requests status: disable Minimum TTL to forward SA with encapsulated data: 0 SAs learned from this peer: 0, SA-cache maximum for the peer: none...
  • Page 252: Configuring The Interface Address Of An Rp

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Configuring a PIM-SM domain without any RP Data Preparation To configure an anycast RP in a PIM-SM domain, you need the following data. Data RP address Interface and address of the local MSDP peer...
  • Page 253: Configuring A C-Rp

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration l mask | mask-length: specifies the address mask of the loopback interface. Step 4 Run: pim sm PIM-SM is enabled for the RP interface. NOTE Before configuring a dynamic RP, you need to run this command. This command is not required when you configure a static RP.
  • Page 254: Configuring An Msdp Peer

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Do as follows on all switchs in the PIM-SM domain: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: pim [ vpn-instance vpn-instance-name ] The PIM view is displayed.
  • Page 255: Specifying The Logical Rp Address For An Sa Message

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Step 4 (Optional) Run: peer peer-address description text The description of the MSDP peer is added. This configuration helps to differentiate remote MSDP peers and manage the connection with the remote MSDP peers.
  • Page 256: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration The system view is displayed. Step 2 Run: msdp [ vpn-instance vpn-instance-name ] The MSDP view is displayed. Step 3 Run: originating-rp interface-type interface-number The logical RP interface is configured. The logical RP interface cannot be the same as the actual RP interface.
  • Page 257: Managing Msdp Peer Connections

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration UpTime: 00:01:57 Upstream interface: Vlanif10 Upstream neighbor: 10.3.1.2 RPF prime neighbor: 10.3.1.2 Downstream interface(s) information: Total number of downstreams: 1 1: Vlanif20 Protocol: pim-sm, UpTime: - , Expires: 7.5 Managing MSDP Peer Connections...
  • Page 258: Controlling The Sessions Between Msdp Peers

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration 7.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. You can restart the connection between the MSDP peers as required.
  • Page 259: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration The system view is displayed. Step 2 Run: msdp [ vpn-instance vpn-instance-name ] The MSDP view is displayed. Step 3 Run: timer retry interval The period for retrying sending the TCP connection request to the remote MSDP peer is set ----End 7.5.4 Checking the Configuration...
  • Page 260: Configuring The Maximum Number Of (S, G) Entries In The Cache

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Setting the maximum number of (S, G) entries can prevent the Denial of Service (DoS) attack. Users can disable the SA Cache of a switch. After the SA Cache of a switch is disabled, the switch does not locally store the (S, G) information carried in SA messages.
  • Page 261: Disabling The Sa Cache Function

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration The maximum number of (S, G) entries is set. The parameters of the command are explained as follows: l peer-address: specifies the address of a remote MSDP peer.
  • Page 262: Configuring The Sa Request

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Run the display msdp [ vpn-instance vpn-instance-name | all-instance ] sa-count [ 2- byte-as-number | 4-byte-as-number ] command to check the number of (S, G) entries in the SA Cache of the public network instance, VPN instance or all instances.
  • Page 263: Configuring "Sending Sa Request Messages" On The Local Switch

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration When the local switch wants to receive (S, G) information, it sends an SA Request message to a specified remote MSDP peer. On receiving the SA Request message, the MSDP peer responds to the SA Request message with the required (S, G) information.
  • Page 264: Optional) Configuring The Filtering Rules For Receiving Sa Request Messages

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration peer peer-address request-sa-enable Sending SA Request message is configured. peer-address specifies the address of a remote MSDP peer. When the local switch receives a new Join message from a group, it sends an SA Request message only to peer-address.
  • Page 265: Transmitting Burst Multicast Data Between Domains

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Run the display msdp [ vpn-instance vpn-instance-name | all-instance ] sa-cache [ group- address | source-address | [ 2-byte-as-number | 4-byte-as-number ] ] command to check SA Cache of the public network instance, VPN instance, or all instances.
  • Page 266: Encapsulating A Multicast Data Packet In An Sa Message

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration After the function of encapsulating a multicast packet in an SA message is enabled on the source RP, the source RP encapsulates multicast data in SA messages and sends them out. After receiving an SA message, a remote RP decapsulates the message and forwards the multicast data to users in the domain along the RPT.
  • Page 267: Optional) Setting The Ttl Threshold For Forwarding An Sa Message Containing A Multicast Data Packet

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration The MSDP view is displayed. Step 3 Run: encap-data-enable A multicast data packet is encapsulated in an SA message. By default, the SA message contains only (S, G) information, and does not contain a multicast data packet.
  • Page 268: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration 7.8.4 Checking the Configuration After the transmission of burst multicast data is configured, you can run related commands to check detailed information about MSDP peers and SA cache information.
  • Page 269: Configuring The Filtering Rules For Sa Messages

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration MSDP Total Source-Active Cache - 3 entries MSDP matched 3 entries (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...
  • Page 270: Setting Rules For Creating An Sa Message

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Data Preparation To configure the filtering rules for SA messages, you need the following data. Data Filtering list for creating SA messages Filtering list for receiving SA messages...
  • Page 271: Setting Rules For Receiving An Sa Message

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration 7.9.3 Setting Rules for Receiving an SA Message You can set the rules for filtering the received SA messages on a specified remote MSDP peer. When SA messages sent by a remote MSDP peer reach the local device, the local device determines whether to accept the messages based on the set rules.
  • Page 272: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: msdp [ vpn-instance vpn-instance-name ] The MSDP view is displayed. Step 3 Run: peer peer-address sa-policy export [ acl advanced-acl-number ] The rules for filtering an SA message forwarded to a remote MSDP peer is set.
  • Page 273: Configuring Msdp Authentication

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Information about (Source, Group)-based SA filtering policy: 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 274: Configuring Msdp Md5 Authentication

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Pre-configuration Tasks Before configuring MSDP authentication, complete the following tasks: Configuring a unicast routing protocol to implement IP interworking between domains Enabling IP multicast Configuring PIM-SM domains to implement intra-domain multicast...
  • Page 275: Configuring Msdp Key-Chain Authentication

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration 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 276: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration 7.10.4 Checking the Configuration After MSDP authentication is configured, you can run related commands to check brief and detailed information about MSDP peers. Procedure Run the display msdp [ vpn-instance vpn-instance-name | all-instance ] brief command to check brief information about MSDP peers.
  • Page 277: Clearing (S, G) Information In Sa Cache

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Context CAUTION The statistics of MSDP peers cannot be restored after you clear it. So, confirm the action before you use the command. Procedure Run the reset msdp [ vpn-instance vpn-instance-name | all-instance ] peer [ peer- address ] command in the user view to clear the TCP connection with a specified MSDP peer and all statistics of the specified MSDP peer.
  • Page 278: Debugging Msdp

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Context In routine maintenance, you can run the following commands in any view to check the running status of MSDP. Procedure Run the display msdp [ vpn-instance vpn-instance-name | all-instance ] brief [ state { connect | down | listen | shutdown | up } ] command in any view to check brief information about the MSDP peer status.
  • Page 279: Configuration Examples

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Run the debugging msdp [ vpn-instance vpn-instance-name | all-instance ] event command in the user view to enable the debugging of MSDP events. Run the debugging msdp [ vpn-instance vpn-instance-name | all-instance ] packet command in the user view to enable the debugging of MSDP packets.
  • Page 280 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Figure 7-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 GE1/0/0 SwitchA SwitchC GE1/0/0 GE1/0/0 GE2/0/0 GE2/0/0 GE2/0/0 GE2/0/0 SwitchB GE3/0/0...
  • Page 281 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 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 C-BSR and C-RP. Configure the RPs of PIM-SM1 and PIM-SM2 on the ASBR.
  • Page 282 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration # Enable multicast on SwitchB and enable PIM-SM on each interface. The configurations of other Switches are similar to the configuration of SwitchB, and are not provided here.
  • Page 283 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Local AS number : 100 Total number of peers : 1 Peers in established state : 1 Peer MsgRcvd MsgSent OutQ Up/Down State PrefRcv 192.168.2.2 00:13:09 Established <SwitchC> display bgp peer BGP local router ID : 2.2.2.2...
  • Page 284 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration <SwitchB> display msdp peer-status MSDP Peer Information of VPN-Instance: public net MSDP Peer 192.168.2.2, AS 200 Description: Information about connection status: State: Up Up/down time: 00:15:47 Resets: 0 Connection interface: vlanif200 (192.168.2.1)
  • Page 285 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration 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 Downstream interface(s) information: Total number of downstreams: 1 1: vlanif300 Protocol: pim-sm, UpTime: 00:00:42, Expires:- (10.110.3.2, 225.1.1.1)
  • Page 286 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration 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 GigabitEthernet1/0/0 port hybrid pvid vlan 200 port hybrid untagged vlan 200...
  • Page 287 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration 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 import-route ospf 1 ospf 1 import-route bgp area 0.0.0.0...
  • Page 288: Example For Configuring Inter-As Multicast By Using Static Rpf Peers

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration pim sm pim bsr-boundary interface Vlanif500 ip address 192.168.5.1 255.255.255.0 pim sm interface GigabitEthernet2/0/0 port hybrid pvid vlan 500 port hybrid untagged vlan 500 interface GigabitEthernet3/0/0 port hybrid pvid vlan 400...
  • Page 289 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Networking Requirements As shown in Figure 7-2, two ASs exist on the network. Each AS contains one or more PIM-SM domains; each PIM-SM domain has 0 or 1 multicast source and receiver. MSDP peers need to be set up between PIM-SM domains to share the information of the multicast source.
  • Page 290 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Configuration Roadmap Set up an MSDP peer on the RP in each PIM-SM domain. Establish the static RPF peer relationship between MSDP peers. In this way, the source information can be transmitted across domains without changing unicast topology.
  • Page 291 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration [SwitchC] multicast routing-enable [SwitchC] interface vlanif 100 [SwitchC-Vlanif100] pim sm [SwitchC-Vlanif100] quit [SwitchC] interface vlanif 400 [SwitchC-Vlanif400] pim sm [SwitchC-Vlanif400] quit # Configure the service boundary of BSR on VLANIF 500 of SwitchA, VLANIF 200 of SwitchB, VLANIF 200 of SwitchE, and VLANIF 500 of SwitchF.
  • Page 292 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Configured Listen Connect Shutdown Down Peer's Address State Up/Down time SA Count Reset Count 192.168.3.2 01:07:08 192.168.5.1 00:16:39 <SwitchD> display msdp brief MSDP Peer Brief Information of VPN-Instance: public net...
  • Page 293 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Configuration file of SwitchC sysname SwitchC vlan batch 100 400 multicast routing-enable interface Vlanif100 ip address 192.168.1.1 255.255.255.0 pim sm interface Vlanif 400 ip address 192.168.4.1 255.255.255.0 pim sm...
  • Page 294 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration area 0.0.0.0 network 192.168.3.0 0.0.0.255 network 2.2.2.2 0.0.0.0 c-bsr LoopBack0 c-rp LoopBack0 ip ip-prefix list-c permit 192.168.0.0 16 greater-equal 16 less-equal 32 msdp peer 192.168.1.1 connect-interface vlanif300 static-rpf-peer 192.168.1.1 rp-policy list-c...
  • Page 295: Example For Configuring Anycast Rp

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration interface Vlanif103 ip address 10.110.3.1 255.255.255.0 pim sm interface Vlanif104 ip address 10.110.4.1 255.255.255.0 pim sm igmp enable interface Vlanif600 ip address 192.168.6.2 255.255.255.0 pim sm interface GigabitEthernet1/0/0...
  • Page 296 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Figure 7-3 Networking diagram for configuring anycast RP SwitchB Receiver user2 GE2/0/0 GE1/0/0 Loopback10 PIM-SM GE3/0/0 GE2/0/0 Source SwitchD Loopback1 Source GE1/0/0 GE1/0/0 SwitchA Loopback0 GE2/0/0 Loopback0 GE1/0/0...
  • Page 297 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Configure IP addresses for the interfaces of each Switch and configure OSPF in the PIM- SM domain. Enable multicast on all Switches and PIM-SM on all interfaces and enable the IGMP function on the interfaces connected the hosts.
  • Page 298 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration [SwitchC-LoopBack10] quit [SwitchC] pim [SwitchC-pim] c-bsr loopback 1 [SwitchC-pim] c-rp loopback 10 [SwitchC-pim] quit Step 4 Configure Loopback0 interfaces and MSDP peers. # Configure the MSDP peer on Loopback0 of SwitchC.
  • Page 299 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Total number of downstreams: 1 1: vlanif104 Protocol: static, UpTime: 00:28:49, Expires: - (10.110.5.1, 225.1.1.1) RP: 10.1.1.1 (local) Protocol: pim-sm, Flag: SPT 2MSDP ACT UpTime: 00:02:26 Upstream interface: vlanif101 Upstream neighbor: 10.110.1.2...
  • Page 300 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration Configuration Files Configuration file of SwitchA The configuration files of SwitchB and SwitchE are similar to the configuration file of SwitchA, and are not provided here. sysname SwitchA...
  • Page 301 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 7 MSDP Configuration interface LoopBack0 ip address 1.1.1.1 255.255.255.255 pim sm interface LoopBack1 ip address 3.3.3.3 255.255.255.255 pim sm interface LoopBack10 ip address 10.1.1.1 255.255.255.255 pim sm ospf 1 area 0.0.0.0 network 10.110.1.0 0.0.0.255...
  • Page 302: Ipv4 Multicast Vpn Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration IPv4 Multicast VPN Configuration About This Chapter With wide applications of the VPN technology, the requirements for operating multicast services over the VPN are increasingly stringent. Multicast VPN is mainly used in the MPLS/BGP VPN for multicast data transmission.
  • Page 303: Overview Of Ipv4 Multicast Vpn

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration 8.1 Overview of IPv4 Multicast VPN This section takes the networking where the public network PE supports multi-instance IPv4 multicast VPN as an example to describe concepts of the IPv4 multicast VPN and networking requirements for implementing the IPv4 multicast VPN.
  • Page 304: Ipv4 Multicast Vpn Supported By The S7700

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration To implement multicast VPN, the following network conditions need to be met: Each site supports multicast based on VPN instances. Public network supports multicast based on the public network instance.
  • Page 305: Configuring Basic Md Vpn Functions

    VPN instance-to-VPN Instance connection method Multi-hop EBGP connection method NOTE For detailed implementation process, refer to the chapter "Multicast VPN" in the Quidway S7700 Smart Routing Switch Feature Description - IP Multicast. 8.3 Configuring Basic MD VPN Functions By configuring the IPv4 multicast VPN through the MD solution, you can enable the transmission of private multicast data over a public network.
  • Page 306: Enabling Ip Multicast Routing

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration Data VPN instance name and Route Distinguisher Share-Group address Address and MTU of MTI 8.3.2 Enabling IP Multicast Routing Before configuring basic MD VPN functions, enable IP multicast routing.
  • Page 307: Configuring Share-Group And Binding An Mti

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface eth-trunk trunk-id The Eth-Trunk interface view is displayed. Step 3 Run: service type multicast-tunnel The Eth-Trunk is configured as a multicast loopback interface.
  • Page 308: Configuring An Mti

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration NOTE After an MTI is created using the command in this step, the system automatically configures PIM on the MTI. You do not need to configure PIM on this MTI.
  • Page 309: Configuring Switch-Mdt Switchover

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration Procedure Run the display multicast-domain vpn-instance vpn-instance-name share-group [ local | remote ] command to check Share-Group information of a specified VPN instance in an MD.
  • Page 310: Optional) Setting Switching Parameters Of Switch-Mdt

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration Data VPN instance name The address range and mask of the switch-group-pool of Switch-MDT Switching threshold Delay for switching from Share-MDT to Switch-MDT Delay for switching from Switch-MDT to Share-MDT 8.4.2 (Optional) Setting Switching Parameters of Switch-MDT...
  • Page 311: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration The delay for switching to Switch-MDT is configured. By default, the delay is 5 seconds. Step 5 (Optional) Run: multicast-domain holddown-time interval The duration for keeping the rate of VPN multicast data lower than the threshold before reversely switching from Switch-MDT to Share-MDT is set.
  • Page 312: Debugging Ipv4 Multicast Vpn

    When a fault occurs during the running of MD VPN, run the debugging command in the user view to debug MD VPN and locate the fault. For more information about debugging commands, refer to the Quidway S7700 Smart Routing Switch Debugging Reference.
  • Page 313: Configuration Examples

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration Context In the VPN instance on the source PE, if the number of VPN multicast data flows that need to be switched is more than the number of group addresses in the switch-group-pool of Switch- MDT, the group addresses in the switch-group-pool can be used repeatedly.
  • Page 314 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration Figure 8-2 Networking diagram of a single-AS MD VPN NOTE GE1 indicates GigabitEthernet 1/0/0; GE2 indicates GigabitEthernet 2/0/0; GE3 indicates GigabitEthernet 3/0/0.Table 8-1 lists the IP address of each interface in the figure.
  • Page 315 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration Device Interface IP Address Remarks GE3: 10.110.2.1/24 GE3 belongs to the VPN-RED instance. VLANIF 60 Loopback 1: 1.1.1.1/32 Loopback 1 belongs to the public network instance.
  • Page 316 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration Device Interface IP Address Remarks CE-Bb GE1: 10.110.8.1/24 VLANIF 150 GE2: 10.110.3.2/24 VLANIF 160 CE-Rb GE1: 10.110.9.1/24 VLANIF 170 GE2: 10.110.4.2/24 VLANIF 180 GE3: 10.110.12.1/24 VLANIF 190 Loopback 1: 22.22.22.22/32...
  • Page 317 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration Table 8-2 Networking requirements of the single-AS MD VPN Item Requirements Multicast source The multicast source of VPN-RED is Source 1; the receivers of VPN- and receivers RED are PC1, PC2, and PC3.
  • Page 318 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration Enable the multicast function and the PIM function on the entire network. Configure the public network-based multicast between PEs and Ps and configure the VPN instance-based multicast between PEs and CEs.
  • Page 319 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration [PE-A-GigabitEthernet2/0/0] port hybrid pvid vlan 50 [PE-A-GigabitEthernet2/0/0] port hybrid untagged vlan 50 [PE-A-GigabitEthernet2/0/0] quit [PE-A] interface vlanif 50 [PE-A-Vlanif50] ip binding vpn-instance RED [PE-A-Vlanif50] ip address 10.110.1.1 24...
  • Page 320 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration [PE-B] mpls lsr-id 1.1.1.2 [PE-B] mpls [PE-B-mpls] quit [PE-B] mpls ldp [PE-B-mpls-ldp] quit # Configure Eth-Trunk 10 as the multicast loopback interface. [PE-B] interface eth-trunk 10...
  • Page 321 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration [PE-B] interface vlanif 90 [PE-B-Vlanif90] ip binding vpn-instance RED [PE-B-Vlanif90] ip address 10.110.4.1 24 [PE-B-Vlanif90] pim sm # Assign an IP address to Loopback 1 and start PIM-SM.
  • Page 322 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration [PE-C] mpls [PE-C-mpls] quit [PE-C] mpls ldp [PE-C-mpls-ldp] quit # Configure Eth-Trunk 10 as the multicast loopback interface. [PE-C] interface eth-trunk 10 [PE-C-Eth-Trunk10] trunkport GigabitEthernet 3/0/5...
  • Page 323 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration [PE-C-Vlanif120] ip binding vpn-instance BLUE [PE-C-Vlanif120] ip address 10.110.6.1 24 [PE-C-Vlanif120] pim sm # Assign an IP address to Loopback 1 and start PIM-SM. [PE-C] interface loopback 1 [PE-C-LoopBack1] ip address 1.1.1.3 32...
  • Page 324 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration [PE-C-rip-2] import-route bgp cost 3 [PE-C-rip-2] quit [PE-C] rip 3 vpn-instance BLUE [PE-C-rip-3] network 10.0.0.0 [PE-C-rip-3] import-route bgp cost 3 Step 4 Configure the P. # Enable IP multicast routing of the public network, configure the ID of the MPLS LSR, and then enable LDP.
  • Page 325 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration [P-ospf-1] area 0.0.0.0 [P-ospf-1-area-0.0.0.0] network 2.2.2.2 0.0.0.0 [P-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.255.255 [P-ospf-1-area-0.0.0.0] quit Step 5 Configure CE-Ra. # Enable IP multicast routing. [CE-Ra] multicast routing-enable # Enable PIM-SM on GigabitEthernet 1/0/0.
  • Page 326 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration Step 7 Configure CE-Rb. # Enable IP multicast routing. [CE-Rb] multicast routing-enable # Enable PIM-SM and IGMP on GigabitEthernet 1/0/0. [CE-Rb] interface gigabitethernet 1/0/0 [CE-Rb-GigabitEthernet1/0/0] port hybrid pvid vlan 170...
  • Page 327 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration [CE-Rc] interface vlanif 200 [CE-Rc-Vlanif200] ip address 10.110.10.1 24 [CE-Rc-Vlanif200] pim sm [CE-Rc-Vlanif200] igmp enable # Enable PIM-SM on GigabitEthernet 2/0/0. [CE-Rc] interface gigabitethernet 2/0/0 [CE-Rc-GigabitEthernet2/0/0] port hybrid pvid vlan 210...
  • Page 328 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration Configuration Files Configuration file of PE-A sysname PE-A router id 1.1.1.1 multicast routing-enable mpls lsr-id 1.1.1.1 mpls mpls ldp ip vpn-instance RED route-distinguisher 100:1 vpn-target 100:1 export-extcommunity...
  • Page 329 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration peer 1.1.1.2 group VPN-G peer 1.1.1.3 as-number 100 peer 1.1.1.3 group VPN-G ipv4-family unicast undo synchronization peer VPN-G enable peer 1.1.1.2 enable peer 1.1.1.2 group VPN-G peer 1.1.1.3 enable...
  • Page 330 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration interface Vlanif80 ip binding vpn-instance BLUE ip address 10.110.3.1 255.255.255.0 pim sm interface Eth-Trunk10 service type multicast-tunnel interface Vlanif90 ip binding vpn-instance RED ip address 10.110.4.1 255.255.255.0...
  • Page 331 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration import-route direct ospf 1 area 0.0.0.0 network 1.1.1.2 0.0.0.0 network 192.168.0.0 0.0.255.255 rip 2 vpn-instance RED network 10.0.0.0 import-route bgp cost 3 rip 3 vpn-instance BLUE network 10.0.0.0...
  • Page 332 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration port hybrid pvid vlan 110 port hybrid untagged vlan 110 interface GigabitEthernet3/0/0 port hybrid pvid vlan 120 port hybrid untagged vlan 120 interface LoopBack1 ip address 1.1.1.3 255.255.255.255...
  • Page 333 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration import-route bgp cost 3 rip 3 vpn-instance BLUE network 10.0.0.0 import-route bgp cost 3 return Configuration file of P sysname P multicast routing-enable mpls lsr-id 2.2.2.2...
  • Page 334 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration interface Vlanif130 ip address 10.110.7.1 255.255.255.0 pim sm interface Vlanif140 ip address 10.110.2.2 255.255.255.0 pim sm interface GigabitEthernet1/0/0 port hybrid pvid vlan 130 port hybrid untagged vlan 130...
  • Page 335 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration port hybrid pvid vlan 170 port hybrid untagged vlan 170 interface GigabitEthernet2/0/0 port hybrid pvid vlan 180 port hybrid untagged vlan 180 interface GigabitEthernet3/0/0 port hybrid pvid vlan 190...
  • Page 336 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration interface Vlanif230 ip address 10.110.11.1 255.255.255.0 pim sm igmp enable interface Vlanif240 ip address 10.110.6.2 255.255.255.0 pim sm interface GigabitEthernet1/0/0 port hybrid pvid vlan 230 port hybrid untagged vlan 230...
  • Page 337: Ipv4 Multicast Routing Management

    Quidway S7700 Smart Routing Switch 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 338 Quidway S7700 Smart Routing Switch 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 339: Overview Of Ipv4 Multicast Routing Management

    Quidway S7700 Smart Routing Switch 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 340 Quidway S7700 Smart Routing Switch 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 341: 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 S7700 Smart Routing Switch 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 342: Establishing The Configuration Task

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management 9.3.1 Establishing the Configuration Task Before configuring static multicast routes, familiarize yourself with the applicable environment, pre-configuration tasks, and required data. This can help you complete the configuration task quickly and accurately.
  • Page 343: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Context CAUTION When configuring a static multicast route, configure the outgoing interface through the command if the next hop is in the point-to-point format. If the next hop is not in the point-to-point format, you must use the next hop.
  • Page 344: Configuring The Multicast Routing Policy

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Run the display multicast [ vpn-instance vpn-instance-name | all-instance ] rpf-info source-address [ group-address ] [ rpt | spt ] command to check RPF routing information of a specified multicast source.
  • Page 345: Configuring Multicast Load Splitting

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management device selects a route as the multicast data forwarding path in the order of the static route, inter- domain unicast route, and intra-domain unicast route. Context CAUTION Configurations related to VPN instances are applicable only to the PE switch.
  • Page 346 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Context CAUTION Configurations related to VPN instances are applicable only to the PE switch. When configuring load splitting among multicast routes for a VPN instance on a PE, perform the configuration in the VPN instance.
  • Page 347 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management – source-group: indicates source and group addresses-based load splitting. This policy is applicable to the scenario of multiple sources to multiple groups. NOTE It is recommended to adopt a fixed IPv4 multicast load splitting policy based on the actual networking.
  • Page 348: Configuring A Multicast Load Splitting Weight

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management By default, the multicast load splitting weight of an interface is 1. The greater the multicast load splitting weight of an interface, the more multicast routing entries with this interface being the upstream interface. When the multicast load splitting weight on an interface is 0, it indicates that the routes with this interface being the upstream interface do not take part in load splitting.
  • Page 349: Configuring The Multicast Forwarding Scope

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Procedure Run the following commands to check the multicast routing table. – display multicast { vpn-instance vpn-instance-name | all-instance } routing-table [ group-address [ mask { group-mask | group-mask-length } ] | source-address...
  • Page 350: Configuring The Multicast Forwarding Boundary

    Quidway S7700 Smart Routing Switch 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 351: Configuring Control Parameters Of The Multicast Forwarding Table

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management interface { interface-type interface-number | register } | outgoing-interface { include | exclude | match } { interface-type interface-number | vpn-instance vpn- instance-name | register | none } ]...
  • Page 352: Setting The Maximum Number Of Entries In Multicast Forwarding Table

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Data Preparation To configure control parameters of the multicast forwarding table, you need the following data. Data Multicast source address, group address, and mask or mask length...
  • Page 353: Setting The Maximum Number Of Downstream Nodes Of Multicast Forwarding Entry

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management system-view The system view is displayed. Run: ip vpn-instance vpn-instance-name The VPN instance view is displayed. Run: multicast forwarding-table route-limit limit The maximum number of entries in the multicast forwarding table is configured.
  • Page 354: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Run: system-view The system view is displayed. Run: ip vpn-instance vpn-instance-name The VPN instance view is displayed. Run: multicast forwarding-table downstream-limit limit The maximum number of downstream nodes of a forwarding entry in the multicast forwarding table is configured.
  • Page 355: Check Rpf Paths And Multicast Paths

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Run the ping multicast [ -c count | -h ttl-value | -m time | -p pattern | -q | -s packet(s)ize | -t timeout | -tos tos-value | -v ] host command in any view to ping a common group address.
  • Page 356: Monitoring The Status Of Multicast Routing And Forwarding

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Context CAUTION The reset command clears the entries in the multicast forwarding table or the multicast routing table. It may result in abnormal multicast information forwarding. After the routing entries in the multicast routing table are cleared, the corresponding forwarding entries corresponding to the public network instance or VPN instance are also cleared.
  • Page 357: Debugging Multicast Routing And Forwarding

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management type interface-number | register | none } | statistics ] command in any view to check the multicast forwarding table. Run the following commands in any view to check the multicast routing table.
  • Page 358: Configuration Examples

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Run the debugging mrm [ vpn-instance vpn-instance-name | all-instance ] { all | event | packet [ advanced-acl-number ] | route [ advanced-acl-number ] } command in the user view to enable the debugging of multicast routing management.
  • Page 359 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management GE 3/0/0 VLANIF 30 12.1.1.2/24 Configuration Roadmap The configuration roadmap is as follows: Configure the IP addresses of interfaces and the unicast routing protocol on each Switch.
  • Page 360 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management RPF interface: vlanif10, RPF neighbor: 9.1.1.1 Referenced route/mask: 8.1.1.0/24 Referenced route type: unicast Route selection rule: preference-preferred Load splitting rule: disable Step 3 Configure the static multicast route.
  • Page 361 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management network 9.1.1.0 0.0.0.255 network 12.1.1.0 0.0.0.255 return Configuration file of Switch B sysname SwitchB vlan batch 10 40 50 multicast routing-enable interface Vlanif10 ip address 9.1.1.2 255.255.255.0...
  • Page 362: Example For Connecting Rpf Routes Through Static Multicast Routes

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management port hybrid untagged vlan 30 ospf 1 area 0.0.0.0 network 12.1.1.0 0.0.0.255 network 13.1.1.0 0.0.0.255 return 9.8.2 Example for Connecting RPF Routes Through Static Multicast Routes...
  • Page 363 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Switch C GE 1/0/0 VLANIF 20 10.1.2.1/24 GE 2/0/0 VLANIF 12 10.1.1.1/24 Configuration Roadmap The configuration roadmap is as follows: Configure the IP addresses of interfaces and the unicast routing protocol on each Switch.
  • Page 364 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management [SwitchC] multicast routing-enable [SwitchC] interface vlanif 20 [SwitchC-Vlanif20] pim dm [SwitchC-Vlanif20] quit [SwitchC] interface vlanif 12 [SwitchC-Vlanif12] pim dm [SwitchC-Vlanif12] igmp enable [SwitchC-Vlanif12] quit # Source 1 (10.1.3.2/24) and Source 2 (10.1.5.2/24) send multicast data to the multicast group G (225.1.1.1).
  • Page 365 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management 1: vlanif12 Protocol: pim-dm, UpTime: 01:38:19, Expires: never (10.1.3.2, 225.1.1.1) Protocol: pim-dm, Flag: ACT UpTime: 00:00:44 Upstream interface: vlanif20 Upstream neighbor: 10.1.2.2 RPF prime neighbor: 10.1.2.2...
  • Page 366: Example For Configuring Multicast Load Splitting

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management interface Vlanif13 ip address 10.1.3.1 255.255.255.0 pim dm interface Vlanif20 ip address 10.1.2.2 255.255.255.0 pim dm interface Vlanif40 ip address 10.1.4.1 255.255.255.0 pim dm interface GigabitEthernet1/0/0...
  • Page 367 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Networking Requirements RPF check is the basis of route selection and unicast routes are used to forward multicast traffic. According to RPF check, a unique route is selected to forward multicast data. If multicast traffic is heavy, network congestion may occur and multicast services are affected.
  • Page 368 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management GE2/0/1 192.168.1.1/24 GE2/0/0 192.168.5.1/24 VLANIF20 VLANIF80 GE2/0/2 192.168.2.1/24 Switch D GE1/0/0 192.168.3.2/24 VLANIF30 VLANIF90 GE2/0/3 192.168.3.1/24 GE2/0/0 192.168.6.1/24 VLANIF40 VLANIF100 LoopBack0 1.1.1.1/32 Switch E GE1/0/1 192.168.4.2/24...
  • Page 369 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Procedure Step 1 Assign IP addresses to interfaces on the switches according to Figure 9-3. The configuration details are not provided here. Step 2 Configure IS-IS to implement interworking among switches and ensure that route costs are the same.
  • Page 370 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management (*, G) and (S, G) entries are evenly distributed to the three equal-cost routes, with the upstream interfaces being VLANIF130, VLANIF120, and VLANIF110. NOTE The load splitting algorithm processes (*, G) and (S, G) entries separately with the same processing rule.
  • Page 371 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management Configuration Files Configuration file of Switch A. sysname SwitchA multicast routing-enable isis 1 network-entity 10.0000.0000.0001.00 interface Vlanif10 ip address 10.110.1.2 255.255.255.0 isis enable 1 pim sm interface Vlanif20 ip address 192.168.1.1 255.255.255.0...
  • Page 372 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management isis enable 1 pim sm interface Vlanif60 ip address 192.168.4.1 255.255.255.0 isis enable 1 pim sm interface GigabitEthernet1/0/0 port link-type hybrid port hybrid tagged vlan 50...
  • Page 373 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 9 IPv4 Multicast Routing Management interface GigabitEthernet2/0/0 port link-type hybrid port hybrid tagged vlan 100 return Configuration file of Switch E. sysname SwitchE multicast routing-enable multicast load-splitting stable-preferred isis 1 network-entity 10.0000.0000.0005.00 interface Vlanif110 ip address 192.168.4.2 255.255.255.0...
  • Page 374: Mld Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration MLD Configuration About This Chapter On an IPv6 network, by configuring MLD on an interface of a multicast device connected with the user network segment, you can manage group members on the local network.
  • Page 375 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration setting the maximum number of global MLD group memberships, maximum number of global MLD group memberships in a single instance, and maximum number of MLD group memberships on an interface.
  • Page 376: Mld Overview

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration 10.1 MLD Overview MLD is short for Multicast Listener Discovery. It has two versions: MLDv1 and MLDv2. MLDv1 supports the ASM model and MLDv2 can directly support the SSM model.
  • Page 377: Configuring Basic Mld Functions

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration SSM Mapping For MLDv1 hosts, you can configure SSM mapping to build a multicast network of the SSM model. Limiting the Number of MLD Group Memberships Limiting the total number of MLD group memberships on a switch: The total number of MLD group memberships created by a switch cannot exceed the limit value.
  • Page 378: Enabling Ipv6 Multicast Routing

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration Data Preparation To configure basic MLD functions, you need the following data. Data MLD version Group address and source address ACL6 rules for filtering multicast groups 10.3.2 Enabling IPv6 Multicast Routing Before configuring basic MLD functions, enable IPv6 multicast routing.
  • Page 379: Optional) Configuring The Mld Version

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration interface-type interface-number specifies the interface connected to hosts. Step 3 Run: mld enable MLD is enabled on the interface. By default, MLD is not enabled on the interface.
  • Page 380: Optional) Configuring The Range Of Groups An Interface Can Join

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration members and keeps on forwarding matched multicast packets to the network segment where this interface resides. Context Do as follows on the switch connected to hosts: NOTE This configuration is optional. By default, the interface does not statically join any group.
  • Page 381: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration The interface view is displayed. Step 3 Run: mld group-policy { acl6-number | acl6-name acl6-name } [ 1 | 2 ] The range of groups that the interface can join is configured.
  • Page 382: Configuring The Router-Alert Option Of An Mld Packet

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration Data Whether the Router-Alert option is set in the packet 10.4.2 Configuring the Router-Alert Option of an MLD Packet To make the multicast device connected with the user network segment or other MLD interfaces...
  • Page 383: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. Run: mld require-router-alert The Router-Alert option is required in the received MLD packet. If the received the MLD packet does not carry the Router-Alert option, the packet is discarded.
  • Page 384: Optional) Configuring Mld Query And Response

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration The MLD querier periodically sends MLD Query messages on the share network connected to receivers. When receiving a Report message from a member, the switchs on the shared network refresh information about the member relationship.
  • Page 385 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration Do as follows on the switch connected to hosts: NOTE The configuration involves the following cases: l Global configuration: It is valid on all interfaces. l Configuration on an interface: The configuration on an interface takes precedence over the global configuration.
  • Page 386 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration query messages, and maximum response time are used, the Keepalive period of the other MLD queriers is 255 seconds. Run: lastlistener-queryinterval interval The interval for sending last listener query messages is set.
  • Page 387: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration 10.5.3 Checking the Configuration After MLD query control is configured, you can check MLD configurations and running information on the interface to ensure normal running of MLD. Procedure...
  • Page 388: Enabling Ssm Mapping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration Data Interface that needs to be enabled with SSM mapping Group address/mask and source address/mask 10.6.2 Enabling SSM Mapping Prior to configuring SSM mapping, enable SSM mapping on the interface that connects the multicast device to the user network segment;...
  • Page 389: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration Context Do as follows on the switch connected to hosts: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: The MLD view is displayed.
  • Page 390: Configuration Mld Limit Function

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration 10.7 Configuration MLD Limit Function If you want to restrict the servable IPTV ICPs and the number of access users on an IP core network, the MLD limit function is required. Configuring the MLD limit function involves...
  • Page 391: Configuring The Maximum Number Of Global Mld Group Memberships

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration 10.7.2 Configuring the Maximum Number of Global MLD Group Memberships Configure the maximum number of MLD entries that can be created on the multicast device connected with the user network segment. When the number of MLD entries reaches the limit, the system does not create any new MLD entry.
  • Page 392: Configuring The Maximum Number Of Mld Group Memberships On An Interface

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration The maximum number of global MLD entries in a single instance is set. ----End 10.7.4 Configuring the Maximum Number of MLD Group Memberships on an Interface Configure the maximum number of MLD entries that can be created on the interface of the multicast device connected with the user network segment.
  • Page 393: Maintaining Mld

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration – display mld group [ ipv6-group-address | interface interface-type interface-number ] [ verbose ] – display mld group [ ipv6-group-address | interface interface-type interface-number ] ssm-mapping [ verbose ] # Run the display mld interface command to view the configuration and running status of MLD on the switch interface.
  • Page 394: Monitoring The Running Status Of Mld

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration Run the following commands in the user view to clear the MLD groups that the interface dynamically joins (not including the MLDv1 group in the SSM range). – reset mld group all –...
  • Page 395: Debugging Mld

    When an MLD fault occurs, run the following debugging commands in the user view to locate the fault. For the explanation of debugging commands, refer to the Quidway S7700 Smart Routing Switch Debugging Reference. Procedure...
  • Page 396 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration Figure 10-1 Networking diagram for configuring basic MLD functions Ethernet HostA SwitchA Receiver GE2/0/0 GE1/0/0 HostB 3000::12/64 SwitchB Leaf network GE2/0/0 GE1/0/0 3001::10/64 HostC PIM network Receiver SwitchC...
  • Page 397 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration <SwitchA> system-view [SwitchA] multicast ipv6 routing-enable [SwitchA] interface vlanif 100 [SwitchA-Vlanif100] pim ipv6 sm [SwitchA-Vlanif100] mld enable [SwitchA-Vlanif100] mld version 2 [SwitchA-Vlanif100] quit The configurations of SwitchB and SwitchC are similar to the configuration of SwitchA, and are not provided here.
  • Page 398 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration ipv6 enable ipv6 address 3000::12/64 pim ipv6 sm mld enable mld version 2 interface GigabitEthernet1/0/0 port hybrid pvid vlan 100 port hybrid untagged vlan 100 interface GigabitEthernet2/0/0 port hybrid pvid vlan 101...
  • Page 399: Example For Configuring Mld Limit

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration interface GigabitEthernet1/0/0 port hybrid pvid vlan 300 port hybrid untagged vlan 300 interface GigabitEthernet2/0/0 port hybrid pvid vlan 301 port hybrid untagged vlan 301 return 10.9.2 Example for Configuring MLD Limit...
  • Page 400 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration GE2/0/0 VLANIF201 2002::1/64 SwitchC GE1/0/0 VLANIF300 3001::12/64 GE2/0/0 VLANIF301 2003::1/64 Configuration Roadmap The configuration roadmap is as follows: Enable IPv6 multicast. Enable PIM-IPv6-SM on all switch interfaces. Enable MLD on the interface at the host side.
  • Page 401 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration [SwitchA] interface vlanif 100 [SwitchA-Vlanif100] mld limit 30 [SwitchA-Vlanif100] quit # Configurations of Switch B and Switch C are similar to those of Switch A, and are not mentioned here.
  • Page 402 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration limit 40 return Configuration file of Switch B sysname SwitchB vlan batch 200 201 ipv6 mld global limit 50 multicast ipv6 routing-enable interface Vlanif200 ipv6 enable ipv6 address 3001::10/64...
  • Page 403 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 10 MLD Configuration interface GigabitEthernet2/0/0 pport hybrid pvid vlan 301 port hybrid untagged vlan 301 limit 40 return Issue 01 (2011-07-15) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 404: Mld Snooping Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 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 S7700. 11.1 Overview of MLD Snooping When MLD snooping is enabled, the S7700 creates a Layer 2 forwarding table for multicast data packets by listening to MLD messages.
  • Page 405 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration This section provides several configuration examples of MLD snooping. Issue 01 (2011-07-15) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 406: Overview Of Mld Snooping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration 11.1 Overview of MLD Snooping When MLD snooping is enabled, the S7700 creates a Layer 2 forwarding table for multicast data packets by listening to MLD messages. In this manner, the S7700 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 407: Enabling Mld Snooping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration Interval for sending the MLD Last Member Query messages. This timer helps the S7700 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 408: Enabling Mld Snooping On The S7700

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration Adding interfaces to the VLAN Data Preparation To enable MLD snooping, you need the following data. Data ID of the VLAN where MLD snooping needs to be enabled...
  • Page 409: Enabling Mld Snooping In A Vlan

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration 11.3.3 Enabling MLD Snooping in a VLAN Context To enable MLD snooping in a VLAN, do as follows on the S7700. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 410: Optional) Configuring An Interface As A Static Router Interface

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration NOTE l Before using the mld-snooping static-group command, ensure that the interface is added to the VLAN specified by vlan-id; otherwise, the configuration fails. l If the source-address parameter is specified in the mld-snooping static-group command, the MLD version must be V2;...
  • Page 411: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration Step 3 Run: mld-snooping version version The version is configured for MLD protocol packets that can be processed by MLD snooping. The version can be set to 1 or 2.
  • Page 412: Configuring A Multicast Group Policy

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration Data ID of the VLAN where the multicast group policy is to be configured and number of the interface connected to the multicast source in the VLAN...
  • Page 413: Configuring Prompt Leave Of Interfaces

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration Procedure Step 1 Run the display mld-snooping [ vlan vlan-id ] [ configuration ] command to check the configuration of MLD snooping in a VLAN. Step 2 Run the display mld-snooping port-info [ vlan vlan-id [ group group-ipv6-address [ source- address source-ipv6-address ] | verbose ] ] command to check the configuration of MLD snooping on an interface.
  • Page 414: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration The system view is displayed. Step 2 Run: vlan vlan-id The VLAN view is displayed. Step 3 Run: mld-snooping prompt-leave [ group-policy acl-number ] Prompt leave is enabled for interfaces in the VLAN.
  • Page 415: Enabling The Mld Snooping Querier

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration Data Interval for sending MLD General Query messages Interval for sending MLD Group-Specific Query messages Maximum response time of the MLD General Query message Source IPv6 address of the MLD General...
  • Page 416: Setting The Mld Snooping Query Interval And Response Interval

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration 11.6.3 Setting the MLD Snooping Query Interval and Response Interval Context The response time (max-response-time) of the MLD Snooping Query messages, including General Query message and Group-Specific Query message, sent by the S7700 can be set through commands.
  • Page 417: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration system-view The system view is displayed. Step 2 Run: mld-snooping send-query source-address ipv6-address The source IPv6 address of the MLD Query messages is set. ----End 11.6.5 Checking the Configuration...
  • Page 418: Optional) Setting The Aging Time Of The Router Interface

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration 11.3 Enabling MLD Snooping Data Preparation To modify parameters of MLD snooping, you need the following data. Procedure ID of the VLAN where you need to optimize...
  • Page 419: Optional) Setting Parameters Related To The Aging Time Of Member Interfaces

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration The VLAN view is displayed. Step 3 Run: mld-snooping router-aging-time router-aging-time The aging time of the router interface is set. l By default, the S7700 sets the remaining aging time of router interface as follows: l If the router interface receives an MLD Query message, the S7700 sets the remaining aging time of the interface to 180 seconds.
  • Page 420: Optional) Configuring The Router Alert Option In Mld Messages

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration 11.7.4 (Optional) Configuring the Router Alert Option in MLD Messages Context To configure whether MLD messages contain the Router Alert option, do as follows on the S7700.
  • Page 421: Optional) Setting The Duration For Suppressing The Same Mld Messages

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration mld-snooping send-query enable The MLD snooping module of the S7700 is enabled to respond to changes of the Layer 2 network topology. Step 3 Run: mld-snooping send-query source-address ipv6-address The source IPv6 address of the MLD General Query messages that the MLD snooping module sends to respond to changes of the Layer 2 network topology is set.
  • Page 422: Maintaining Mld Snooping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration Procedure Step 1 Run the display mld-snooping [ vlan vlan-id ] command to check information about MLD snooping in a VLAN. ----End Example If the preceding configurations are successful, the following information is displayed: <Quidway>...
  • Page 423: Clearing The Statistics On Mld Snooping

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration 11.8.2 Clearing the Statistics on MLD Snooping Context CAUTION The statistics on MLD snooping cannot be restored after you clear them. So, confirm the action before you use the command. To clear the statistics on MLD snooping, run the following command in the user view.
  • Page 424 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration Networking Requirements As shown in Figure 11-1, three hosts are all in VLAN 3. All these three hosts need to receive data from multicast groups FF32::1 to FF32::10.
  • Page 425 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration [SwitchA]mld-snooping enable Step 3 Create an IPv6 ACL. [SwitchA]acl ipv6 3000 [SwitchA-acl6-adv-3000] rule permit ipv6 source FF32::3 128 [SwitchA-acl6-adv-3000] rule permit ipv6 source FF32::4 128 [SwitchA-acl6-adv-3000] rule permit ipv6 source FF32::5 128...
  • Page 426: Example For Configuring Prompt Leave Of Interfaces In A Vlan

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration vlan 3 mld-snooping enable mld-snooping group-policy 3000 multicast drop-unknown acl ipv6 number 3000 rule 5 permit ipv6 source FF32::3/128 rule 10 permit ipv6 source FF32::4/128 rule 15 permit ipv6 source FF32::5/128...
  • Page 427 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration Configuration Roadmap The configuration roadmap is as follows: Create VLAN 3 on Switch A and add GE 1/0/3, GE 1/0/4, and GE 1/0/5 to VLAN 3. Enable MLD snooping globally on Switch A.
  • Page 428: Example For Configuring A Static Router Interface

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration mld-snooping enable mld-snooping prompt-leave interface Gigabitethernet1/0/3 port link-type access port default vlan 3 interface Gigabitethernet1/0/4 port link-type access port default vlan 3 interface Gigabitethernet1/0/5 port link-type access...
  • Page 429 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration Enable MLD snooping in VLAN 2 on Switch A. Data Preparation To complete the configuration, you need the following data: Interface to be configured as a static router interface: GE 1/0/5...
  • Page 430: Example For Enabling The Mld Snooping Module To Respond To Changes Of The Layer 2 Network Topology

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration 11.9.4 Example for Enabling the MLD Snooping Module to Respond to Changes of the Layer 2 Network Topology Networking Requirements As shown in Figure 11-4, four S7700s form a ring network to improve the network reliability.
  • Page 431: Topology

    Procedure Step 1 Enable MSTP on all the S7700s. The configuration procedure is not provided here. For the method of configuring MSTP, see the Quidway S7700 Smart Routing Switch Configuration Guide - Ethernet. Step 2 Create VLAN 3 and add interfaces to VLAN 3 on all the S7700s. The configuration procedure is not provided here.
  • Page 432 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration mld-snooping send-query source-address FE80::1 vlan batch 3 vlan 3 mld-snooping enable interface Gigabitethernet1/0/1 port link-type trunk port trunk allow-pass vlan 3 bpdu enable interface Gigabitethernet1/0/2 port link-type trunk...
  • Page 433 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 11 MLD Snooping Configuration port link-type trunk port trunk allow-pass vlan 3 bpdu enable return Configuration file of SwitchD sysname SwitchD mld-snooping enable vlan batch 3 vlan 3 mld-snooping enable interface Gigabitethernet1/0/2...
  • Page 434: Pim-Dm (Ipv6) Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration PIM-DM (IPv6) Configuration About This Chapter The PIM protocol can be used in an IPv6 network to implement multicast routing and data forwarding inside an AS. The PIM-DM protocol is a multicast routing protocol of dense node.
  • Page 435 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration 12.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 to enable the multicast device to send State-Refresh messages periodically, refresh the prune state of the interface, and maintain SPT.
  • Page 436: Pim-Ipv6 Overview

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration 12.1 PIM-IPv6 Overview In the IPv6 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 437: Configuring Basic Pim-Dm (Ipv6) Functions

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Neighbor filtering function: An interface sets up neighbor relationships with only the addresses matching the filtering rules and deletes the neighbors unmatched with the filtering rules Adjusting Control Parameters for Pruning...
  • Page 438: Enabling Ipv6 Multicast Routing

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Pre-configuration Tasks Before configure basic PIM-DM functions, complete the following tasks: Configuring a unicast routing protocol Data Preparation To configure basic PIM-DM functions, you need the following data.
  • Page 439: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The VLANIF interface view is displayed. Step 3 Run: pim ipv6 dm Basic PIM-DM (IPv6) functions are enabled.
  • Page 440: Adjusting Control Parameters Of A Source

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration 12.4 Adjusting Control Parameters of a Source A multicast device can control the forwarding of multicast data based on multicast sources. This helps to control multicast data flows and limit information that can be obtained by downstream receivers to enhance security.
  • Page 441: Configuring Filtering Rules Based On Source Addresses

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: pim-ipv6 The PIM-IPv6 view is displayed. Step 3 Run: source-lifetime interval The Keepalive period of a source is configured.
  • Page 442: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration NOTE l If acl6-number | acl6-name acl6-name is specified in the source-policy command and ACL rules are created, only the multicast packets whose source addresses match the ACL rules are permitted.
  • Page 443: Configuring The Interval For Sending Hello Messages

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Pre-configuration Tasks Before adjusting control parameters for maintaining neighbors, complete the following tasks: Configuring a unicast routing protocol Configuring Basic PIM-DM (IPv6) Functions Data Preparation To adjust control parameters for maintaining neighbors, you need the following data.
  • Page 444: Configuring The Timeout Period Of A Neighbor

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration The interval for sending Hello messages is configured. Configuration on an Interface Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed.
  • Page 445: Refusing To Receive The Hello Message Without The Generation Id Option

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Run: hello-option holdtime interval The timeout period for keeping a neighbor reachable is set. Each switch maintains a timer for each neighbor. When receiving a Hello message, a switch resets the timer.
  • Page 446: Configuring Pim Neighbor Filtering

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Step 2 Run: interface interface-type interface-number The interface view is displayed. Step 3 Run: pim ipv6 require-genid The Generation ID option is set in a Hello message.
  • Page 447: Adjusting Control Parameters For Prune

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Procedure Run the display pim ipv6 interface [ interface-type interface-number | up | down ] [ verbose ] command to check information about PIM-IPv6 interfaces. Run the display pim ipv6 neighbor [ ipv6-link-local-address | interface interface-type interface-number | verbose ] command to check information about PIM-IPv6 neighbors.
  • Page 448: Configuring The Period For An Interface To Keep The Prune State

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration 12.6.2 Configuring the Period for an Interface to Keep the Prune State The period for an interface to keep the prune state can be set either globally or on an interface.
  • Page 449: Configuring The Delay For Transmitting Prune Messages In A Lan

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration After the period expires, the pruned interface continues to forward packets. Before the period expires, the switch resets the Holdtime timer after receiving a State-Refresh message. ----End 12.6.3 Configuring the Delay for Transmitting Prune Messages in a...
  • Page 450: Configuring The Interval For Overriding The Prune Action

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration The interface view is displayed. Run: pim ipv6 hello-option lan-delay interval The delay for transmitting messages in a LAN is set. ----End 12.6.4 Configuring the Interval for Overriding the Prune Action If a device receives a Prune message from the upstream interface, it indicates that other downstream devices still exist in the LAN.
  • Page 451: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Run: pim ipv6 hello-option override-interval interval The interval for overriding the prune action is set. ----End 12.6.5 Checking the Configuration After the control parameters for prune are adjusted, you can check information about the PIM interface and the PIM routing table and statistics about PIM control messages through commands.
  • Page 452: Disabling State-Refresh

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Switchs under the control of default values can work normally. In the S7700, users can adjust related parameters according to the specific network environment. NOTE If there is no special requirement, default values are recommended.
  • Page 453: Configuring The Interval For Sending State-Refresh Messages

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration The interface on which PIM-DM State-Refresh is disabled cannot forward any State-Refresh message. NOTE You can run the pim ipv6 state-refresh-capable command to re-enable the PIM-DM State-Refresh on the interface.
  • Page 454: Configuring The Ttl Value Of A State-Refresh Message

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: pim-ipv6 The PIM-IPv6 view is displayed. Step 3 Run: state-refresh-rate-limit interval The period for waiting to receive the next State-Refresh message is set.
  • Page 455: Adjusting Control Messages For Graft

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Procedure Run the display pim ipv6 interface [ interface-type interface-number | up | down ] [ verbose ] command to check information about PIM-IPv6 interfaces. Run the display pim ipv6 control-message counters [ message-type { assert | graft |...
  • Page 456: Setting The Interval For Retransmitting Graft Messages

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Configuring a unicast routing protocol Configuring Basic PIM-DM (IPv6) Functions Data Preparation To adjust control parameters for graft, you need the following data. Data Interval for retransmitting Graft messages 12.8.2 Setting the Interval for Retransmitting Graft Messages...
  • Page 457: Adjusting Control Messages For Assert

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Procedure Run the display pim ipv6 interface [ interface-type interface-number | up | down ] [ verbose ] command to check information about PIM-IPv6 interfaces. Run the display pim ipv6 grafts command to check the unacknowledged PIM-DM Graft messages.
  • Page 458: Configuring The Period For Keeping The Assert State

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Configuring Basic PIM-DM (IPv6) Functions Data Preparation To adjust control parameters for asset, you need the following data. Data The period for keeping the Assert state 12.9.2 Configuring the Period for Keeping the Assert State The device that fails in the election prevents its downstream interface from forwarding multicast data.
  • Page 459: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. Run: pim ipv6 holdtime assert interval The period for keeping the Assert state is set.
  • Page 460: Establishing The Configuration Task

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration 12.10.1 Establishing the Configuration Task After basic functions of IPv6 PIM-DM and MLD are configured, you can configure the PIM silent function on the interface connected with the user host. This interface should be enabled with IPv6 PIM-DM and MLD first.
  • Page 461: Configuring Pim-Ipv6 Silent

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration 12.10.2 Configuring PIM-IPv6 Silent After the interface is configured with PIM silent, it is forbidden to receive or forward any PIM protocol packet. All PIM neighbors and PIM state machines on this interface are deleted. Then, this interface automatically becomes the DR.
  • Page 462: Maintaining Pim-Dm

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration 12.11 Maintaining PIM-DM Maintaining IPv6 PIM-DM involves resetting PIM statistics, and monitoring PIM running status. 12.11.1 Clearing Statistics of PIM Control Messages If you need to re-collect the statistics about IPv6 PIM control messages, you can reset the existent statistics.
  • Page 463: Debugging Pim-Ipv6

    When a PIM-IPv6 fault occurs, run the following debugging commands in the user view to locate the fault. For more information about debugging commands, refer to the Quidway S7700 Smart Routing Switch Debugging Reference. Procedure Run the debugging pim ipv6 all command in the user view to enable all the debugging of PIM-IPv6.
  • Page 464: Configuration Example

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration 12.12 Configuration Example Configuration examples are provided to show how to construct a basic IPv6 PIM-DM network. 12.12.1 Example for Configuring the IPv6 PIM-DM Network Networking Requirements...
  • Page 465 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration Configuration Roadmap On a small-scale experiment network, PIM-DM is adopted to configure multicast. In this example, each host network segment is connected to only one S7700, so PIM silent can be used to prevent the Hello message attack.
  • Page 466 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration <SwitchA> display pim ipv6 interface VPN-Instance: public net Interface State NbrCnt HelloInt DR-Pri DR-Address Vlanif100 FE80::200:AFF:FE01:109 (local) Vlanif101 FE80::A01:109:1(local) Vlanif102 FE80::A01:109:2(local) # Run the display pim ipv6 neighbor command to check the PIM neighbor relationship between the S7700s.
  • Page 467 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration RPF prime neighbor: FE80::A01:109:2 Downstream interface(s) information: Total number of downstreams: 0 ----End Configuration Files Configuration file of SwitchA sysname SwitchA vlan batch 100 to 102 ipv6...
  • Page 468 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 12 PIM-DM (IPv6) Configuration mld version 1 interface GigabitEthernet1/0/0 port hybrid pvid vlan 200 port hybrid untagged vlan 200 interface GigabitEthernet2/0/0 port hybrid pvid vlan 201 port hybrid untagged vlan 201...
  • Page 469: Pim-Sm (Ipv6) Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration PIM-SM (IPv6) Configuration About This Chapter The PIM protocol can be used in an IPv6 network to implement multicast routing and data forwarding inside an AS. The PIM-SM protocol is a multicast routing protocol of sparse mode.
  • Page 470 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration In a PIM-SM network, the DR directly connected to the multicast source encapsulates multicast data in a Register message and sends the message to the RP in unicast mode. The RP then decapsulates the message, and forwards the multicast data to receivers along the RPT.
  • Page 471: Pim-Ipv6 Overview

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration 13.1 PIM-IPv6 Overview In an IPv6 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 472 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration RP to advertise advertisement messages, and specify an Access Control List (ACL) to limit the range of the multicast groups served by the C-RP. You can specify a Candidate-BSR (C-BSR) in a BSR domain, adjust the hash mask length used by the C-RP for C-RP election, adjust the priority for BSR election, and adjust the legal address range of BSRs.
  • Page 473: Configuring Basic Pim-Sm (Ipv6) Functions

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Adjusting Control Parameters for Assert You can configure the period for keeping the Assert state of a switch interface. Adjusting Control Parameters for SPT Switchover You can adjust the conditions of the SPT switchover and the interval for checking the forwarding rate of multicast data.
  • Page 474 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration NOTE The SSM model needs to be supported by the Multicast Listener Discovery version 2 (MLDv2). If a host must run MLDv1, configure MLD SSM mapping on the switch interface.
  • Page 475: Enabling Ipv6 Multicast Routing

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Data ACL6 that defines the range of multicast groups served by a C-RP The interval taken by a C-RP to send advertisement messages Timeout period during which a BSR waits to receive the advertisement message from...
  • Page 476: Optional) Configuring An Embedded-Rp

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The VLANIF interface view is displayed. Step 3 Run: pim ipv6 sm PIM-SM (IPv6) is enabled.
  • Page 477: Optional) Configuring A Static Rp

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration If the address range defined by ACL6 is wider than the default group address range of an embedded-RP, the embedded-RP is valid for the intersection part of the two address ranges.
  • Page 478: Optional) Configuring A Dynamic Rp

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration l preferred: indicates that the static RP takes precedence. The C-RP is configured in the network at the same time. After preferred is set, switchs prefer the static RP. Otherwise, switchs prefer the C-RP.
  • Page 479: Optional) Configuring The Ssm Group Address Range

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration l group-policy basic-acl6-number: specifies that the C-RP serves only the multicast group matching ACL6. basic-acl-number: specifies the number of the basic ACL6. By default, the C-RP serves all multicast groups.
  • Page 480: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: pim-ipv6 The PIM-IPv6 view is displayed. Step 3 Run: ssm-policy { basic-acl6-number | acl6-name acl6-name } The SSM group address range is configured.
  • Page 481: Adjusting Control Parameters Of A Source

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration 13.4 Adjusting Control Parameters of a Source A multicast device can control the forwarding of multicast data based on multicast sources. This helps to control multicast data flows and limit information that can be obtained by downstream receivers to enhance security.
  • Page 482: Configuring Filtering Rules Based On Source Addresses

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Context Do as follows on the PIM-IPv6 switch: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: pim-ipv6 The PIM-IPv6 view is displayed.
  • Page 483: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration NOTE l If acl6-number | acl6-name acl6-name is specified in the source-policy command and ACL rules are created, only the multicast packets whose source addresses match the ACL rules are permitted.
  • Page 484: Adjusting Control Parameters Of A C-Rp

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Pre-configuration Tasks Before adjusting control parameters of a C-RP and a C-BSR, complete the following tasks: Configuring a unicast routing protocol Configuring Basic PIM-SM (IPv6) Functions Data Preparation To adjust control parameters of a C-RP and C-BSR, you need the following data.
  • Page 485: Adjusting Control Parameters Of A C-Bsr

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration The PIM-IPv6 view is displayed. Step 3 Run: c-rp priority priority The priority of the C-RP is configured. Step 4 Run: c-rp advertisement-interval interval The interval during which the C-RP sends advertisement messages is configured.
  • Page 486: Configuring The Bsr Service Boundary

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Step 4 Run: c-bsr priority priority The priority of the C-BSR is configured. Step 5 Run: c-bsr interval interval The interval during which the C-BSR sends Bootstrap messages is configured.
  • Page 487: Optional) Configuring The Range Of Legal Bsr Addresses

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration The BSR boundary is configured. BSR messages cannot pass the BSR boundary. ----End 13.5.5 (Optional) Configuring the Range of Legal BSR addresses ACL6-based policies can be set on all devices to filter C-BSR addresses. The devices then receive only the Bootstrap messages with the source addresses being in the valid C-BSR address range.
  • Page 488: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration NOTE This configuration is optional. By default, the C-RP address carried in the received advertisement message and the address of the group that the C-RP serves are not checked, and all received advertisement messages are received and added to the RP-set.
  • Page 489: Establishing The Configuration Task

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration 13.6.1 Establishing the Configuration Task After basic functions of IPv6 PIM-SM are configured, you can adjust related parameters of Hello messages for controlling neighbor relationships and configure the downstream neighbor tracking function and the neighbor filtering function.
  • Page 490 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Context Do as follows on the PIM-SM (IPv6) switch: NOTE The configuration of the control parameters for maintaining PIM neighbors involves the following cases: l Global configuration: It is valid on all the interfaces.
  • Page 491: Configuring Control Parameters For Electing A Dr

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration The period for keeping the reachable state of a neighbor is configured. If the local switch does not receive any Hello message from the neighbor after the period expires, the local switch considers that the neighbor is unreachable.
  • Page 492: Enabling The Function Of Tracking A Downstream Neighbor

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. Run: pim ipv6 hello-option dr-priority priority-value The priority for the DR election is configured.
  • Page 493: Configuring Pim Neighbor Filtering

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration hello-option neighbor-tracking The function of tracking downstream neighbors is enabled. After this function is enabled, information about the downstream neighbor who has sent a Join message and whose Join state does not times out is recorded.
  • Page 494: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration The interface view is displayed. Step 3 Run: pim ipv6 neighbor-policy { basic-acl6-number | acl6-name acl6-name } PIM neighbor filtering is configured. An interface sets up neighbor relationships with only the addresses matching the filtering rules and deletes the neighbors unmatching the filtering rules.
  • Page 495: Configuring Rules For Filtering Pim-Sm (Ipv6) Register Messages

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration suppression period, the DR periodically sends a Probe message (null Register message) to notify the RP that the multicast source is still in the active state. After the register suppression expires, the DR resends the Register message carrying a multicast data packet.
  • Page 496: Configuring Pim-Sm (Ipv6) Registering Suppression

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration The rules for filtering Register messages are set. The RP accepts or rejects to a Register message according to the rules. ----End 13.7.3 Configuring PIM-SM (IPv6) Registering Suppression...
  • Page 497: Establishing The Configuration Task

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration 13.8.1 Establishing the Configuration Task After basic functions of IPv6 PIM-DM are configured, you can adjust control parameters used to maintain the forwarding relationship, and configure the Join information filtering and neighbor filtering functions to enhance security as required.
  • Page 498: Configuring Control Parameters For Keeping The Forwarding Relationship

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration 13.8.2 Configuring Control Parameters for Keeping the Forwarding Relationship The control parameters of multicast data forwarding can be set either globally or on an interface. The parameters specify the interval for sending Join/Prune messages and the period for a downstream interface to keep the Join/Prune state.
  • Page 499: Configuring Control Parameters For Prune

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Run: pim ipv6 holdtime join-prune interval The value of the Holdtime field in the sent Join/Prune message is set. The Holdtime period is the period for keeping the Forwarding/Prune state of the downstream interface.
  • Page 500: Configuring Join Information Filtering

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration hello-option lan-delay interval The delay of transmitting messages in a LAN is set. Run: hello-option override-interval interval The period for overriding the prune action is set. When a switch receives a Prune message through an upstream interface, it indicates that another downstream switch exists in the LAN.
  • Page 501: Configuring Neighbor Check

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration The interface view is displayed. Step 3 Run: pim ipv6 join-policy { asm { basic-acl6-number | acl6-name acl6-name } | ssm { advanced-acl6-number | acl6-name acl6-name } } Join information filtering is configured.
  • Page 502: Configuring Control Parameters For Assert

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Procedure Run the display pim ipv6 interface [ interface-type interface-number | up | down ] [ verbose ] command to check information about PIM-IPv6 interfaces. Run the display pim ipv6 control-message counters [ message-type { assert | graft |...
  • Page 503: Configuring The Period For Keeping The Assert State

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Data Preparation To adjust control parameters for asset, you need the following data. Data The period for keeping the Assert state 13.9.2 Configuring the Period for Keeping the Assert State The device that fails the election prevents its downstream interface from forwarding multicast data during the Assert state.
  • Page 504: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration The interface view is displayed. Run: pim ipv6 holdtime assert interval The period for keeping the Assert state is set. The switch that fails in the election prohibits the downstream interface from forwarding multicast data in this period.
  • Page 505: Optional) Adjusting Conditions Of The Spt Switchover

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration In PIM-SM forwarding, each multicast group corresponds to an RPT. At first, all multicast sources encapsulate data in Register messages, and send the messages to the RP in the unicast mode.
  • Page 506: Optional) Configuring The Interval For Checking The Forwarding Rate Of Multicast Data

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Context Do as follows on the switch that may become the DR at the receiver side: NOTE This configuration is optional. By default, the RP and the DR at the receiver side immediately perform the SPT switchover after receiving the first multicast data packet.
  • Page 507: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration The PIM view is displayed. Step 3 Run: timer spt-switch interval The interval for checking the forwarding rate of multicast data is set. By default, the DR at the receiver side performs SPT switchover after receiving the first multicast data packet.
  • Page 508: Configuring Pim Gr (Ipv6)

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Prune message to the neighbor for re-creating routing entries, thereby ensuring non-stop forwarding of multicast data on the forwarding plane. If a dynamic RP is used on the network, after receiving a Hello message with the Generation ID...
  • Page 509: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration PIM GR is enabled. Step 4 (Optional) Run: graceful-restart period period The PIM GR period is set. By default, the PIM GR period is 120 seconds. ----End 13.11.3 Checking the Configuration...
  • Page 510: Configuring Pim-Ipv6 Silent

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration forwarding any PIM-IPv6 packet. All PIM-IPv6 neighbors and PIM-IPv6 state machines on the interface are deleted. The interface acts as the static DR and immediately takes effect. At the same time, MLD on the interface is not affected.
  • Page 511: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Do as follows on the switch interface connected to the host network segment: 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 512: Clearing The Pim Status Of The Specified Downstream Interfaces Of Pim Entries

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Context CAUTION The statistics of PIM-IPv6 control messages on an interface cannot be restored after you clear it. Therefore, confirm the action before you use the command.
  • Page 513: Debugging Pim-Ipv6

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Context In routine maintenance, you can run the following commands in any view to check the running status of PIM-SM. Procedure Run the display pim ipv6 control-message counters [ message-type { assert | graft |...
  • Page 514: Configuration Example

    13 PIM-SM (IPv6) Configuration When a PIM-IPv6 fault occurs, run the following debugging commands in the user view to locate the fault. For more information about debugging commands, refer to the Quidway S7700 Smart Routing Switch Debugging Reference. Procedure Run the debugging pim ipv6 all command in the user view to enable all the PIM-IPv6 debugging.
  • Page 515 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Figure 13-1 Networking diagram for configuring basic IPv6 PIM-DM functions SwitchB HostA GE2/0/0 3001::1 GE1/0/0 2002::2 HostB GE3/0/0 2004::1 GE2/0/0 GE2/0/0 2002::1 SwitchA 2004::2 GE3/0/0 2003::1 SwitchD...
  • Page 516 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Enable IPv6 PIM-SM on all router interfaces. Configure the C-BSR and C-RP on SwitchD. Configure the BSR boundary on the interface connecting SwitchA to the Internet. Configure the SSM address range on each S7700.
  • Page 517 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration <SwitchB> display pim ipv6 bsr-info VPN-Instance: public net Elected AdminScoped BSR Count: 0 Elected BSR Address: 2004::2 Priority: 0 Hash mask length: 126 State: Accept Preferred Uptime: 00:04:22...
  • Page 518 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration # Run the display pim ipv6 interface command to check the PIM configuration and the running information on each interface. Take the RP information on SwitchB as an example.
  • Page 519 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Total number of downstreams: 1 1: Vlanif201 Protocol: pim-sm, UpTime: 00:14:44, Expires: - (2001::5, FF3E::1) Protocol: pim-ssm, Flag: SG_RCVR UpTime: 00:08:02 Upstream interface: Vlanif200 Upstream neighbor: FE80::A01:10C:1...
  • Page 520 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Configuration Files Configuration file of SwitchA sysname SwitchA vlan batch 100 to 103 ipv6 multicast ipv6 routing-enable acl ipv6 number 2000 rule 0 permit source FF3E::1/64 interface Vlanif100...
  • Page 521 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration interface Vlanif200 ipv6 enable ipv6 address 2002::2/64 pim ipv6 sm interface Vlanif201 ipv6 enable ipv6 address 3001::1/64 pim ipv6 sm pim ipv6 silent mld enable interface Vlanif202...
  • Page 522: Example For Configuring Pim Gr (Ipv6)

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration return Configuration file of SwitchD sysname SwitchD vlan batch 400 to 402 ipv6 multicast ipv6 routing-enable acl ipv6 number 2000 rule 0 permit source FF3E::1/64 acl ipv6 number 2001...
  • Page 523 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration As shown in Figure 13-2, the multicast service is deployed on the network. When SwitchC enabled with the PIM GR function forwards multicast data to the receiver, the master MPU backs up the PIM routes and Join/Prune messages to be sent to the upstream to the slave MPU.
  • Page 524 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration Address of the multicast source S, which is 2001::1 Address of the multicast group G, which is FF2E::1. Unicast GR period PIM GR period Procedure Step 1 Configure IPv6 addresses for the interfaces on each switch and unicast routing protocols.
  • Page 525 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration [SwitchC-pim6] graceful-restart [SwitchC-pim6] graceful-restart period 300 [SwitchC-pim6] quit Step 6 Verify the configuration. # Configure the multicast source (2001:1::1) to send data to the multicast group (FF2E::1) and configure HostA to send an MLD Report message to the multicast group.
  • Page 526 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration [SwitchC] slave switchover # After SwitchC performs an active/standby switchover, during PIM GR, run the display pim ipv6 routing-table command on SwitchB and SwitchC to view the routing tables. The command output is as follows: <SwitchB>...
  • Page 527 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration The preceding information indicates that after SwitchC performs an active/standby switchover, the downstream interface on SwitchB remains unchanged. That is, after SwitchC performs an active/standby switchover, SwitchC sends the backed up Join messages to the upstream device.
  • Page 528 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration multicast ipv6 routing-enable ospfv3 1 router-id 3.3.3.3 graceful-restart period 200 area 0.0.0.0 interface Vlanif30 ipv6 enable ipv6 address 2001:2::2/64 ospfv3 1 area 0.0.0.0 pim ipv6 sm interface Vlanif40...
  • Page 529 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 13 PIM-SM (IPv6) Configuration static-rp 2002:1::1 graceful-restart graceful-restart period 300 return Issue 01 (2011-07-15) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 530: Ipv6 Multicast Routing Management

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management IPv6 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 531 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management Configuration examples for IPv6 multicast load splitting are provided. Issue 01 (2011-07-15) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 532: Overview Of Ipv6 Multicast Routing Management

    NOTE IPv6 multicast forwarding and routing are similar to IPv4 multicast forwarding and routing. For details, refer to the chapter "Multicast Forwarding and Routing" in the Quidway S7700 Smart Routing Switch Feature Description - IP Multicast. 14.2 IPv6 Multicast Routing Management Features...
  • Page 533: Configuring The Ipv6 Multicast Routing Policy

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management Limiting the Range of Multicast Forwarding In the IPv6 network, the multicast information each multicast group corresponds to is transmitted in a certain range. In the S7700, you can define the multicast forwarding range by using the...
  • Page 534: Configuring Ipv6 Multicast Load Splitting

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management Data IPv6 load splitting policy IPv6 load splitting weight on the interface 14.3.2 Configuring IPv6 Multicast Load Splitting The multicast load splitting function extends multicast routing rules, which does not fully depend on the RPF check.
  • Page 535: Configuring An Ipv6 Multicast Load Splitting Weight

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management l group: indicates group address-based load splitting. This policy is applicable to the scenario of one source to multiple groups. l source: indicates source address-based load splitting. This policy is applicable to the scenario of one group to multiple sources.
  • Page 536: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management The system view is displayed. Step 2 Run: interface vlanif interface-number The interface view is displayed. Step 3 Run: multicast ipv6 load-splitting weight weight-value The interface is configured with an IPv6 multicast load splitting weight.
  • Page 537: Configuring The Ipv6 Multicast Forwarding Boundary On An Interface

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management Applicable Environment In the IPv6 network, the multicast information each multicast group corresponds to is transmitted in a certain range. In the S7700, you can define the IPv6 multicast forwarding range by using...
  • Page 538: Checking The Configuration

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management The IPv6 multicast forwarding boundary is configured. ----End 14.4.3 Checking the Configuration After the multicast forwarding scope is configured, you can check information about the IPv6 multicast routing table, IPv6 multicast boundary of an interface, and TTL threshold of the IPv6 multicast packets forwarded on an interface to ensure normal running of the multicast network.
  • Page 539: Configuring The Maximum Number Of Entries In The Ipv6 Multicast Forwarding Table

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management number of downstream interfaces determines the maximum scale of an MDT and the service range. You can define the number of downstream interfaces of a single forwarding entry.
  • Page 540: Configuring The Maximum Number Of Downstream Nodes Of A Single Forwarding Entry

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management The maximum number of entries in the IPv6 multicast forwarding table is set. ----End 14.5.3 Configuring the Maximum Number of Downstream Nodes of a Single Forwarding Entry A multicast device replicates a copy of multicast packets for each downstream interface.
  • Page 541: Clearing Ipv6 Multicast Forwarding Entries And Routing Entries

    Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management 14.6.1 Clearing IPv6 Multicast Forwarding Entries and Routing Entries After you confirm to clear IPv6 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 542: Debugging Ipv6 Multicast Forwarding And Routing

    When an IPv6 multicast fault occurs, run the following debugging commands in the user view to view debugging information and locate the fault. For more information about debugging commands, refer to the Quidway S7700 Smart Routing Switch Debugging Reference. Procedure...
  • Page 543 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management Networking Requirements RPF check is the basis of route selection and unicast routes are used to forward multicast traffic. According to RPF check, a unique route is selected to guide the forwarding of multicast data. If multicast traffic is heavy, network congestion may occur and multicast services are affected.
  • Page 544 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management GE2/0/2 2003::1/64 SwitchD GE1/0/0 2004::2/64 VLANIF30 VLANIF90 GE2/0/3 2004::1/64 GE2/0/0 2007::1/64 VLANIF40 VLANIF100 LoopBack0 2000::1/64 SwitchE GE1/0/1 2005::2/64 VLANIF110 SwitchB GE1/0/0 2002::2/64 GE1/0/2 2006::2/64 VLANIF50 VLANIF120...
  • Page 545 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management Procedure Step 1 Assign IP addresses to interfaces on all the switches according to Figure 14-1. The configuration details are not provided here. Step 2 Configure IS-IS IPv6 to implement interworking among switches and ensure that route costs are the same.
  • Page 546 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management 00003.(*, FF13::2) Upstream interface:Vlanif120 Number of downstream:1 00004.(2001::1, FF13::2) Upstream interface:Vlanif120 Number of downstream:1 00005.(*, FF13::3) Upstream interface:Vlanif130 Number of downstream:1 00006.(2001::1, FF13::3) Upstream interface:Vlanif130 Number of downstream:1 (*, G) and (S, G) entries are evenly distributed to the three equal-cost routes, with the upstream interfaces being VLANIF110, VLANIF120, and VLANIF130.
  • Page 547 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management Number of downstream:1 00006.(2001::1, FF13::3) Upstream interface:Vlanif130 Number of downstream:1 00007.(*, FF13::4) Upstream interface:Vlanif110 Number of downstream:1 00008.(2001::1, FF13::4) Upstream interface:Vlanif110 Number of downstream:1 00009.(*, FF13::5)
  • Page 548 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management ipv6 enable ipv6 address 2001::2/64 isis ipv6 enable 1 pim ipv6 sm interface Vlanif20 ipv6 enable ipv6 address 2002::1/64 isis ipv6 enable 1 pim ipv6 sm...
  • Page 549 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management pim ipv6 sm interface Vlanif60 ipv6 enable ipv6 address 2005::1/64 isis ipv6 enable 1 pim ipv6 sm interface GigabitEthernet1/0/0 port hybrid pvid vlan 50 port hybrid untagged vlan 50...
  • Page 550 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management interface Vlanif90 ipv6 enable ipv6 address 2004::2/64 isis ipv6 enable 1 pim ipv6 sm interface Vlanif100 ipv6 enable ipv6 address 2007::1/64 isis ipv6 enable 1 pim ipv6 sm...
  • Page 551 Quidway S7700 Smart Routing Switch Configuration Guide - Multicast 14 IPv6 Multicast Routing Management interface GigabitEthernet1/0/2 port hybrid pvid vlan 120 port hybrid untagged vlan 120 interface GigabitEthernet1/0/3 port hybrid pvid vlan 130 port hybrid untagged vlan 130 interface GigabitEthernet2/0/0...

Table of Contents