H3C S9500 Series Operation Manual
H3C S9500 Series Operation Manual

H3C S9500 Series Operation Manual

Multicast protocol routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual - Multicast Protocol
H3C S9500 Series Routing Switches
Chapter 1 IP Multicast Overview.................................................................................................. 1-1
1.1 IP Multicast Overview ........................................................................................................ 1-1
1.1.1 Problems with Unicast/Broadcast ........................................................................... 1-1
1.1.2 Advantages of Multicast .......................................................................................... 1-2
1.1.3 Application of Multicast ........................................................................................... 1-3
1.2 Implementation of IP Multicast........................................................................................... 1-4
1.2.1 IP Multicast Addresses............................................................................................ 1-4
1.2.2 IP Multicast Protocols.............................................................................................. 1-6
1.3 RPF Mechanism for IP Multicast Packets ......................................................................... 1-7
Chapter 2 IGMP Snooping Configuration ................................................................................... 2-1
2.1 IGMP Snooping Overview ................................................................................................. 2-1
2.1.1 IGMP Snooping Principle ........................................................................................ 2-1
2.1.2 Implement IGMP Snooping ..................................................................................... 2-2
2.2 IGMP Snooping Configuration ........................................................................................... 2-4
2.2.1 Enabling/Disabling IGMP Snooping ........................................................................ 2-4
2.2.2 Configuring Router Port Aging Time ....................................................................... 2-5
2.2.3 Configuring Maximum Response Time ................................................................... 2-6
2.2.4 Configuring Aging Time of Multicast Group Member Ports .................................... 2-6
2.2.6 Configuring the Filtering Rule of Multicast Groups ................................................. 2-7
2.2.7 Enabling/Disabling IGMP Snooping Fast Leave ..................................................... 2-8
2.3 Multicast Static Routing Port Configuration ....................................................................... 2-9
2.3.1 Introduction.............................................................................................................. 2-9
2.3.2 Prerequisites ........................................................................................................... 2-9
2.3.3 Configuring a Multicast Static Routing Port .......................................................... 2-10
2.4 Displaying and Maintaining IGMP Snooping ................................................................... 2-11
2.5 IGMP Snooping Configuration Example.......................................................................... 2-12
2.5.1 Enable IGMP Snooping......................................................................................... 2-12
2.6 Troubleshoot IGMP Snooping ......................................................................................... 2-13
Chapter 3 Multicast VLAN Configuration.................................................................................... 3-1
3.1 Multicast VLAN Overview .................................................................................................. 3-1
3.2 Multicast VLAN Configuration............................................................................................ 3-1
3.3 Multicast VLAN Configuration Example............................................................................. 3-2
Chapter 4 Common Multicast Configuration.............................................................................. 4-1
4.1 Introduction to Common Multicast Configuration............................................................... 4-1
4.2 Common Multicast Configuration....................................................................................... 4-1
4.2.1 Enabling Multicast Routing...................................................................................... 4-1

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S9500 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C S9500 Series

  • Page 1: Table Of Contents

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 IP Multicast Overview....................1-1 1.1 IP Multicast Overview ......................1-1 1.1.1 Problems with Unicast/Broadcast ................1-1 1.1.2 Advantages of Multicast ..................1-2 1.1.3 Application of Multicast ...................
  • Page 2 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Table of Contents 4.2.2 Configuring Multicast Routing Table Size Limit ............4-2 4.2.3 Clearing MFC Forwarding Entries or Its Statistic Information......... 4-2 4.2.4 Clearing Route Entries from the Kernel Multicast Routing Table ......4-2 4.3 Managed multicast Configuration ..................
  • Page 3 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Table of Contents 6.2.5 Configuring the Filtering of Multicast Source/Group ..........6-5 6.2.6 Configuring the Filtering of PIM Neighbor............... 6-5 6.2.7 Configuring the Maximum Number of PIM Neighbor on an Interface ..... 6-5 6.2.8 Clearing PIM Routing Table Entries................
  • Page 4 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Table of Contents 8.2.8 Controlling the Source Information Created............8-8 8.2.9 Controlling the Source Information Forwarded ............8-9 8.2.10 Controlling the Received Source Information ............. 8-10 8.2.11 Configuring MSDP Mesh Group................8-10 8.2.12 Configuring the MSDP Connection Retry Period ..........
  • Page 5: Chapter 1 Ip Multicast Overview

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 1 IP Multicast Overview Chapter 1 IP Multicast Overview Note: An Ethernet switch functions as a router when it runs IP multicast protocol. A router that is referred to in the following represents a generalized router or a layer 3 Ethernet switch running IP multicast protocol.
  • Page 6: Advantages Of Multicast

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 1 IP Multicast Overview over the network if there is a large number of users in need of this information. As the bandwidth would turn short, the unicast mode is incapable of massive transmission.
  • Page 7: Application Of Multicast

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 1 IP Multicast Overview User A User A User B User B Multicast Multicast User C User C User D User D Server Server User E User E Figure 1-3 Data transmission in multicast mode Suppose the Users B, D, and E need the information, they need to be organized into a receiver group to ensure that the information can reach them smoothly.
  • Page 8: Implementation Of Ip Multicast

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 1 IP Multicast Overview Occasional communication for training and cooperation Data storage and finance (stock) operation Point-to-multipoint data distribution With the increasing popularity of multimedia services over IP network, multicast is gaining its marketplace.
  • Page 9 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 1 IP Multicast Overview Table 1-1 Ranges and meanings of Class D addresses Class D address range Description Reserved multicast addresses (addresses of 224.0.0.0∼224.0.0.255 permanent groups). All but 224.0.0.0 can be allocated by routing protocols.
  • Page 10: Ip Multicast Protocols

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 1 IP Multicast Overview Class D address range Description 224.0.0.17 All SBMS 224.0.0.18 VRRP …… …… II. Ethernet Multicast MAC Addresses When a unicast IP packet is transmitted on the Ethernet, the destination MAC address is the MAC address of the receiver.
  • Page 11: Rpf Mechanism For Ip Multicast Packets

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 1 IP Multicast Overview User A IGMP User B User C MBGP/MSDP IGMP Multicast User D IGMP Server User E Figure 1-5 Application positions of multicast-related protocols I. Multicast group management protocol Multicast groups use Internet group management protocol (IGMP) as the management protocols.
  • Page 12 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 1 IP Multicast Overview uses the source address of a received multicast packet to query the unicast routing table or the independent multicast routing table to determine that the receiving interface is on the shortest path from the receiving station to the source.
  • Page 13: Chapter 2 Igmp Snooping Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 2 IGMP Snooping Configuration Chapter 2 IGMP Snooping Configuration 2.1 IGMP Snooping Overview 2.1.1 IGMP Snooping Principle Running on the link layer, IGMP Snooping is a multicast control mechanism on the Layer 2 Ethernet switch and it is used for multicast group management and control.
  • Page 14: Implement Igmp Snooping

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 2 IGMP Snooping Configuration Video stream Internet / Intranet Multicast router Video stream VOD Server Layer 2 Ethernet Switch Video stream Video stream Video stream Multicast group member Non-multicast...
  • Page 15 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 2 IGMP Snooping Configuration II. Implement Layer 2 multicast with IGMP Snooping The Ethernet switch runs IGMP Snooping to listen to the IGMP messages and map the host and its ports to the corresponding multicast group address. To implement IGMP...
  • Page 16: Igmp Snooping Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 2 IGMP Snooping Configuration If the corresponding MAC multicast group exists but does not contains the port received the report message, the switch adds the port into the multicast group and starts the port aging timer.
  • Page 17: Configuring Router Port Aging Time

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 2 IGMP Snooping Configuration By default, IGMP Snooping is disabled. Caution: First enable IGMP Snooping globally in system view, and then enable IGMP Snooping in VLAN view. Otherwise, IGMP Snooping will not take effect.
  • Page 18: Configuring Maximum Response Time

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 2 IGMP Snooping Configuration 2.2.3 Configuring Maximum Response Time This task is to manually configure the maximum response time. If the Ethernet switch receives no report message from a port within the maximum response time, it will remove the port from the multicast group.
  • Page 19: Configuring The Filtering Rule Of Multicast Groups

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 2 IGMP Snooping Configuration there is no member port or router port, the packets will be directly dropped, instead of being forwarded. Caution: If IGMP snooping is not enabled on the VLAN (nor Layer 3 multicast), unknown multicast packets are broadcasted within the VLAN no matter whether this function is enabled or not.
  • Page 20: Enabling/Disabling Igmp Snooping Fast Leave

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 2 IGMP Snooping Configuration Operation Command Cancel the filtering rule of multicast undo igmp-snooping group-policy groups in the specified VLAN By default, no filtering rule is set for a VLAN. In this case, a host can be joined to any multicast group.
  • Page 21: Multicast Static Routing Port Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 2 IGMP Snooping Configuration For detailed configuration, refer to the H3C S9500 Series Routing Switches Command Manual. Note: Fast leave configurations that are configured in system view and Ethernet port view operate separately.
  • Page 22: Configuring A Multicast Static Routing Port

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 2 IGMP Snooping Configuration 2.3.3 Configuring a Multicast Static Routing Port You can configure a port in a VLAN to be a static routing port in VLAN view. Table 2-8 Configure a port in a VLAN to be a static routing port in VLAN view...
  • Page 23: Displaying And Maintaining Igmp Snooping

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 2 IGMP Snooping Configuration Caution: You will fail to configure a port to be a static routing port if the port identified by the port-number argument does not exist, or the port does not belong to the VLAN.
  • Page 24: Igmp Snooping Configuration Example

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 2 IGMP Snooping Configuration 2.5 IGMP Snooping Configuration Example 2.5.1 Enable IGMP Snooping I. Networking requirements To implement IGMP Snooping on the switch, you need to enable IGMP Snooping on the switch first.
  • Page 25: Troubleshoot Igmp Snooping

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 2 IGMP Snooping Configuration [H3C-vlan10] igmp-snooping enable 2.6 Troubleshoot IGMP Snooping Fault: Multicast function cannot be implemented on the switch. Troubleshooting: IGMP Snooping is disabled. Carry out the display current-configuration command in any view to display the status of IGMP Snooping.
  • Page 26: Chapter 3 Multicast Vlan Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 3 Multicast VLAN Configuration Chapter 3 Multicast VLAN Configuration 3.1 Multicast VLAN Overview Based on the current multicast on demand, when users in different VLANs request the service, multicast flow is duplicated in each VLAN and thus a great deal of bandwidth is wasted.
  • Page 27: Multicast Vlan Configuration Example

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 3 Multicast VLAN Configuration Note: A port can only belong to one multicast VLAN. The type of the ports connected to user terminals must be hybrid untagged. The current system supports up to three multicast VLANS.
  • Page 28 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 3 Multicast VLAN Configuration II. Network diagram Sw itch A Sw itch A Sw itch A Sw itch A Sw itch A Sw itch A Sw itch A Sw itch A...
  • Page 29 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 3 Multicast VLAN Configuration Configure Switch B # Enable IGMP Snooping. <Switch B> system-view System View: return to User View with Ctrl+Z. [Switch B] igmp-snooping enable # Enable IGMP-Snooping on VLAN 2 and VLAN 3.
  • Page 30: Chapter 4 Common Multicast Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 4 Common Multicast Configuration Chapter 4 Common Multicast Configuration 4.1 Introduction to Common Multicast Configuration The multicast common configuration is for both the multicast group management protocol and the multicast routing protocol. The configuration includes enabling IP multicast routing, displaying multicast routing table and multicast forwarding table, etc.
  • Page 31: Configuring Multicast Routing Table Size Limit

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 4 Common Multicast Configuration 4.2.2 Configuring Multicast Routing Table Size Limit Because too many multicast routing table entries may exhaust the router memory, you need to limit the size of the multicast routing table.
  • Page 32: Managed Multicast Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 4 Common Multicast Configuration 4.3 Managed multicast Configuration 4.3.1 Managed multicast Overview The managed multicast feature controls user’s authority to join multicast groups. This feature is based on ports: users must first pass the 802.1x authentication set for their ports.
  • Page 33: Managed Multicast Configuration Example

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 4 Common Multicast Configuration Table 4-7 Configure managed multicast in local user view Operation Command Set multicast group which users are multicast ip-address ip-address authorized to join (managed multicast) &<1-9>...
  • Page 34: Configuring Broadcast/Multicast Suppression

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 4 Common Multicast Configuration III. Configuration procedure Managed multicast is a module combined with 802.1x, so you need to perform the following configuration beside multicast configuration: # Enable managed multicast globally.
  • Page 35: Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 4 Common Multicast Configuration 4.4.2 Configuration Table 4-8 Configuring Broadcast/Multicast Suppression Operation Command Description Enter system view system-view Required Enter Ethernet port interface interface-type interface-type must view interface-number Ethernet...
  • Page 36 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 4 Common Multicast Configuration Table 4-9 Displaying and Debugging Common Multicast Configuration Operation Command display multicast routing-table group-address mask mask mask-length } ] | source-address [ mask Display the multicast routing table...
  • Page 37: Chapter 5 Igmp Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration Chapter 5 IGMP Configuration 5.1 IGMP Overview 5.1.1 Introduction to IGMP Internet Group Management Protocol (IGMP) is a protocol in the TCP/IP suite responsible for management of IP multicast members. It is used to establish and maintain multicast membership among IP hosts and their directly connected neighboring routers.
  • Page 38: Introduction To Igmp Proxy

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration address is elected as the querier when there are multiple multicast routers on the same network segment. II. Leaving group mechanism In IGMP Version 1, hosts leave the multicast group quietly without informing the multicast router.
  • Page 39 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration I. Description of IGMP proxy configuration Exterior network Exterior network Switch A Switch A Switch A Switch A Switch A 外部网络 外部网络 33.33.33.1 33.33.33.1 33.33.33.1 33.33.33.1 33.33.33.1...
  • Page 40: Igmp Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration Switch A processes the message after receiving the IGMP message sent by Switch B through the interface of VLAN 100, just as the message is sent by a host directly connected to the interface of VLAN 100.
  • Page 41: Configuring The Igmp Version

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration Table 5-1 Enabling/Disabling IGMP on an interface Operation Command Enable IGMP on an interface igmp enable Disable IGMP on an interface undo igmp enable Caution: If the VLAN VPN is enabled on a port, the IGMP Snooping feature cannot be enabled on the VLAN for the port or the IGMP feature cannot be enabled on the corresponding VLAN interface.
  • Page 42: Configuring The Interval To Send Igmp Query Message

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration 5.2.4 Configuring the Interval to Send IGMP Query Message Multicast routers send IGMP query messages to discover which multicast groups are present on attached networks. Multicast routers send query messages periodically to refresh their knowledge of members present on their networks.
  • Page 43: Configuring The Present Time Of Igmp Querier

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration I. Configuring interval for querying IGMP packets Table 5-4 Configuring interval for querying IGMP packets Operation Command Configure interval for querying igmp lastmember-queryinterval seconds IGMP packets...
  • Page 44: Configuring Maximum Response Time For Igmp Query Message

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration 5.2.7 Configuring Maximum Response Time for IGMP Query Message When a router receives a query message, the host will set a timer for each multicast group it belongs to. The value of the timer is randomly selected between 0 and the maximum response time.
  • Page 45: Configuring A Router To Join Specified Multicast Group

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration 5.2.9 Configuring a Router to Join Specified Multicast Group Usually, the host operating IGMP will respond to IGMP query packet of the multicast router. In case of response failure, the multicast router will consider that there is no multicast member on this network segment and will cancel the corresponding path.
  • Page 46: Configuring The Filtering Rule Of Multicast Groups

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration Table 5-10 Deleting IGMP groups joined on an interface Operation Command Delete IGMP groups reset igmp group { all | interface vlan-interface joined on an interface...
  • Page 47: Enabling/Disabling Igmp Fast Leaving

    Disable IGMP fast leave [ vlan { vlan-id [ to vlan-id ] } &<1-10> ] For detailed configuration, refer to the H3C S9500 Series Routing Switches Command Manual. Note: Fast leaves that are configured in system view and Ethernet port view operate separately.
  • Page 48: Igmp Proxy Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration Caution: If the specified VLANs do not exists, the port does not belongs to any of the specified VLANs, or the VLANs do not have IGMP enabled, you can still configure the fast leave feature, but the configuration will not take effect.
  • Page 49: Igmp Configuration Example

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration Caution: You need to enable PIM protocol for a VLAN interface before executing the igmp proxy command in its VLAN interface view. If you configure the IGMP proxy interface for a VLAN interface multiple times, the latest configured IGMP proxy interface will be effective.
  • Page 50 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration II. Network diagram Exterior network Exterior network Switch A Switch A Switch A Switch A Switch A 外部网络 外部网络 33.33.33.1 33.33.33.1 33.33.33.1 33.33.33.1 33.33.33.1 VL AN interface 1...
  • Page 51: Displaying And Debugging Igmp

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration # Configure the interface of VLAN 100 to be the IGMP proxy interface of the interface of VLAN 200. [SwitchB] interface vlan-interface 200 [SwitchB-Vlan-interface 200] igmp proxy Vlan-interface 100 Configure Switch A.
  • Page 52 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 5 IGMP Configuration Table 5-14 Displaying and debugging IGMP Operation Command Display information about display igmp group [ group-address | members of IGMP multicast groups interface vlan-interface interface-number ]...
  • Page 53: Chapter 6 Pim-Dm Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 6 PIM-DM Configuration Chapter 6 PIM-DM Configuration 6.1 PIM-DM Overview 6.1.1 Introduction to PIM-DM PIM-DM (Protocol Independent Multicast, Dense Mode) belongs to dense mode multicast routing protocols. PIM-DM is suitable for small networks. Members of multicast groups are relatively dense in such network environments.
  • Page 54 IP address will be the upstream neighbor of the (S, G) entry, which is responsible for forwarding the (S, G) multicast packet. Note: Currently assert mechanism is not available on the H3C S9500 Series Routing Switches.
  • Page 55: Pim-Dm Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 6 PIM-DM Configuration IV. Graft When the pruned downstream node needs to be restored to the forwarding state, the node will send a graft packet to inform the upstream node.
  • Page 56: Configuring The Time Intervals For Ports To Send Hello Packets

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 6 PIM-DM Configuration 6.2.3 Configuring the Time Intervals for Ports to Send Hello Packets When protocol independent multicast (PIM) protocol is enabled for a port, the port sends Hello packets periodically. The time intervals to send Hello packets vary with the bandwidth and type of the connected networks.
  • Page 57: Configuring The Filtering Of Multicast Source/Group

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 6 PIM-DM Configuration 6.2.5 Configuring the Filtering of Multicast Source/Group You can set to filter the source (and group) address of multicast data packets via this command. When this feature is configured, the router filters not only multicast data, but the multicast data encapsulated in the registration packets.
  • Page 58: Clearing Pim Routing Table Entries

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 6 PIM-DM Configuration Table 6-6 Configuring the maximum number of PIM neighbor on an interface Operation Command Configure the maximum number of PIM neighbor on an pim neighbor-limit limit...
  • Page 59: Pim-Dm Configuration Example

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 6 PIM-DM Configuration Table 6-9 Displaying and debugging PIM-DM Operation Command display pim routing-table [ { { *g [ group-address [ mask { mask-length | mask } ] ] | **rp [ rp-address...
  • Page 60 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 6 PIM-DM Configuration II. Networking diagram VL AN20 VL AN20 VL AN20 VL AN10 VL AN10 VL AN10 VL AN11 VL AN11 VL AN11 RECEIVER 1 RECEIVER 1 RECEIVER 1...
  • Page 61 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 6 PIM-DM Configuration [H3C-vlan-interface12] ip address 3.3.3.3 255.255.0.0 [H3C-vlan-interface11] igmp enable [H3C-vlan-interface12] pim dm Note: You should enable PIM-DM on all equal-cost routes if there are any.
  • Page 62: Chapter 7 Pim-Sm Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 7 PIM-SM Configuration Chapter 7 PIM-SM Configuration 7.1 PIM-SM Overview 7.1.1 Introduction to PIM-SM PIM-SM (Protocol Independent Multicast, Sparse Mode) belongs to sparse mode multicast routing protocols. PIM-SM is mainly applicable to large-scale networks with broad scope in which group members are relatively sparse.
  • Page 63: Preparations Before Configuring Pim-Sm

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 7 PIM-SM Configuration I. Build the RP shared tree (RPT) When hosts join a multicast group G, the leaf routers that directly connect with the hosts send IGMP messages to learn the receivers of multicast group G. In this way, the leaf...
  • Page 64: Pim-Sm Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 7 PIM-SM Configuration Caution: One RP can serve multiple multicast groups or all multicast groups. Each multicast group can correspond to one unique RP at a time rather than multiple RPs.
  • Page 65: Enabling Multicast

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 7 PIM-SM Configuration Configuring the filtering of multicast source/group Configuring the filtering of PIM neighbor Configuring the maximum number of PIM neighbor on an interface Configuring RP to filter the register messages...
  • Page 66: Configuring The Time Intervals For Ports To Send Hello Packets

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 7 PIM-SM Configuration 7.2.4 Configuring the Time Intervals for Ports to Send Hello Packets In general, PIM-SM broadcasts Hello packets on the PIM-SM-enabled port periodically to detect PIM neighbors and determine the designated router (DR).
  • Page 67: Configuring Candidate-Rps

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 7 PIM-SM Configuration Caution: One router can only be configured with one candidate-BSR. When a candidate-BSR is configured on another interface, it will replace the previous configuration. 7.2.6 Configuring Candidate-RPs In PIM-SM, the shared tree built by multicast routing data is rooted at the RP.
  • Page 68: Configuring The Pim-Sm Domain Border

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 7 PIM-SM Configuration Caution: When the RP elected by BSR mechanism is effective, static RP does not work. All routers in the PIM domain must be configured with this command simultaneously, with the same RP address specified.
  • Page 69: Limiting The Range Of Legal Bsr

    Restore to the default setting undo bsr-policy For detailed information of bsr-policy, refer to the H3C S9500 Series Routing Switches Command Manual. 7.2.13 Limiting the range of legal C-RP To avoid C-RP spoofing, you can limit the range of legal C-RP and limit the groups that each C-RP servers.
  • Page 70: Clearing Multicast Route Entries From Pim Routing Table

    Restore to the default setting undo crp-policy For detailed information of crp-policy, refer to the H3C S9500 Series Routing Switches Command Manual 7.2.14 Clearing multicast route entries from PIM routing table Refer to 6.2.8 Clearing PIM Routing Table.
  • Page 71: Pim-Sm Configuration Example

    VL AN12 VL AN12 Figure 7-2 PIM-SM configuration networking III. Configuration procedure Configure LSA # Enable PIM-SM. <H3C>system-view System View: return to User View with Ctrl+Z. [H3C] multicast routing-enable [H3C] vlan 10 [H3C-vlan10] port ethernet 2/1/2 to ethernet 2/1/3 7-10...
  • Page 72 [H3C-vlan10] quit [H3C] interface vlan-interface 10 [H3C-vlan-interface10] igmp enable [H3C-vlan-interface10] pim sm [H3C-vlan-interface10] quit [H3C] vlan 11 [H3C-vlan11] port ethernet 2/1/4 to ethernet 2/1/5 [H3C-vlan11] quit [H3C] interface vlan-interface 11 [H3C-vlan-interface11] igmp enable [H3C-vlan-interface11] pim sm [H3C-vlan-interface11] quit [H3C] vlan 12...
  • Page 73 PIM domain and cannot receive the BSR information transmitted from LSB any more. Configure LSC. # Enable PIM-SM. [H3C] multicast routing-enable [H3C] vlan 10 [H3C-vlan10] port ethernet 2/1/2 to ethernet 2/1/3 [H3C-vlan10] quit [H3C] interface vlan-interface 10 [H3C-vlan-interface10] igmp enable [H3C-vlan-interface10] pim sm [H3C-vlan-interface10] quit...
  • Page 74 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 7 PIM-SM Configuration Note: You should enable PIM-SM on all equal-cost routes if there are any. 7-13...
  • Page 75: Chapter 8 Msdp Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration Chapter 8 MSDP Configuration 8.1 MSDP Overview 8.1.1 Introduction No ISP would like to forward multicast traffic depending on the RP of competitors, though it has to obtain information from the source and distribute it among its members, regardless of the location of the source RP.
  • Page 76: Working Principle

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration 8.1.2 Working Principle I. Identifying multicast source and receiving multicast data As shown in Figure 8-1, the RPs of PIM-SM domains 1, 2 and 3 establish peer relationship between them.
  • Page 77 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration After the reverse forwarding path is created, the multicast source data is sent directly to the RP in domain 3, which then RP forwards the data along the RPT. In this case, the last hop router connected with the group member in domain 3 can choose whether to switch to SPT.
  • Page 78: Msdp Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration If the SA message is sent from a MSDP peer in a same domain, and the peer is the next hop along the optimal path to the RP in the domain of source, as in the case when the message is from Switch E to Switch F, it is received and forwarded to other peers.
  • Page 79: Configuring Msdp Peers

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration Table 8-1 Enabling MSDP Operation Command Enable MSDP and enter MSDP view msdp Clear all MSDP configurations undo msdp 8.2.2 Configuring MSDP Peers To run MSDP, you need to configure MSDP peers locally.
  • Page 80: Configuring Originating Rp

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration Note: The peer command must be configured before the configuration of static-rpf-peer command. If only one MSDP peer is configured via the peer command, the MSDP peer will be regarded as the static RPF peer.
  • Page 81: Configuring The Maximum Number Of Sa Caching

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration Please perform the following configurations in MSDP view. Table 8-5 Configuring SA caching state Operation Command Configure SA caching state cache-sa-enable Disable SA caching state undo cache-sa-enable By default, the router caches the SA state, or rather the (S, G) entry when receiving an SA message.
  • Page 82: Controlling The Source Information Created

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration Operation Command undo peer peer-address Restore the default configuration request-sa-enable The SA request message sent by a local RP will get the immediate response about all active sources.
  • Page 83: Controlling The Source Information Forwarded

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration Operation Command Remove the configuration of filtering SA undo peer peer-address request messages sa-request-policy By default, only the routers which caches SA messages can respond to SA request messages.
  • Page 84: Controlling The Received Source Information

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration Please perform the following configurations in MSDP view. Table 8-11 Using TTL to filter SA messages with encapsulated data Operation Command Filter off the multicast data encapsulated in...
  • Page 85: Configuring The Msdp Connection Retry Period

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration Table 8-13 Configuring MSDP full connection group Operation Command Configure an MSDP peer to be a peer peer-address mesh-group name member of an MSDP Mesh Group...
  • Page 86: Displaying And Debugging Msdp

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration Table 8-16 Clearing MSDP connections, statistics and SA caching configuration Operation Command Clear a specified TCP connection and reset counters MSDP reset msdp peer peer-address information...
  • Page 87: Msdp Configuration Examples

    8.4 MSDP Configuration Examples 8.4.1 Configuring Static RPF Peers I. Networking requirements In the following networking environment shown in Figure 8-3, four H3C S9500 Series routing Switches all are in the PIM-SM domains with no BGP or MBGP running among them.
  • Page 88 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration II. Networking diagram PIM-SM PIM-SM Domain 1 Domain 1 10.10.1.1 10.10.1.1 SwitchA SwitchA Static RPF peer Static RPF peer PIM-SM PIM-SM Domain 4 Domain 4 Static RPF peer...
  • Page 89: Configuring Anycast Rp

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration [SwitchD] ip ip-prefix list-c permit 10.25.0.0 16 [SwitchD] msdp [SwitchD-msdp] peer 10.25.1.1 connect-interface Vlan-interface30 [SwitchD-msdp] static-rpf-peer 10.25.1.1 rp-policy list-c 8.4.2 Configuring Anycast RP I. Networking requirements To configure Anycast RP in the PIM-SM domain, establish MSDP peer relationship between Switch A and Switch B;...
  • Page 90 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration III. Configuration procedure Configure SwitchB: # Configure VLAN <SwitchB> system-view System View: return to User View with Ctrl+Z. [SwitchB] vlan 10 [SwitchB-vlan10] port ethernet1/1/2 [SwitchB-vlan10] quit...
  • Page 91 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration [SwitchB] ospf [SwitchB-ospf-1] area 0 [SwitchB-ospf-1-area-0.0.0.0] network 10.10.2.0 0.255.255.255 [SwitchB-ospf-1-area-0.0.0.0] network 10.10.3.0 0.255.255.255 [SwitchB-ospf-1-area-0.0.0.0] network 10.1.1.1 0.0.0.0 [SwitchB-ospf-1-area-0.0.0.0] network 10.10.1.1 0.0.0.0 [SwitchB-ospf-1-area-0.0.0.0] quit [SwitchB-ospf-1] quit # Configure Switch A as its MSDP peer.
  • Page 92 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration [SwitchA-LoopBack10] quit # Configure the IP address of interface Vlan-interface20 and enable IGMP and PIM-SM. [SwitchA] interface Vlan-interface20 [SwitchA-Vlan-interface20] ip address 10.21.2.1 255.255.255.0 [SwitchA-Vlan-interface20] igmp enable...
  • Page 93: Msdp Integrated Networking

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration 8.4.3 MSDP Integrated Networking I. Networking requirement In the following network, enable MSDP and configure an Anycast RP in PIM-SM domain 1; establish MSDP peer relationship among RPs across PIM-SM domains; and use MBGP between domains.
  • Page 94 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration # Configuring VLAN <SwitchA> system-view System View: return to User View with Ctrl+Z. [SwitchA] vlan 10 [SwitchA-vlan10] port ethernet1/1/2 [SwitchA-vlan10] quit [SwitchA] vlan 30 [SwitchA-vlan30] port ethernet1/1/3 [SwitchA-vlan30] quit # Enable multicast.
  • Page 95 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration [SwitchA-ospf-1-area-0.0.0.0] network 10.1.1.1 0.0.0.0 [SwitchA-ospf-1-area-0.0.0.0] network 10.25.1.1 0.0.0.0 [SwitchA-ospf-1-area-0.0.0.0] quit [SwitchA-ospf-1] quit # Configure BGP. [SwitchA] bgp 100 [SwitchA-bgp] undo synchronization [SwitchA-bgp] group in internal [SwitchA-bgp] peer 10.26.1.2 group in [SwitchA-bgp] peer 10.27.1.2 group in...
  • Page 96 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration # Configuring VLAN <SwitchE> system-view System View: return to User View with Ctrl+Z. [SwitchE] vlan 10 [SwitchE-vlan10] port ethernet1/1/2 [SwitchE-vlan10] quit [SwitchE] vlan 20 [SwitchE-vlan20] port ethernet1/1/3 [SwitchE-vlan20] quit # Enable multicast.
  • Page 97 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration [SwitchE-ospf-1-area-0.0.0.0] network 10.1.1.1 0.0.0.0 [SwitchE-ospf-1-area-0.0.0.0] network 10.26.1.2 0.0.0.0 [SwitchE-ospf-1-area-0.0.0.0] quit [SwitchE-ospf-1] quit # Configure BGP. [SwitchE] bgp 100 [SwitchE-bgp] undo synchronization [SwitchE-bgp] group in internal [SwitchE-bgp] peer 10.25.1.1 group in [SwitchE-bgp] peer 10.27.1.2 group in...
  • Page 98 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 8 MSDP Configuration [SwitchE-pim] c-bsr loopback 0 30 Note: The configuration on the switches other than SwitchA and SwitchE is omitted here. 8-24...
  • Page 99: Chapter 9 Mbgp Multicast Extension Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration Chapter 9 MBGP Multicast Extension Configuration 9.1 MBGP Multicast Extension Overview 9.1.1 Introduction At present, the most widely used inter-domain unicast routing protocol is BGP-4.
  • Page 100: Mbgp Operating Mode And Message Type

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration (Network Layer Reachability Information), with value 1 for the unicast mode of NLRI, and value 2 for the multicast mode of NLRI. I. MP_REACH_NLRI attribute MP_REACH_NLRI is an optional non-transitive attribute, and can be used to: Send the routing information of a new reachable protocol.
  • Page 101: Mbgp Multicast Extension Configuration

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration 9.2 MBGP Multicast Extension Configuration Basic configuration tasks of MBGP multicast extension include Enable MBGP multicast extension protocol Specify the network routes notified by the MBGP multicast extension...
  • Page 102: Specifying Network Routes Notified By Mbgp Multicast Extension

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration Table 9-1 Enabling MBGP multicast extension protocol Operation Command Enter the MBGP multicast address ipv4-family multicast family view Remove MBGP multicast undo ipv4-family multicast address family view By default, the system does not run the MBGP multicast extension protocol.
  • Page 103: Configuring Local Preference

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration 9.2.5 Configuring Local Preference Different local preference can be configured as a reference of the MBGP route selection. When an MBGP router gets routes with the same destination but different next hops through different neighbors, it will choose the route with the highest local preference.
  • Page 104 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration I. Creating a peer group with members To configure a MBGP peer (group), configure a peer group in BGP view and add peers to this peer group. For details, refer to “BGP Configuration” in the Routing Protocol part.
  • Page 105 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration Table 9-6 Configuring a peer (group) as an MBGP route reflector client Operation Command Configure a peer (group) as an MBGP peer group-name reflect-client...
  • Page 106 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration By default, no routing policy is specified for any peer (group). VIII. Configuring IP-ACL-based route filtering policy for a peer (group) Please perform the following configurations in IPV4 multicast sub-address family view.
  • Page 107: Configuring Mbgp Route Aggregation

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration Table 9-11 Configuring prefix-list-based route filtering policy for a peer (group) Operation Command Configure filtering policy for peer { group-name | peer-address } ip-prefix...
  • Page 108: Configure Mbgp Community Attributes

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration routing information with them. The route reflectors transfer (reflect) information between the clients in turn. For the details of the principles and configurations, refer to “BGP Configuration” of the Routing Protocol part.
  • Page 109: Configuring Mbgp Route Filtering

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration 9.2.13 Configuring MBGP Route Filtering The route filtering configuration of MBGP is the same as that of unicast BGP. For details, refer to “BGP Configuration” of the Routing Protocol part.
  • Page 110: Mbgp Multicast Extension Configuration Example

    Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration 9.4 MBGP Multicast Extension Configuration Example I. Networking requirement This example describes how the administrator uses the MBGP attributes to manage route selection. All switches are configured with MBGP. The IGP in AS200 uses OSPF.
  • Page 111 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration [SwitchA-bgp] ipv4-family multicast # Specify target network for MBGP. [SwitchA-bgp-af-mul] network 1.0.0.0 [SwitchA-bgp-af-mul] network 2.0.0.0 [SwitchA-bgp-af-mul] quit # Configure peers relationship. [SwitchA-bgp] bgp 100 [SwitchA-bgp] group a1 external [SwitchA-bgp] peer 192.1.1.2 group a1 as-number 200...
  • Page 112 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration [SwitchB] interface vlan-interface 20 [SwitchB-Vlan-interface20] ip address 192.1.1.2 255.255.255.0 [SwitchB-Vlan-interface20] quit [SwitchB] vlan 40 [SwitchB-vlan40] port ethernet2/1/4 [SwitchB-vlan40] quit [SwitchB] interface vlan-interface 40 [SwitchB-Vlan-interface40] ip address 194.1.1.2 255.255.255.0...
  • Page 113 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration [SwitchC-ospf-1-area-0.0.0.0] network 195.1.1.0 0.0.0.255 [SwitchC-ospf-1-area-0.0.0.0] quit [SwitchC-ospf-1] quit [SwitchC] bgp 200 [SwitchC-bgp] undo synchronization [SwitchC-bgp] group c1 external [SwitchC-bgp] peer 193.1.1.1 group c1 as-number 100 [SwitchC-bgp] group c2 internal [SwitchC-bgp] peer 194.1.1.2 group c2...
  • Page 114 Operation Manual – Multicast Protocol H3C S9500 Series Routing Switches Chapter 9 MBGP Multicast Extension Configuration [SwitchD-vlan50] quit [SwitchD] interface vlan-interface 50 [SwitchD-Vlan-interface50] ip address 195.1.1.1 255.255.255.0 [SwitchD-Vlan-interface50] quit [SwitchD] ospf [SwitchD-ospf-1] area 0 [SwitchD-ospf-1-area-0.0.0.0] network 194.1.1.0 0.0.0.255 [SwitchD-ospf-1-area-0.0.0.0] network 195.1.1.0 0.0.0.255 [SwitchD-ospf-1-area-0.0.0.0] network 4.0.0.0 0.0.0.255...

Table of Contents