Huawei Quidway S9300 Configuration Manual - Multicast

Terabit routing switch
Hide thumbs Also See for Quidway S9300:
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
V100R001C03
Configuration Guide - Multicast
Issue
01
Date
2009-07-28
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei Quidway S9300

  • Page 1 Quidway S9300 Terabit Routing Switch V100R001C03 Configuration Guide - Multicast Issue Date 2009-07-28 Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 2 Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. For any assistance, please contact our local office or company headquarters. Huawei Technologies Co., Ltd. Address: Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://www.huawei.com...
  • Page 3: Table Of Contents

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast Contents Contents About This Document........................1 1 Layer 2 Multicast Configuration.....................1-1 1.1 Introduction to Layer 2 Multicast........................1-2 1.2 Layer 2 Multicast Features Supported by the S9300..................1-2 1.3 Logical Relationships Between Configuration Tasks..................1-3 1.4 Configuring Static Layer 2 Multicast......................1-4...
  • Page 4 Quidway S9300 Terabit Routing Switch Contents Configuration Guide - Multicast 1.7 Maintaining Layer 2 Multicast........................1-25 1.7.1 Clearing Static Entries in a Multicast Forwarding Table..............1-25 1.7.2 Clearing Multicast Forwarding Entries....................1-26 1.7.3 Clearing the Statistics on IGMP Snooping..................1-26 1.7.4 Debugging IGMP Snooping.........................1-27 1.8 Configuration examples..........................1-27...
  • Page 5 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast Contents 3.1 Introduction to PIM-DM..........................3-3 3.2 PIM-DM Features Supported by the S9300....................3-3 3.3 Logical Relationships Between Configuration Tasks..................3-4 3.4 Configuring Basic PIM-DM Functions......................3-4 3.4.1 Establishing the Configuration Task......................3-5 3.4.2 Enabling IP Multicast..........................3-5 3.4.3 Enabling PIM-DM..........................3-6...
  • Page 6 Quidway S9300 Terabit Routing Switch Contents Configuration Guide - Multicast 3.12 Maintaining PIM-DM..........................3-29 3.12.1 Clearing the Statistics on PIM Control Messages................3-29 3.12.2 Monitoring the Running Status of PIM-DM..................3-29 3.12.3 Debugging PIM-DM..........................3-30 3.13 Configuration Examples..........................3-31 3.13.1 Example for Configuring the PIM-DM Network................3-31 4 PIM-SM Configuration......................4-1...
  • Page 7 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast Contents 4.9.1 Establishing the Configuration Task....................4-28 4.9.2 Enabling the BSR Administrative Domain Mechanism..............4-29 4.9.3 Configuring the Boundary of a BSR Administrative Domain.............4-29 4.9.4 Changing the Values of C-BSR Parameters in the Domain..............4-30 4.9.5 Checking the Configuration.........................4-31...
  • Page 8 Quidway S9300 Terabit Routing Switch Contents Configuration Guide - Multicast 5.1 Introduction to MSDP.............................5-2 5.2 MSDP Features Supported by the S9300......................5-2 5.3 Logical Relationships Between Configuration Tasks..................5-4 5.4 Configuring Basic MSDP Functions.......................5-4 5.4.1 Establishing the Configuration Task......................5-4 5.4.2 Enabling MSDP............................5-5 5.4.3 Configuring MSDP Peers in an AS......................5-6...
  • Page 9 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast Contents 6.1 Introduction to Multicast Route Management....................6-2 6.2 Multicast Route Management Features Supported by the S9300..............6-2 6.3 Logical Relationships Between Configuration Tasks..................6-4 6.4 Configuring a Static Multicast Route......................6-4 6.4.1 Establishing the Configuration Task......................6-4 6.4.2 Configuring a Static Multicast Route.....................6-5...
  • Page 11 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast Figures Figures Figure 1-1 Networking diagram of multicast VLAN replication.................1-8 Figure 1-2 Networking diagram for configuring static Layer 2 multicast for a VLAN........1-28 Figure 1-3 Networking diagram for configuring multicast VLAN replication on the S9300......1-30 Figure 1-4 Networking diagram for configuring VLAN-based IGMP snooping..........1-33...
  • Page 13: About This Document

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast About This Document About This Document Purpose This document describes the multicast service supported by the S9300, including basic knowledge, protocol implementation, configuration procedures, and configuration examples. Related Versions The following table lists the product version related to this document.
  • Page 14: Chapter Description

    Quidway S9300 Terabit Routing Switch About This Document Configuration Guide - Multicast Chapter Description 2 IGMP Configuration Describes the procedure for configuring IGMP and the commands for maintaining IGMP, and provides configuration examples. 3 PIM-DM Configuration Describes the procedure for configuring PIM-DM and the commands for maintaining PIM-DM, and provides configuration examples.
  • Page 15: General Conventions

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast About This Document General Conventions The general conventions that may be found in this document are defined as follows. Convention Description Times New Roman Normal paragraphs are in Times New Roman.
  • Page 16: Keyboard Operations

    Quidway S9300 Terabit Routing Switch About This Document Configuration Guide - Multicast Convention Description > Multi-level menus are in boldface and separated by the ">" signs. For example, choose File > Create > Folder. Keyboard Operations The keyboard operations that may be found in this document are defined as follows.
  • Page 17: Layer 2 Multicast Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration Layer 2 Multicast Configuration About This Chapter This chapter describes the procedures for configuring static Layer 2 multicast, multicast VLAN replication, and IGMP snooping, and provides configuration examples.
  • Page 18: Introduction To Layer 2 Multicast

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast 1.1 Introduction to Layer 2 Multicast This section describes the functions and advantages of Layer 2 multicast. To correctly transmit multicast packets on a local physical network, you need to provide link layer multicast, namely, Layer 2 multicast, in addition to the network layer IP multicast.
  • Page 19: Logical Relationships Between Configuration Tasks

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration Reducing the network delay by directly searching the multicast forwarding table to transmit multicast packets Multicast VLAN Replication Through replication of a multicast VLAN, the S9300 can send multicast packets to different VLANs.
  • Page 20: Configuring Static Layer 2 Multicast

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast 1.4 Configuring Static Layer 2 Multicast This section describes how to configure static multicast entries in a VLAN. 1.4.1 Establishing the Configuration Task 1.4.2 Creating a VLAN and Enabling IGMP Snooping 1.4.3 (Optional) Setting the Forwarding Mode of Multicast Data in a VLAN...
  • Page 21: Optional) Setting The Forwarding Mode Of Multicast Data In A Vlan

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration 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. Step 3 Run: igmp-snooping enable The IGMP snooping is enabled in the VLAN.
  • Page 22: Adding An Interface To A Vlan

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast The multicast flows in the VLAN are forwarded based on IP addresses or MAC addresses. By default, multicast flows are forwarded based on IP addresses. ----End 1.4.4 Adding an Interface to a VLAN...
  • Page 23: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration 1.4.6 Checking the Configuration Prerequisite The configuration of static Layer 2 multicast for a VLAN is complete. Procedure Run the display l2-multicast forwarding-table vlan vlan-id [ source-address source- address ] group-address { group-address | router-group } command to check the multicast forwarding table of a VLAN.
  • Page 24: Creating A Multicast Vlan

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast As shown in Figure 1-1, S9300-A is connected to the multicast source. S9300-A needs to replicate the data flow from multicast VLAN 3 to user VLAN 100 and user VLAN 200.
  • Page 25: Creating A User Vlan

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration 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. Step 3 Run: multicast-vlan enable Multicast VLAN replication is enabled and the VLAN is configured as a multicast VLAN.
  • Page 26: Adding Interfaces To Corresponding Vlans

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast Step 5 Run: multicast-vlan user-vlan { { vlan-id1 [ to vlan-id2 ] } & <1-10> } The mapping between the multicast VLAN and the user VLAN is configured.
  • Page 27: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration Run: port hybrid tagged vlan vlan-id The interface is added to a multicast VLAN. The vlan-id parameter specifies the ID of a multicast VLAN. ----End 1.5.5 Checking the Configuration Prerequisite The configuration of multicast VLAN replication is complete.
  • Page 28: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast 1.6.6 (Optional) Disabling Dynamic Learning on Interfaces 1.6.7 (Optional) Setting Parameters of the IGMP Snooping Querier 1.6.8 (Optional) Configuring Multicast Policies 1.6.9 (Optional) Configuring an SSM Group Policy 1.6.10 (Optional) Configuring Layer 2 Multicast SSM Mapping...
  • Page 29: Enabling Igmp Snooping

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration Data (Optional) ACL rules applied to a multicast policy Suppression duration of IGMP messages Aging time of the router interface Source IP address of IGMP Query messages 1.6.2 Enabling IGMP Snooping...
  • Page 30: Optional) Setting The Forwarding Mode Of Multicast Data In A Vlan

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast Context According to the version of IGMP applied on a network, you can configure the S9300 enabled with IGMP snooping to process IGMP messages of the corresponding version.
  • Page 31: Optional) Configuring A Static Router Interface

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration CAUTION Before setting the forwarding mode of multicast data in a VLAN, disable IGMP snooping in the VLAN. After setting the forwarding mode, enable IGMP snooping in the VLAN for the configuration to take effect.
  • Page 32: Optional) Disabling Dynamic Learning On Interfaces

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast The interface is configured as a static router interface. ----End 1.6.6 (Optional) Disabling Dynamic Learning on Interfaces Context To control the multicast packets received by hosts, you can disable dynamic learning on interfaces.
  • Page 33: Optional) Setting Parameters Of The Igmp Snooping Querier

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration 1.6.7 (Optional) Setting Parameters of the IGMP Snooping Querier Context If IGMP messages sent from the upstream router cannot reach the S9300 for certain reasons, for...
  • Page 34: Optional) Configuring An Ssm Group Policy

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast Context A multicast group policy in a VLAN is used to add the hosts in the VLAN to the specified multicast groups and limit the number of multicast groups that a host can join.
  • Page 35: Optional) Configuring Layer 2 Multicast Ssm Mapping

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration Context If a user joins an SSM group, the S9300 generates an accurate (S, G) entry. If you need to limit the multicast groups that hosts in a VLAN can join, configure a multicast group policy on the S9300.
  • Page 36: Optional) Configuring Prompt Leave For Interfaces

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast The VLAN view is displayed. Step 3 Run: igmp-snooping version 3 The version number of IGMP is set to 3. The default version number of IGMP snooping is 2, but IGMPv2 version does not support SSM mapping.
  • Page 37: Optional) Configuring The S9300 To Respond To Changes Of A Layer 2 Network Topology

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration The system view is displayed. Step 2 Run: vlan vlan-id The VLAN view is displayed. Step 3 Run: igmp-snooping prompt-leave [ group-policy acl-number ] Prompt leave is enabled for interfaces in the VLAN.
  • Page 38: Optional) Modifying Parameters Of Igmp Snooping In A Vlan

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast 1.6.13 (Optional) Modifying Parameters of IGMP Snooping in a VLAN Context You can modify parameters of IGMP snooping to optimize the multicast performance on the S9300 according to the actual situation of the network. The following parameters can be...
  • Page 39 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration Step 4 Run: igmp-snooping router-aging-time router-aging-time The aging time of the router interface is set. By default, the S9300 sets the aging time of the router interface as follows: If the router interface receives an IGMP Query message, the S9300 sets the aging time of the interface to 180 seconds.
  • Page 40: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast 1.6.14 Checking the 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.
  • Page 41: Maintaining Layer 2 Multicast

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration IGMP Filter Group-Policy is Set to default : Permit All IGMP Prompt Leave Disable IGMP Router Alert is Not Required IGMP Send Router Alert Enable IGMP Report Suppress Disable...
  • Page 42: Clearing Multicast Forwarding Entries

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast Context CAUTION Static entries in a forwarding table cannot be restored after you clear them and you have to configure them again. Confirm the operation before you run the following command.
  • Page 43: Debugging Igmp Snooping

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast 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 44: Figure 1-2 Networking Diagram For Configuring Static Layer 2 Multicast For A Vlan

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast Figure 1-2 Networking diagram for configuring static Layer 2 multicast for a VLAN Multicast source DHCP server IP/MPLS core GE3/0/1 S9300 GE1/0/1 VLAN3 Host4 Host5 Host3...
  • Page 45 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration Step 2 Enable IGMP snooping. Enable IGMP snooping globally and in VLAN 3. [S9300] igmp-snooping enable [S9300] vlan 3 [S9300-vlan3] igmp-snooping enable [S9300-vlan3] quit Step 3 Add interfaces to VLAN 3.
  • Page 46: Example For Configuring Multicast Vlan Replication

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast return 1.8.2 Example for Configuring Multicast VLAN Replication Networking Requirements As shown in Figure 1-3, GE 3/0/1 of the S9300 is connected to a router, and is added to VLAN 3.
  • Page 47 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration Interface connected to the router and the VLAN that the interface belongs to Interfaces connected to hosts and the VLANs that the interfaces belong to IP address of the multicast group in entries of the static multicast VLAN Procedure Step 1 Create a multicast VLAN.
  • Page 48: Example For Configuring Igmp Snooping

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast (*, 225.0.0.2) (*, 225.0.0.3) -------------------------------------------------------------------- Total Entry(s) : 3 <S9300> display l2-multicast forwarding-table vlan VLAN ID : 3, Forwarding Mode : IP ----------------------------------------------------------------------- (Source, Group) Interface...
  • Page 49: Figure 1-4 Networking Diagram For Configuring Vlan-Based Igmp Snooping

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration Figure 1-4 Networking diagram for configuring VLAN-based IGMP snooping Multicast source DHCP server IP/MPLS core GE3/0/1 S9300 GE1/0/1 VLAN3 Host4 Host5 Host3 Configuration Roadmap The configuration roadmap is as follows: Create a VLAN and add interfaces to the VLAN.
  • Page 50 Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast [S9300-GigabitEthernet3/0/1] quit [S9300] interface gigabitethernet 1/0/1 [S9300-GigabitEthernet1/0/1] port hybrid tagged vlan 10 [S9300-GigabitEthernet1/0/1] quit Step 2 Enable IGMP snooping. # Enable IGMP snooping globally. [S9300] igmp-snooping enable Enable IGMP Snooping in VLAN 3.
  • Page 51: Example For Configuring Layer 2 Multicast Ssm Mapping

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration According to the preceding information, multicast groups 225.1.1.1 to 225.1.1.3 are configured with static forwarding entries. # View the multicast forwarding table. <S9300> display l2-multicast forwarding-table vlan 3...
  • Page 52: Figure 1-5 Networking Of The Ssm Mapping Configuration

    Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast Figure 1-5 Networking of the SSM mapping configuration 10.1.2.1/24 Source1 10.1.1.1/24 Source2 IP/MPLS core GE2/0/0 S9300 VLAN100 GE1/0/1 GE1/0/2 Host1 Host2 Configuration Roadmap The configuration roadmap is as follows: Enable IGMP snooping globally.
  • Page 53 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 1 Layer 2 Multicast Configuration <Quidway> system-view [Quidway] igmp-snooping enable Step 2 Create a VLAN and enable IGMP snooping in the VLAN. # Create a VLAN and enable IGMP snooping in the VLAN.
  • Page 54 Quidway S9300 Terabit Routing Switch 1 Layer 2 Multicast Configuration Configuration Guide - Multicast Configuration Files Configuration file of the S9300 sysname Quidway vlan batch 100 igmp-snooping enable vlan 100 igmp-snooping enable igmp-snooping ssm-mapping enable igmp-snooping version 3 igmp-snooping ssm-policy 2008 igmp-snooping ssm-mapping 232.1.1.1 255.255.255.0 10.1.1.1...
  • Page 55: Igmp Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration IGMP Configuration About This Chapter This chapter describes the procedure for configuring IGMP and commands for maintaining IGMP, and provides configuration examples. 2.1 Introduction to IGMP This section describes the principle of IGMP.
  • Page 56: Introduction To Igmp

    Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast 2.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 57: Logical Relations Between Configuration Tasks

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 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 58: Enabling Ip Multicast

    Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast You must enable IP multicast routing before configuring IGMP. IP multicast routing is the prerequisite of configuring all multicast functions. If IP multicast routing is disabled, the multicast-related configurations cannot take effect.
  • Page 59: Enabling The Igmp Function

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: multicast routing-enable IP multicast routing is enabled. By default, the IP multicast routing function is disabled on an S9300 ----End 2.4.3 Enabling the IGMP Function...
  • Page 60: Optional) Configuring A Static Igmp Group

    Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast 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 S9300 uses this interface to communicate with hosts. On the S9300, VLANIF interfaces and loopback interfaces support IGMP.
  • Page 61: Optional) Configuring An Igmp Multicast Group Policy

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration 2.4.6 (Optional) Configuring an IGMP Multicast Group Policy 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 62: Setting The Parameters Of Igmp Features

    Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast Example Run the display igmp interface vlanif 3 command to check the configuration of IGMP on VLANIF 3. <Quidway> display igmp interface vlanif 3 Vlanif3 (100.0.0.3): IGMP is enabled...
  • Page 63: Configuring Igmp Message Options

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration Applicable Environment IGMPv2 and IGMPv3 have the Group-Specific and Source/Group-Specific Query messages. The groups are varied and an S9300 cannot join all groups. Therefore, the IGMP needs to use the Router-Alert option.
  • Page 64 Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast Context The Router-Alert option requires the S9300 to send the received IGMP messages that have not been added to IGMP groups to the upper layer protocol. By default, the S9300 sends IGMP messages containing the Router-Alert option, but does not check the Router-Alert option in the received messages.
  • Page 65: Configuring The Igmpv1 Querier

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration igmp require-router-alert The S9300 is configured to ignore the IGMP messages that do not contain the Router- Alert option. Run: igmp send-router-alert The S9300 is configured to add the Router-Alert option to the IGMP message header.
  • Page 66: Configuring The Igmpv2 Or Igmpv3 Querier

    Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast Configuring the IGMP querier on an interface Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. The S9300 communicates with hosts through this interface. On the S9300, VLANIF interfaces and loopback interfaces support IGMP.
  • Page 67 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration The system view is displayed. Run: igmp The IGMP view is displayed. Run: timer query seconds The interval for sending IGMP General Query messages is set. By default, the interval for sending IGMP General Query messages is 60 seconds.
  • Page 68: Configuring Igmp Prompt Leave

    Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast The S9300 uses this interface to communicate with hosts. On the S9300, VLANIF interfaces and loopback interfaces support IGMP. Run: igmp timer query seconds The interval for sending IGMP General Query messages is set.
  • Page 69: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration Context After receiving a Leave message from a host, the querier reports the message to the upstream router instead of sending a Last Member Query message. This process is called IGMP prompt leave.
  • Page 70: Configuring Ssm Mapping

    Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast The membership information of the IGMP multicast group is correct. – The configuration and running status of IGMP on an S9300 interface are correct. – A matched multicast forwarding interface exists in the downstream list of the (*, G) or –...
  • Page 71: Enabling Ssm Mapping

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration Pre-configuration Tasks Before configuring SSM mapping, complete the following tasks: Configuring the unicast routing protocol to ensure that the IP routes between nodes are reachable 2.4.3 Enabling the IGMP Function Data Preparation To configure SSM mapping, you need the following data.
  • Page 72: Configuring The Ssm Mapping Policy

    Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast 2.6.3 Configuring the SSM Mapping Policy Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: igmp The IGMP view is displayed. Step 3 Run: ssm-mapping group-address { mask | mask-length } source-address An SSM group is mapped to a source.
  • Page 73: Maintaining Igmp

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration Total 2 entries matched Run the display igmp ssm-mapping interface interface-type interface-number command, and you can view information about SSM mapping on a specified interface. <Quidway> display igmp ssm-mapping interface vlanif 3 IGMP SSM-Mapping is enabled 2.7 Maintaining IGMP...
  • Page 74: Debugging Igmp

    Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast Procedure Run the display igmp group [ group-address | interface interface-type interface- number ] [ static | verbose ] command to check the information about the IGMP multicast group.
  • Page 75: Figure 2-1 Networking Diagram For Configuring Basic Igmp Functions

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration Networking Requirements On the network as shown in Figure 2-1, the unicast routing function is normal. You are required to implement multicast on the network to enable hosts to receive the Video On Demand (VOD) information.
  • Page 76 For how to configure IP addresses of interfaces, see Assigning an IP address to an Interface in the Quidway S9300 Terabit Routing Switch Configuration Guide - Basic Configurations. For how to configure OSPF, see OSPF Configuration in theQuidway S9300 Terabit Routing Switch Configuration Guide - IP Routing.
  • Page 77 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration IGMP is enabled Current IGMP version is 2 IGMP state: up IGMP group policy: none IGMP limit: - Value of query interval for IGMP (negotiated): - Value of query interval for IGMP (configured): 60 s...
  • Page 78: Example For Configuring Ssm Mapping

    Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast interface vlanif 20 ip address 10.110.2.1 255.255.255.0 pim sm igmp enable interface vlanif 21 ip address 192.168.2.1 255.255.255.0 pim sm interface gigabitethernet 1/0/0 port default vlan 20 interface gigabitethernet 2/0/0...
  • Page 79: Figure 2-2 Networking Of The Ssm Mapping Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration Solution: Configure SSM mapping on S9300-D. Figure 2-2 Networking of the SSM mapping configuration 133.133.2.1/24 133.133.3.1/24 S9300-B S9300-C 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 133.133.4.1/24...
  • Page 80 Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast 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 2-2.
  • Page 81 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration 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 an S9300.
  • Page 82 Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast interface GigabitEthernet2/0/0 port hybrid tagged vlan 20 interface GigabitEthernet3/0/0 port hybrid tagged vlan 30 ospf 1 area 0.0.0.0 network 133.133.1.0 0.0.0.255 network 192.168.1.0 0.0.0.255 network 192.168.4.0 0.0.0.255 ssm-policy 2000...
  • Page 83 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 2 IGMP Configuration interface vlanif 12 ip address 133.133.3.2 255.255.255.0 pim sm interface vlanif 21 ip address 192.168.3.1 255.255.255.0 pim sm interface vlanif 31 ip address 192.168.2.2 255.255.255.0 pim sm interface GigabitEthernet1/0/0...
  • Page 84 Quidway S9300 Terabit Routing Switch 2 IGMP Configuration Configuration Guide - Multicast acl number 2000 rule 5 permit source 232.1.1.0 0.0.0.255 igmp ssm-mapping 232.1.1.0 255.255.255.0 133.133.1.1 ssm-mapping 232.1.1.0 255.255.255.0 133.133.3.1 return 2-30 Huawei Proprietary and Confidential Issue 01 (2009-07-28) Copyright © Huawei Technologies Co., Ltd.
  • Page 85: Pim-Dm Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration PIM-DM Configuration About This Chapter This chapter describes the procedure for configuring PIM-DM on the IP network and the commands for maintaining PIM-DM, and provides configuration examples. 3.1 Introduction to PIM-DM This section describes the basic information about PIM-DM.
  • Page 86 Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast 3.12 Maintaining PIM-DM This section describes how to clear statistics on PIM control messages, how to commission PIM, and how to monitor the running status of PIM-DM. 3.13 Configuration Examples This section provides a configuration example of PIM-DM.
  • Page 87: Introduction To Pim-Dm

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration 3.1 Introduction to PIM-DM This section describes the basic information about PIM-DM. NOTE The switch referred in the following contents is an S9300 supporting the Layer 3 multicast protocol and multicast routing function.
  • Page 88: Logical Relationships Between Configuration Tasks

    Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast Controlling Multicast Source Forwarding You can set Keepalive period and rules for filtering multicast sources. Changing the Values of Neighbor Control Parameters You can set the interval for sending Hello messages, the period for keeping neighbors reachable, and the maximum delay for triggering Hello messages.
  • Page 89: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration 3.4.1 Establishing the Configuration Task 3.4.2 Enabling IP Multicast 3.4.3 Enabling PIM-DM 3.4.4 Checking the Configuration 3.4.1 Establishing the Configuration Task Applicable Environment PIM-DM is applicable to the small-scale network. Most network segments of the network have receivers.
  • Page 90: Enabling Pim-Dm

    Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast 3.4.3 Enabling PIM-DM Context NOTE PIM-DM and PIM-SM cannot be enabled on the same interface. When the S9300 is deployed in a PIM- DM domain, enable PIM-DM on all non-boundary interfaces.
  • Page 91: Setting The Parameters For Controlling A Multicast Source

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration Example Run the display pim interface vlanif 15 command, and you can view the PIM information on VLANIF 15. <Quidway> display pim interface vlanif 15 VPN-Instance: public net...
  • Page 92: Setting The Keepalive Period Of A Multicast Source

    Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast 3.4 Configuring Basic PIM-DM Functions Data Preparation To set the parameters for controlling the forwarding of a multicast source, you need the following data. Data Keepalive period of a multicast source...
  • Page 93: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: The PIM view is displayed. Step 3 Run: source-policy acl-number The S9300 is set to forward only the multicast packets with the source addresses that pass the filtering.
  • Page 94: Setting The Pim Neighbor Control Parameters

    Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast Applicable Environment S9300s that run PIM establish the neighbor relation by exchanging Hello messages to negotiate various control parameters. S9300s configured with default values can work normally. You can change the values of relevant parameters according to the specific network environment.
  • Page 95: Configuring The S9300 Not To Receive Hello Messages Without The Generation Id

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration The PIM view is displayed. Run: timer hello interval The interval for sending Hello messages is set. By default, Hello messages are sent every 30 seconds. Run: hello-option holdtime interval The timeout interval of the reachable status of a neighbor is set.
  • Page 96: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast Context When sending a Hello message, a PIM switch generates a random Generation ID and adds it to the message. If the status of the switch is changed, for example, the switch is restarted, the switch generates a new Generation ID when re-sending the Hello message.
  • Page 97: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration 3.7.1 Establishing the Configuration Task 3.7.2 Setting the Forwarding Control Parameters 3.7.3 Setting the Prune Control Parameters 3.7.4 Checking the Configuration 3.7.1 Establishing the Configuration Task Applicable Environment...
  • Page 98 Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast The configuration on an interface is valid only for the specified interface. The configuration on an interface takes precedence over the global configuration. If the forwarding control parameters are not set on the interface, the global configuration is used.
  • Page 99: Setting The Prune Control Parameters

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration By default, the S9300 sends a Join or Prune message every 60 seconds. ----End 3.7.3 Setting the Prune Control Parameters Context The Hello message carries the lan-delay (delay for transmitting messages) parameter and the override-interval (interval for overriding the prune) parameter.
  • Page 100: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. On the S9300, VLANIF interfaces and loopback interfaces support PIM. Run: pim hello-option lan-delay interval The delay for transmitting messages in the LAN is set.
  • Page 101: Setting The Parameters Of State-Refresh Messages

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration PIM hello interval: 30 s PIM LAN delay (negotiated): 500 ms PIM LAN delay (configured): 500 ms PIM hello override interval (negotiated): 2500 ms PIM hello override interval (configured): 2500 ms...
  • Page 102: Enabling State-Refresh

    Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast Applicable Environment On a PIM-DM network, the periodic flooding-pruning wastes lots of network resources. The pruned interface is restored to forward messages when the prune timer times out. To solve this problem, you can enable State-Refresh for the S9300 to send State-Refresh messages periodically, refresh the prune state of the interfaces, and maintain the shortest path tree (SPT).
  • Page 103: Setting The Interval For Sending State-Refresh Messages

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration The interface enabled with State-Refresh sends State-Refresh messages periodically. By default, PIM-DM State-Refresh is enabled on an interface. You can run the undo pim state-refresh-capable command to disable PIM-DM State-Refresh on the interface.
  • Page 104: Setting The Ttl Value Of A State-Refresh Message

    Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast The PIM view is displayed. Step 3 Run: state-refresh-rate-limit interval The timeout interval at which the S9300 waits to receive the next State-Refresh message is set. By default, the timeout interval for receiving State-Refresh messages is 30 seconds.
  • Page 105: Setting The Graft Control Parameters

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration 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 ] command to check the PIM multicast routing table.
  • Page 106: Setting The Interval For Retransmitting Graft Messages

    Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast Pre-configuration Tasks Before setting the graft control parameters, complete the following tasks: Configuring the unicast routing protocol to ensure that IP routes between nodes are reachable 3.4 Configuring Basic PIM-DM Functions Data Preparation To set the graft control parameters, you need the following data.
  • Page 107 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration Run the display pim grafts command to check the PIM-DM Graft messages that are not acknowledged. Run the display pim control-message counters [ interface interface-type interface- number ] [ message-type message-type ] command to check the number of sent and received PIM control messages.
  • Page 108: Setting The Assert Control Parameters

    Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast Graft Graft-Ack Hello Join-prune State-Refresh 3.10 Setting the Assert Control Parameters This section describes how to set control parameters of the PIM-DM Assert messages. 3.10.1 Establishing the Configuration Task 3.10.2 Setting the Period for Keeping the Assert State...
  • Page 109: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration Context The S9300 that fails in the assert election prohibits downstream interfaces from forwarding multicast data and keeps the Assert status for a period. After the period, the S9300 restores the downstream interfaces to forward messages.
  • Page 110: Configuring Pim Silent

    Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast Procedure Run the display pim interface [ interface-type interface-number | up | down ] [ verbose ] command to check the PIM information on the interface. Run the display pim control-message counters [ interface interface-type interface- number ] [ message-type message-type ] command to check the number of sent and received PIM control messages.
  • Page 111: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration 3.11.1 Establishing the Configuration Task Applicable Environment The S9300 directly connected to hosts needs to be enabled with PIM. You can establish a PIM neighbor relation on the interface to process various PIM messages. There are potential risks in security for this configuration.
  • Page 112 Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast Context PIM silent protects S9300s against PIM Hello message attacks. 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 113: Maintaining Pim-Dm

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration PIM hello override interval (configured): 2500 ms PIM Silent: enabled PIM neighbor tracking (negotiated): disabled PIM neighbor tracking (configured): disabled PIM generation ID: 0X161C232F PIM require-GenID: disabled PIM hello hold interval: 105 s...
  • Page 114: Debugging Pim-Dm

    Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast Context During routine maintenance, you can run the following commands in any view to understand the running status of PIM-DM. Procedure Run the display pim claimed-route [ source-address ] command to check the unicast routing information that PIM uses.
  • Page 115: Configuration Examples

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration Run the debugging pim assert [ advanced-acl-number | [ receive | send ] ] command to enable the assert debugging of PIM. Run the debugging pim join-prune [ advanced-acl-number | [ receive | send ] ] command to enable the join or prune debugging of PIM.
  • Page 116 Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast GE 4/0/0 VLANIF 103 10.110.5.1/24 Configuration Roadmap In a small-scale experiment network, PIM-DM is adopted to configure multicast. Enable PIM silent on the VLANIF interfaces of S9300-A to protect S9300-A from Hello message attacks.
  • Page 117 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration Interface NbrCnt HelloIntDR-PriDR-Address Vlanif103 0301 10.110.5.1(local) Vlanif100 1301 192.168.1.2(local) Vlanif200 1301 192.168.2.2(local) Vlanif300 1301 192.168.3.2(local) # Run the display pim neighbor command to check the PIM neighbor relation between the S9300s.
  • Page 118 Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast Protocol: pim-dm, UpTime: 00:03:27, Expires: never 2: Vlanif200 Protocol: pim-dm, UpTime: 00:03:27, Expires: never ----End Configuration Files Configuration file of S9300-A sysname S9300-A multicast routing-enable vlan batch 100 101 interface vlanif 100 ip address 192.168.1.1 255.255.255.0...
  • Page 119 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 3 PIM-DM Configuration return Configuration file of S9300-C sysname S9300-C multicast routing-enable vlan batch 102 300 interface vlanif 102 ip address 10.110.2.2 255.255.255.0 pim dm igmp enable interface vlanif 300 ip address 192.168.3.1 255.255.255.0...
  • Page 120 Quidway S9300 Terabit Routing Switch 3 PIM-DM Configuration Configuration Guide - Multicast area 0.0.0.0 network 192.168.2.0 0.0.0.255 network 192.168.3.0 0.0.0.255 network 192.168.1.0 0.0.0.255 network 10.110.5.0 0.0.0.255 return 3-36 Huawei Proprietary and Confidential Issue 01 (2009-07-28) Copyright © Huawei Technologies Co., Ltd.
  • Page 121: Pim-Sm Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration PIM-SM Configuration About This Chapter This chapter describes the procedure for configuring PIM-SM on the IP network and the commands for maintaining PIM-SM, and provides configuration examples. 4.1 Introduction to PIM-SM This section describes the basic information about PIM-SM.
  • Page 122 Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast 4.12 Setting the Parameters for Controlling SPT Switchover This section describes the applications of the PIM-SM SPT switchover and method of configuring the PIM-SM SPT switchover. 4.13 Configuring PIM BFD This section describes how to configure PIM BFD on a shared network segment.
  • Page 123: Introduction To Pim-Sm

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration 4.1 Introduction to PIM-SM This section describes the basic information about PIM-SM. PIM indicates that a static route or any unicast routing protocol such as RIP, OSPF, IS-IS, or BGP can provide routing information for IP multicast.
  • Page 124: Pim-Sm Features Supported By The S9300

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast 4.2 PIM-SM Features Supported by the S9300 This section describes PIM-SM features supported by the S9300. Basic PIM-SM Functions PIM-SM supports two multicast models: ASM and SSM. You can configure the model according to the requirements.
  • Page 125: Logical Relationships Between Configuration Tasks

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Configurable Forwarding Control Parameters You can determine whether to add the Generation ID to a Hello message, and configure the interval for sending Join messages, period for keeping the forwarding status of a downstream interface, and period for overriding the prune operation.
  • Page 126 Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Applicable Environment A PIM-SM network can adopt the ASM and SSM models to provide multicast services for hosts. The integrated components (including the RP) of the ASM model must be configured on the network first.
  • Page 127: Enabling Ip Multicast

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Data ACL that defines the range of multicast groups served by a C-RP Interval at which a C-RP sends Advertisement messages Timeout period during which a BSR waits the...
  • Page 128: Optional) Configuring A Static Rp

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Step 2 Run: interface interface-type interface-number The interface view is displayed. On the S9300, VLANIF interfaces and loopback interfaces support PIM. Step 3 Run: pim sm PIM-SM is enabled.
  • Page 129: Optional) Configuring Dynamic Rp Election

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration NOTE The same static-rp command must be used on all S9300s in the PIM-SM domain. ----End 4.4.5 (Optional) Configuring Dynamic RP Election Context CAUTION This configuration is applicable only to dynamic RPs. If you want to use only static RPs in this network, skip this configuration.
  • Page 130: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Step 4 Run: c-bsr interface-type interface-number [ hash-length [ priority ] ] A C-BSR is configured. interface-type interface-number: specifies the interface where the C-BSR is configured. PIM- SM must be enabled on this interface. On the S9300, VLANIF interfaces and loopback interfaces can be configured as C-BSRs.
  • Page 131: Setting The Parameters For Controlling A Multicast Source

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration <Quidway> display pim rp-info VPN-Instance: public net PIM SM static RP information: Static RP: 10.0.0.15 (local) In the case of a dynamic RP, the configuration is as follows: <Quidway>...
  • Page 132: Setting The Keepalive Period Of A Multicast Source

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast S9300s in the control of default values can work normally. You can change the values of relevant parameters according to the specific network environment. If there is no special requirement, default values are recommended.
  • Page 133: Configuring The Rules For Filtering Multicast Source Addresses

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration 4.5.3 Configuring the Rules for Filtering Multicast Source Addresses Prerequisite The ACL filtering rules are created. For the configuration of the ACL, see ACL Configuration in the Quidway S9300 Terabit Routing Switch Configuration Guide - Security.
  • Page 134: Setting The Parameters For Controlling Source Registration

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast 4.6 Setting the Parameters for Controlling Source Registration This section describes how to set the parameters of a PIM-SM Register message. 4.6.1 Establishing the Configuration Task 4.6.2 Configuring a Rule for Filtering PIM-SM Register Messages 4.6.3 Configuring PIM-SM Register Suppression...
  • Page 135: Configuring A Rule For Filtering Pim-Sm Register Messages

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Data Whether to calculate the checksum according to only the header of a Register message Timeout period for keeping the register suppression state Interval for sending null Register messages to the RP.
  • Page 136: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Context Do as follows on all the S9300s on the multicast source side. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: The PIM view is displayed.
  • Page 137: Setting The Neighbor Control Parameters

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration PIM hello override interval (negotiated): 2500 ms PIM hello override interval (configured): 2500 ms PIM Silent: disabled PIM neighbor tracking (negotiated): disabled PIM neighbor tracking (configured): disabled PIM generation ID: 0XE5F4034D...
  • Page 138: Setting The Pim Neighbor Control Parameters

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Data Priority for DR election Timeout period for waiting the Hello message from neighbors Interval for sending Hello message Maximum delay for triggering Hello messages DR switchover delay, that is, the valid period...
  • Page 139: Setting The Dr Election Control Parameters

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Setting the PIM neighbor control parameters on an interface Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. On the S9300, VLANIF interfaces and loopback interfaces support PIM.
  • Page 140: Enabling The Function Of Tracking A Downstream Neighbor

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast The PIM view is displayed. Run: hello-option dr-priority priority The priority of the interface that takes part in DR election is set. On a network segment where all S9300s support the DR priority, the interface with the highest priority functions as the DR.
  • Page 141: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Procedure Enabling the function of tracking a downstream neighbor globally Run: system-view The system view is displayed. Run: The PIM view is displayed. Run: hello-option neighbor-tracking The function of tracking a downstream neighbor is enabled.
  • Page 142: Setting The Parameters For Controlling A Dynamic Rp

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Interface: Vlanif15, 10.0.0.15 PIM version: 2 PIM mode: Sparse PIM state: up PIM DR: 10.0.0.15 (local) PIM DR Priority (configured): 1 PIM neighbor count: 0 PIM hello interval: 30 s...
  • Page 143: Changing The Values Of C-Rp Parameters

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Pre-configuration Tasks Before setting the parameters for controlling a dynamic RP, complete the following tasks: Configuring the unicast routing protocol to ensure that IP routes between nodes are reachable 4.4 Configuring Basic PIM-SM Functions...
  • Page 144: Setting Global C-Bsr Parameters

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Step 3 Run: c-rp priority priority The C-RP priority is set. Step 4 Run: c-rp advertisement-interval interval The interval at which the C-RP sends Advertisement messages is set.
  • Page 145: Configuring The Bsr Service Boundary

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Step 6 Run: c-bsr holdtime interval The holdtime of a Bootstrap message from the BSR is set. The BSR periodically sends a Bootstrap message to the network. After receiving the Bootstrap message, the C-BSR keeps the message for a certain period.
  • Page 146: Configuring The Range Of Valid C-Rp Addresses

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Context Do as follows on all the S9300s in the PIM-SM domain. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: The PIM view is displayed.
  • Page 147: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration The valid ranges of C-RP addresses and addresses of groups that the C-RP serves are limited. When receiving an Advertisement message, an S9300 checks the C-RP address and the address of the group that the C-RP serves in the message.
  • Page 148: Configuring The Administrative Domain

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast 4.9 Configuring the Administrative Domain This section describes the applications of the PIM-SM administrative domain and method of configuring the PIM-SM administrative domain. 4.9.1 Establishing the Configuration Task 4.9.2 Enabling the BSR Administrative Domain Mechanism...
  • Page 149: Enabling The Bsr Administrative Domain Mechanism

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Data Priority and Hash mask length of a BSR administrative domain in the candidate PIM- SM network BSR priority and Hash mask length of the candidate global domain 4.9.2 Enabling the BSR Administrative Domain Mechanism...
  • Page 150: Changing The Values Of C-Bsr Parameters In The Domain

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast On the S9300, VLANIF interfaces and loopback interfaces support PIM. Step 3 Run: multicast boundary group-address { mask | mask-length } The boundary of the BSR administrative domain is configured.
  • Page 151: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration The system view is displayed. Run: The PIM view is displayed. Run: c-bsr global [ hash-length hash-length | priority priority ] The C-BSR parameters are set in the global domain.
  • Page 152: Setting The Forwarding Control Parameters

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast PIM state-refresh capability on link: non-capable PIM BSR domain border: enabled PIM BFD: disabled PIM dr-switch-delay timer : not configured Number of routers on link not using DR priority: 0...
  • Page 153: Setting The Forwarding Control Parameters

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration S9300s configured with default values can work normally. You can change the values of relevant parameters according to the specific network environment. If there is no special requirement, default values are recommended.
  • Page 154: Setting The Prune Control Parameters

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Run: holdtime join-prune interval The holdtime of the Join or Prune state of a downstream interface is set. The pruned interface restores the forwarding after timeout. If the S9300 receives a State-Refresh message before timeout, the S9300 restarts the timing.
  • Page 155 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration If an S9300 receives a Prune message from an upstream interface, the S9300 learns that other downstream S9300s exist in the LAN. If the S9300 still needs to receive multicast data, the S9300 must send a Join message to the upstream device within the override-interval.
  • Page 156: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast By default, the interval for overriding the prune operation is 2500 milliseconds. ----End 4.10.4 Checking the Configuration Prerequisite The setting of the forwarding control parameters is complete. Procedure Run the display pim interface [ interface-type interface-number | up | down ] [ verbose ] command to check the PIM information on the interface.
  • Page 157: Setting The Assert Control Parameters

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Run the display pim control-message counters command, and you can view the number of PIM control messages. <Quidway> display pim control-message counters VPN-Instance: public net PIM global control-message counters:...
  • Page 158: Setting The Period For Keeping The Assert State

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Data Period for remaining in the Assert state 4.11.2 Setting the Period for Keeping the Assert State Context The S9300 that fails in the assert election prohibits downstream interfaces from forwarding multicast data and keeps the Assert status for a period.
  • Page 159: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration By default, the timeout period for keeping the Assert state is 180 seconds. ----End 4.11.3 Checking the Configuration Prerequisite The setting of the Assert control parameters is complete.
  • Page 160: Setting The Parameters For Controlling Spt Switchover

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Run the display pim control-message counters command, and you can view the number of PIM control messages. <Quidway> display pim control-message counters VPN-Instance: public net PIM global control-message counters:...
  • Page 161: Setting The Interval For Checking The Transmission Rate Of Multicast Packets

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration S9300s configured with default values can work normally. You can change the values of relevant parameters according to the specific network environment. If there is no special requirement, default values are recommended.
  • Page 162: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast By default, the interval for checking the transmission rate of multicast packets is 15 seconds. Step 4 Run: spt-switch-threshold { traffic-rate | infinity } [ group-policy basic-acl-number [ order order-value ] ] The condition of the SPT switchover is set.
  • Page 163: Configuring Pim Bfd

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Number of routers on link not using DR priority: 0 Number of routers on link not using LAN delay: 0 Number of routers on link not using neighbor tracking: 0 4.13 Configuring PIM BFD...
  • Page 164: Enabling Pim Bfd

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast 4.13.2 Enabling PIM BFD Context Do as follows on the two S9300s between which the PIM neighbor relation is established. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 165: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration pim bfd { min-tx-interval tx-value | min-rx-interval rx-value | detect-multiplier multiplier-value } The PIM BFD parameter values are changed, including the minimum interval for sending PIM BFD detection messages, minimum interval for receiving PIM BFD detection messages, and local detection multiplier.
  • Page 166: Configuring Pim Silent

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast PIM BFD min-rx-interval: 100 ms PIM BFD detect-multiplier: 20 PIM dr-switch-delay timer : not configured Number of routers on link not using DR priority: 0 Number of routers on link not using LAN delay: 0...
  • Page 167: Configuring Pim Silent

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Data Preparation To configure an interface to be PIM silent, you need the following data. Data Number of the interface connected to a host 4.14.2 Configuring PIM Silent Context PIM silent protects S9300s against PIM Hello message attacks.
  • Page 168: Configuring Basic Pim-Ssm Functions

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Example Run the display pim interface vlanif 15 verbose command, and you can view the PIM information on VLANIF 15. <Quidway> display pim interface vlanif 15 verbose VPN-Instance: public net Interface: Vlanif15, 10.0.0.15...
  • Page 169: Enabling Ip Multicast

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration If users want to receive information from the specified source, or from all sources except the specified source, they must send IGMPv3 report to subscribe to (S, G) channel. After receiving the message, the querier checks whether the group address G in the message is in the range of SSM group addresses.
  • Page 170: Configuring A Range Of Pim-Ssm Multicast Group Addresses

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed. On the S9300, VLANIF interfaces and loopback interfaces support PIM.
  • Page 171: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: The PIM view is displayed. Step 3 Run: ssm-policy acl-number The PIM-SSM address range is configured.
  • Page 172: Maintaining Pim-Sm

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast PIM assert hold interval: 360 s PIM triggered hello delay: 5 s PIM J/P interval: 60 s PIM J/P hold interval: 210 s PIM state-refresh capability on link: non-capable...
  • Page 173: Debugging Pim-Sm

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Run the display pim bfd session [ interface interface-type interface-number | neighbor neighbor-address ] command to check the information about the PIM BFD session. Run the display pim control-message counters [ interface interface-type interface- number ] [ message-type message-type ] command to check the number of sent and received PIM control messages.
  • Page 174: Figure 4-2 Networking Diagram For Configuring Pim-Sm Multicast Network

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Networking Requirements As shown in Figure 4-2, multicast is deployed on the network of an Internet Service Provider (ISP). The Interior Gateway Protocol (IGP) is deployed on the network. The unicast routing routes work normally and are connected to the Internet.
  • Page 175 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Configure the IP addresses of interfaces and the unicast routing protocol. PIM is an intra- domain multicast routing protocol that depends on a unicast routing protocol. The multicast routing protocol can work normally after the unicast routing protocol works normally.
  • Page 176 For how to configure IP addresses of interfaces, see Assigning an IP Address to an Interface in the Quidway S9300 Terabit Routing Switch - Basic Configuration. For how to configure OSPF, see OSPF Configuration in the Quidway S9300 Terabit Routing Switch - IP Routing.
  • Page 177 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration # Configure static RPs on all S9300s. The configurations of S9300-B, S9300-C, S9300-D, and S9300-E are similar to configuration on S9300-A, and are not mentioned here. NOTE If you enter preferred to the right of static-rp X.X.X.X, the static RP is selected as the RP in the PIM-SM domain.
  • Page 178 Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast Priority: 0 Hash mask length: 30 State:Elected Scope: Not scoped Wait to be BSR: 0 # Run the display pim rp-info command to view the RP information on the S9300s. For example, the RP information displayed on S9300-A is as follows: <S9300-A>...
  • Page 179 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration (10.110.5.100, 232.1.1.1) Protocol: pim-ssm, Flag: UpTime: 00:01:20 Upstream interface: vlanif103 Upstream neighbor: 10.110.5.100 RPF neighbor: 10.110.5.100 Downstream interface(s) information: Total number of downstreams: 1 1: vlanif500 Protocol: pim-ssm, UpTime: 00:01:20, Expires:- <S9300-E>...
  • Page 180 Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast interface vlanif 100 ip address 192.168.9.1 255.255.255.0 pim sm interface vlanif 101 ip address 10.110.1.1 255.255.255.0 pim sm igmp enable igmp version 3 pim silent interface vlanif 200 ip address 192.168.1.1 255.255.255.0...
  • Page 181 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration ssm-policy 2000 return Configuration file of S9300-C sysname S9300-C vlan batch 102 400 multicast routing-enable acl number 2000 rule 5 permit source 232.1.1.0 0.0.0.255 interface vlanif 102 ip address 10.110.2.2 255.255.255.0...
  • Page 182 Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast interface GigabitEthernet1/0/0 port hybrid tagged vlan 500 interface GigabitEthernet2/0/0 port hybrid tagged vlan 200 interface GigabitEthernet3/0/0 port hybrid tagged vlan 103 interface GigabitEthernet4/0/0 port hybrid tagged vlan 104 ospf 1 area 0.0.0.0...
  • Page 183: Example For Configuring Spt Switchover In Pim-Sm Domain

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration 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 4.17.2 Example for Configuring SPT Switchover in PIM-SM...
  • Page 184 For how to configure IP addresses of interfaces, see Assigning an IP Address to an Interface in the Quidway S9300 Terabit Routing Switch - Basic Configuration. For how to configure OSPF, see OSPF Configuration in the Quidway S9300 Terabit Routing Switch - IP Routing.
  • Page 185 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration [S9300-C-Vlanif100] pim sm [S9300-C-Vlanif100] quit Step 3 Configure the static RP. # Configure the static RP on S9300-A, S9300-B, and S9300-C. The configurations of S9300-B and S9300-C are similar to configuration of S9300-A, and are not mentioned here.
  • Page 186 Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast 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 Protocol: pim-sm, Flag:RPT SPT ACT...
  • Page 187 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration pim sm interface vlanif 300 ip address 192.168.2.1 255.255.255.0 pim sm interface GigabitEthernet1/0/0 port hybrid tagged vlan 300 interface GigabitEthernet2/0/0 port hybrid tagged vlan 200 interface GigabitEthernet3/0/0 port hybrid tagged vlan 101 static-rp 192.168.1.1...
  • Page 188: Example For Configuring Pim Bfd

    Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast 4.17.3 Example for Configuring PIM BFD Networking Requirements On the multicast network shown in Figure 4-4, PIM-SM is run between S9300s. Hosts receive the VOD information from the multicast source. S9300-A is the DR on the source side. S9300- B and S9300-C are connected to the segment where hosts reside.
  • Page 189 For how to configure IP addresses of interfaces, see Assigning an IP Address to an Interface in the Quidway S9300 Terabit Routing Switch - Basic Configuration. For how to configure OSPF, see OSPF Configuration in the Quidway S9300 Terabit Routing Switch - IP Routing.
  • Page 190 Quidway S9300 Terabit Routing Switch 4 PIM-SM Configuration Configuration Guide - Multicast PIM LAN delay (configured): 500 ms PIM Hello override interval (negotiated): 2500 ms PIM Hello override interval (configured): 2500 ms PIM Silent: disabled PIM neighbor tracking (negotiated): disabled...
  • Page 191 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 4 PIM-SM Configuration Configuration Files S9300-A needs to be configured with only basic PIM SM functions. The configuration file is not provided here. The following is the configuration file of S9300-B. The configuration file of S9300-C is similar to the configuration file of S9300-B, and is not provided here.
  • Page 193: Msdp Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration MSDP Configuration About This Chapter This chapter describes the procedure for configuring MSDP and commands for maintaining MSDP, and provides configuration examples. 5.1 Introduction to MSDP This section describes the basic information about MSDP.
  • Page 194: Introduction To Msdp

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast 5.1 Introduction to MSDP This section describes the basic information about MSDP. In PIM-SM mode, a multicast source is registered only on the RP in the local domain and the multicast data transmitted by sources in different domains is separated from each other.
  • Page 195 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration Configurable Parameters for Connecting MSDP Peers You can enable and disable MSDP on an S9300. In addition, you can configure the interval for sending TCP connection requests to remote MDSP peers.
  • Page 196: Logical Relationships Between Configuration Tasks

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast Controlling the Creation, Receiving, and Forwarding of an SA Message By default, an S9300 accepts all SA messages that pass the RPF check and forwards the SA messages to all MSDP peers.
  • Page 197: Enabling Msdp

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration To ensure that all RPs on the network can share the source information and the number of S9300s configured with MSDP peers is minimized, it is recommended to configure the MSDP peers on the RPs (including static RPs and C-RPs) only on the network.
  • Page 198: Configuring Msdp Peers In An As

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast multicast routing-enable IP multicast routing is enabled. By default, the IP multicast routing function is disabled. Step 3 Run: msdp MSDP is enabled and the MSDP view is displayed.
  • Page 199: Configuring Static Rpf Peers

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: msdp The MSDP view is displayed. Step 3 Run: peer peer-address connect-interface interface-type interface-number The MSDP peer relation is set up.
  • Page 200: Optional) Configuring The Msdp Mesh Group

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast Step 4 Run: static-rpf-peer peer-address The remote MSDP peer is specified as the RPF peer statically. The peer-address parameter specifies the address of the remote MSDP peer. ----End 5.4.6 (Optional) Configuring the MSDP Mesh Group...
  • Page 201: Setting The Parameters For Controlling The Msdp Connection

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration Procedure Run the display msdp brief command to check the brief information about the status of the MSDP peer. Run the display msdp peer-status [ peer-address ] command to check the detailed information about the status of the MSDP peer.
  • Page 202: Configuring The Description Of An Msdp Peer

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast A faulty MSDP peer attempts to restore works. You can adjust the interval for re-establishing the MSDP peer relation. Pre-configuration Tasks Before setting the parameters for controlling the MSDP peer relation, complete the following...
  • Page 203: Setting The Interval For Retrying Setting Up The Tcp Connection Between Msdp Peers

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration 5.5.3 Setting the Interval for Retrying Setting Up the TCP Connection Between MSDP Peers Context Do as follows on the S9300 where the MSDP peer is created. Procedure...
  • Page 204: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast You can run the undo shutdown peer-address command to establish an MSDP session between the S9300 and the remote MSDP peer and reestablish the TCP connection. ----End 5.5.5 Checking the Configuration Prerequisite The setting of the parameters for controlling MSDP peers is complete.
  • Page 205: Configuring The Ip Address Of An Rp

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration Applicable Environment In the traditional PIM-SM domain, each multicast group is mapped to only one RP. When the network is overloaded or burst traffic is transmitted, many network problems occur. For example, the load of RP is too heavy;...
  • Page 206: Configuring A C-Rp

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast Context The S9300 can use the unicast routing protocol on the current network to advertise the new IP address of the RP interface. Make sure that each S9300 on the network has a route to the RP address.
  • Page 207: Configuring A Static Rp

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration The system view is displayed. Step 2 Run: The PIM view is displayed. Step 3 Run: c-rp loopback interface-number The loopback interface is configured as a C-RP. ----End 5.6.4 Configuring a Static RP...
  • Page 208: Specifying The Logical Rp Address Of An Sa Message

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast The system view is displayed. Step 2 Run: msdp The MSDP view is displayed. Step 3 Run: peer peer-address connect-interface interface-type interface-number The MSDP peer relation is established.
  • Page 209: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration Do as follows on the S9300s that need to establish anycast RP. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: msdp The MSDP view is displayed.
  • Page 210: Setting The Parameters Of The Sa Message

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast RPF prime neighbor: 10.3.1.2 Downstream interface(s) information: Total number of downstreams: 1 1: Vlanif30 Protocol: pim-sm, UpTime: - , Expires: 5.7 Setting the Parameters of the SA Message This section describes how to set the parameters of the SA message.
  • Page 211: Configuring The Content Of An Sa Message

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration Data Preparation To set parameters of SA messages, you need the following data. Data (Optional) TTL threshold for forwarding SA messages that contain multicast packets Address of the remote MSDP peer...
  • Page 212: Setting The Parameters Of The Sa Request Message

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast After the MSDP peer receives an SA messages with a multicast packet encapsulated, the multicast packets are forwarded to the specified remote MSDP peer only when the current TTL value is greater than the threshold.
  • Page 213: Configuring Sa Caching

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration Run: msdp The MSDP view is displayed. Run: peer peer-address sa-request-policy [ acl basic-acl-number ] The rule for filtering received SA request messages is configured. peer-address: specifies the address of the MSDP peer that sends the SA request –...
  • Page 214: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast Context After the rule for filtering sources in SA messages is configured on the source RP, the source RP filters the active sources registered locally according to the rule. That is, the source RP determines the (S, G) information to be advertised according to the rule.
  • Page 215: Maintaining Msdp

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration Run the display msdp sa-cache [ group-address | source-address | as-number ] command to check the information about the (S, G) entries in the SA cache. ----End Example Run the display msdp peer-status command, and you can view information about the remote MSDP peer.
  • Page 216: Clearing The (S, G) Information In The Sa Cache

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast Context CAUTION Statistics on MSDP cannot be restored after you clear them. Therefore, confirm the action before you run the command. Procedure Run the reset msdp peer [ peer-address ] command to reset the TCP connection between the S9300 and the specified MSDP peer and clear all the statistics on the specified MSDP peer.
  • Page 217: Debugging Msdp

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration Run the display msdp sa-cache [ group-address | source-address | as-number ] command to check the information about (S, G) entries in the SA cache. Run the display msdp sa-count [ as-number ] command to view the number of (S, G) entries of MSDP in the SA cache.
  • Page 218: Figure 5-1 Networking Diagram For Configuring Basic Msdp Functions

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast Figure 5-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 S9300-A S9300-C GE1/0/0 GE1/0/0 GE1/0/0 GE2/0/0 GE2/0/0 GE2/0/0 GE2/0/0 S9300-D S9300-B...
  • Page 219 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 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 220 Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast # Enable multicast on S9300-B and enable PIM-SM on each interface. The configurations of other S9300s are similar to the configuration of S9300-B, and are not mentioned here.
  • Page 221 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 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 <S9300-C> display bgp peer BGP local router ID : 2.2.2.2...
  • Page 222 Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast <S9300-B> 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 223 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration 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) RP: 2.2.2.2...
  • Page 224 Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast pim bsr-boundary interface LoopBack0 ip address 1.1.1.1 255.255.255.255 pim sm interface GigabitEthernet1/0/0 port hybrid tagged vlan 200 interface GigabitEthernet2/0/0 port hybrid tagged vlan 100 bgp 100 router-id 1.1.1.1 peer 192.168.2.2 as-number 200...
  • Page 225 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration import-route ospf 1 ospf 1 import-route bgp area 0.0.0.0 network 192.168.3.0 0.0.0.255 network 192.168.4.0 0.0.0.255 network 2.2.2.2 0.0.0.0 c-bsr LoopBack0 c-rp LoopBack0 msdp peer 192.168.2.1 connect-interface vlanif200 peer 192.168.4.2 connect-interface vlanif400...
  • Page 226: Example For Configuring Inter-As Multicast By Using Static Rpf Peers

    Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast port hybrid tagged vlan 400 interface LoopBack0 ip address 3.3.3.3 255.255.255.255 pim sm ospf 1 area 0.0.0.0 network 192.168.4.0 0.0.0.255 network 192.168.5.0 0.0.0.255 network 3.3.3.3 0.0.0.0 c-bsr LoopBack0...
  • Page 227: Figure 5-2 Networking Diagram For Configuring Inter-As Multicast By Using Static Rpf Peers

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration Figure 5-2 Networking diagram for configuring inter-AS multicast by using static RPF peers AS100 AS200 2.2.2.2/32 Loopback0 S9300-E GE1/0/0 1.1.1.1/32 GE2/0/0 Loopback0 GE1/0/0 S9300-D GE3/0/0 PIM-SM2 GE2/0/0 S9300-C...
  • Page 228 Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast Configure IP addresses for the interfaces on each S9300, configure OSPF in the AS, configure EBGP between ASs, and import BGP and OSPF routes into each other's routing table.
  • Page 229 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration [S9300-C-Vlanif400] pim sm [S9300-C-Vlanif400] quit # Configure the service boundary of BSR on VLANIF 500 of S9300-A, VLANIF 200 of S9300- B, VLANIF 200 of S9300-E, and VLANIF 500 of S9300-F. The configurations of S9300-B, S9300-E, and S9300-F are similar to configuration of S9300-A, and are not mentioned here.
  • Page 230 Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast <S9300-D> display msdp brief MSDP Peer Brief Information of VPN-Instance: public net Configured Listen Connect Shutdown Down Peer's Address State Up/Down time SA Count Reset Count 192.168.1.1 01:07:09 <S9300-F>...
  • Page 231 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration interface vlanif 100 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 interface GigabitEthernet1/0/0 port hybrid tagged vlan 100 interface GigabitEthernet2/0/0 port hybrid tagged vlan 400 interface LoopBack0 ip address 1.1.1.1 255.255.255.255...
  • Page 232 Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast peer 192.168.1.1 connect-interface vlanif300 static-rpf-peer 192.168.1.1 rp-policy list-c return Configuration file of S9300-F sysname S9300-F vlan batch 500 600 multicast routing-enable interface vlanif 500 ip address 192.168.5.1 255.255.255.0...
  • Page 233: Example For Configuring Anycast Rp

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration interface GigabitEthernet1/0/0 port hybrid untagged vlan 103 interface GigabitEthernet2/0/0 port hybrid tagged vlan 600 interface GigabitEthernet3/0/0 port hybrid untagged vlan 104 ospf 1 area 0.0.0.0 network 192.168.6.0 0.0.0.255 network 10.110.3.0 0.0.0.255...
  • Page 234 Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast GE 2/0/0 VLANIF 102 10.110.2.2/24 S9300-C GE 1/0/0 VLANIF 100 192.168.1.1/24 GE 2/0/0 VLANIF 101 10.110.1.1/24 GE 3/0/0 VLANIF 104 10.110.4.1/24 Loopback0 1.1.1.1/32 Loopback1 3.3.3.3/32 Loopback10 10.1.1.1/32 S9300-D...
  • Page 235 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration Step 2 Enable multicast and configure PIM-SM. # Enable multicast on all S9300s, and PIM-SM on all interfaces. Enable the IGMP function on the interfaces at the host side. The configurations of other S9300s are similar to configuration of S9300-C, and are not mentioned here.
  • Page 236 Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast Configured Listen Connect Shutdown Down Peer's Address State Up/Down time SA Count Reset Count 2.2.2.2 00:10:17 <S9300-D> display msdp brief MSDP Peer Brief Information of VPN-Instance: public net...
  • Page 237 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 5 MSDP Configuration <S9300-D> display pim routing-table VPN-Instance: public net Total 1 (*, G) entry; 1 (S, G) entry (*, 225.1.1.1) RP: 10.1.1.1 (local) Protocol: pim-sm, Flag: WC RPT UpTime: 00:07:23...
  • Page 238 Quidway S9300 Terabit Routing Switch 5 MSDP Configuration Configuration Guide - Multicast multicast routing-enable interface vlanif 100 ip address 192.168.1.1 255.255.255.0 pim sm interface vlanif 101 ip address 10.110.1.1 255.255.255.0 pim sm interface vlanif 104 ip address 10.110.4.1 255.255.255.0 igmp enable...
  • Page 239: Multicast Route Management

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 6 Multicast Route Management Multicast Route Management About This Chapter This chapter describes the principle of RPF, procedures for configuring multicast static routes and forwarding policies, and commands for maintaining multicast static routes and forwarding policies, and provides configuration examples.
  • Page 240: Introduction To Multicast Route Management

    Quidway S9300 Terabit Routing Switch 6 Multicast Route Management Configuration Guide - Multicast 6.1 Introduction to Multicast Route Management This section describes the principle and concepts of multicast routing, forwarding, and RPF. In the multicast implementation on the S9300, the multicast routing and forwarding are managed...
  • Page 241 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 6 Multicast Route Management Static multicast routes are used to change the RPF routes or to connect RPF routes instead of forwarding data. Static multicast routes are effective only on the S9300s configured with static multicast routes, and cannot be advertised or imported to other switches.
  • Page 242: Logical Relationships Between Configuration Tasks

    NOTE You can ping multicast addresses by using the Network Quality Analysis (NQA) test instances or related commands. For detailed configuration methods of NQA test instances, see the Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management. 6.3 Logical Relationships Between Configuration Tasks This section describes the logical relationships between the configuration tasks.
  • Page 243: Configuring A Static Multicast Route

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 6 Multicast Route Management Applicable Environment Based on the application environment, static multicast routes have the following functions: Changing RPF routes When the multicast topology structure is the same as the unicast topology structure on the network, unicast data and multicast data are transmitted on the path.
  • Page 244: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 Multicast Route Management Configuration Guide - Multicast Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: ip rpf-route-static source-address { mask | mask-length } [ protocol [ process- id ] ] [ route-policy policy-name ] rpf-address [ preference preference ] [ order order-num ] The static multicast route is configured.
  • Page 245: Configuring A Multicast Routing Policy

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 6 Multicast Route Management 6.5 Configuring a Multicast Routing Policy This section describes how to configure a multicast routing policy. 6.5.1 Establishing the Configuration Task 6.5.2 Configuring the Longest-Match Principle for Selecting Multicast Routes 6.5.3 Configuring Multicast Load Balancing...
  • Page 246: Configuring The Longest-Match Principle For Selecting Multicast Routes

    Quidway S9300 Terabit Routing Switch 6 Multicast Route Management Configuration Guide - Multicast 6.5.2 Configuring the Longest-Match Principle for Selecting Multicast Routes Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: multicast longest-match The S9300 is configured to select multicast routes by using the longest-match principle.
  • Page 247: Configuring The Multicast Forwarding Range

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 6 Multicast Route Management interface { include | exclude | match } { interface-type interface-number | register | none } ] command to check the information about the multicast routing table.
  • Page 248: Configuring The Multicast Forwarding Boundary

    Quidway S9300 Terabit Routing Switch 6 Multicast Route Management Configuration Guide - Multicast Data Address of the multicast forwarding boundary 6.6.2 Configuring the Multicast Forwarding Boundary 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 249: Setting The Parameters For Controlling The Multicast Forwarding Table

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 6 Multicast Route Management Example Run the display multicast boundary command, and you can view information about the multicast boundary. <Quidway> display multicast boundary Multicast boundary information of VPN-Instance: public net...
  • Page 250: Setting The Maximum Number Of Entities In The Multicast Forwarding Table

    Quidway S9300 Terabit Routing Switch 6 Multicast Route Management Configuration Guide - Multicast Configuring basic multicast functions Data Preparation To set the parameters for controlling the multicast routing policy, you need the following data. Data Addresses, masks (or mask lengths) of the...
  • Page 251: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 6 Multicast Route Management Context CAUTION The setting takes effect only after you run the reset multicast forwarding-table command. Running the reset multicast forwarding-table command interrupts multicast services. Therefore, confirm the action before you run the command.
  • Page 252: Checking The Multicast Routes

    Quidway S9300 Terabit Routing Switch 6 Multicast Route Management Configuration Guide - Multicast 6.8.4 Monitoring the Multicast Routing and Forwarding 6.8.5 Debugging Multicast Forwarding and Routing 6.8.1 Checking the Multicast Routes Context When data transmission is abnormal, you can ping related multicast addresses to check the multicast routes.
  • Page 253: Clearing Routing Entries And Multicast Forwarding Entities

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 6 Multicast Route Management NOTE When checking the RPF path or multicast path from a multicast source to a destination host, run the mtrace query-policy [ acl-number ] command on the S9300 connected to hosts to configure the filtering policy for a querier.
  • Page 254: Debugging Multicast Forwarding And Routing

    Quidway S9300 Terabit Routing Switch 6 Multicast Route Management Configuration Guide - Multicast Procedure Run the display multicast boundary [ group-address [ mask | mask-length ] ] [ interface vlanif vlan-id ] command to check the information about the multicast boundary configured on the interface.
  • Page 255: Figure 6-1 Networking Diagram For Changing Static Multicast Routes To Rpf Routes

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 6 Multicast Route Management 6.9.1 Example for Changing Static Multicast Routes to RPF Routes 6.9.2 Example for Connecting RPF Routes Through Static Multicast Routes 6.9.1 Example for Changing Static Multicast Routes to RPF Routes...
  • Page 256 Quidway S9300 Terabit Routing Switch 6 Multicast Route Management Configuration Guide - Multicast Configure the IP addresses of interfaces and the unicast routing protocol on each S9300. Enable the multicast function on all S9300s, PIM-SM on all interfaces, and IGMP on the interfaces at the host side.
  • Page 257: Example For Connecting Rpf Routes Through Static Multicast Routes

    Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 6 Multicast Route Management <S9300-B> system-view [S9300-B] ip rpf-route-static 8.1.1.0 255.255.255.0 13.1.1.2 Step 4 Verify the configuration. # Run the display multicast rpf-info command on S9300-B to view the RPF information of the source.
  • Page 258: Figure 6-2 Networking Diagram For Connecting The Rpf Route Through Static Multicast Routes

    Quidway S9300 Terabit Routing Switch 6 Multicast Route Management Configuration Guide - Multicast Networking Requirements As shown in Figure 6-2, PIM-DM runs on the network and all S9300 support multicast. The receiver can receive information from the multicast source Source1. S9300-B and S9300-C run OSPF.
  • Page 259 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 6 Multicast Route Management Configure static multicast RPF routes on S9300-B and S9300-C. Data Preparation To complete the configuration, you need the following data: IP address of Source2 RPF interface, VLANIF 40, through which S9300-B connects to Source 2 and the RPF...
  • Page 260 Quidway S9300 Terabit Routing Switch 6 Multicast Route Management Configuration Guide - Multicast # Run the display multicast rpf-info 10.1.5.2 command on S9300-B and S9300-C. If no information is displayed, it indicates that S9300-B and S9300-C have no RPF route to Source2.
  • Page 261 Quidway S9300 Terabit Routing Switch Configuration Guide - Multicast 6 Multicast Route Management 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 Downstream interface(s) information: Total number of downstreams: 1 1: vlanif12 Protocol: pim-dm, UpTime: 00:00:44, Expires: never...
  • Page 262 Quidway S9300 Terabit Routing Switch 6 Multicast Route Management Configuration Guide - Multicast interface GigabitEthernet3/0/0 port hybrid tagged vlan 40 ospf 1 area 0.0.0.0 network 10.1.2.0 0.0.0.255 network 10.1.3.0 0.0.0.255 ip rpf-route-static 10.1.5.0 24 10.1.4.2 return Configuration file of S9300-C...

Table of Contents