HP 6125G HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration
HP 6125G Manual
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
HP 6125G manual content summary:
- HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 1
HP 6125 Blade Switch Series IP Multicast Configuration Guide Part number: 5998-3158 Software version: Release 2103 Document version: 6W100-20120907 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 2
, or use of this material. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 3
12 Overview 12 Basic concepts in IGMP snooping 12 How IGMP snooping works 14 IGMP snooping proxying 15 Protocols and standards 17 IGMP snooping configuration task list 17 Configuring basic IGMP snooping functions 18 Enabling IGMP snooping 18 Specifying the version of IGMP snooping 18 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 4
route 66 Creating an RPF route 68 Multicast forwarding over a tunnel 70 Troubleshooting multicast routing and forwarding 74 Static multicast route failure 74 Multicast data fails to reach receivers 74 Configuring IGMP 76 Overview 76 IGMP versions 76 Introduction to IGMPv1 76 Enhancements - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 5
a downstream interface 91 Displaying and maintaining IGMP 92 IGMP configuration examples 93 Basic IGMP functions configuration example 93 SSM mapping configuration example 95 IGMP proxying configuration example 98 Troubleshooting IGMP 100 No membership information on the receiver-side router - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 6
PIM-SM Inter-domain multicast configuration 168 Inter-AS multicast configuration by leveraging static RPF peers 172 Anycast RP configuration 176 SA message filtering configuration 180 Troubleshooting MSDP 184 MSDP peers stay in down state 184 No SA entries in the switch's SA cache 184 Inter - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 7
route advertisement and reception 187 Configuring MBGP route redistribution 187 Configuring default route redistribution into MBGP 188 Configuring MBGP route summarization 189 Advertising a default route to an IPv4 MBGP peer or peer group 189 Configuring outbound MBGP route filtering 190 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 8
examples 226 IPv6 group policy and simulated joining configuration example 226 Static port configuration example 229 MLD snooping querier configuration example 232 MLD snooping proxying configuration example 234 Troubleshooting MLD snooping 237 Layer 2 multicast forwarding cannot function - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 9
a downstream interface 275 Displaying and maintaining MLD 276 MLD configuration examples 277 Basic MLD functions configuration example 277 MLD SSM mapping configuration example 279 MLD proxying configuration example 282 Troubleshooting MLD 284 No member information on the receiver-side router - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 10
PIM 319 IPv6 PIM configuration examples 320 IPv6 PIM-DM configuration example 320 IPv6 PIM-SM non-scoped zone configuration example 323 IPv6 PIM-SM admin-scope zone configuration example 328 IPv6 PIM-SSM configuration example 340 Troubleshooting IPv6 PIM configuration 343 Failure to build - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 11
Displaying IPv6 MBGP 359 Resetting IPv6 MBGP connections 360 Clearing IPv6 MBGP information 360 IPv6 MBGP configuration example 360 Support and other resources 364 Contacting HP 364 Subscription service 364 Related information 364 Documents 364 Websites 364 Conventions 365 Index 367 ix - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 12
multicast technology, a network operator can easily provide new value-added services, such as live webcasting, web TV, distance learning, telemedicine and time-critical information services. The term "router " in this document refers to both routers and Layer 3 switches. Unless otherwise stated, - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 13
Unicast and broadcast techniques cannot provide point-to-multipoint data transmissions with the minimum network consumption. Multicast transmission can solve this problem. When some hosts on the network need multicast information, the information sender, or multicast source, sends only one copy of - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 14
join or leave multicast groups at any time. Multicast groups are not subject to geographic restrictions. • Routers or Layer 3 switches that support Layer 3 multicast are called "multicast routers" or "Layer 3 multicast devices". In addition to providing the multicast routing function, a multicast - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 15
TV station via the channel. source is sending to the multicast group. The user turns off the TV set or tunes to another channel. The receiver leaves the about the concepts RPT and SPT, see "Configuring PIM" and "Configuring IPv6 PIM." Multicast advantages and applications Multicast advantages - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 16
certain multicast sources. The SSM model provides a transmission service that enables users to specify the multicast sources that they are interested in source to receivers. • Multicast applications-A software system that supports multicast applications, such as video conferencing, must be installed - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 17
Multicast addresses Network-layer multicast addresses (multicast IP addresses) enables communication between multicast sources and multicast group members. In addition, a technique must be available to map multicast IP addresses to link-layer multicast MAC addresses. IP multicast addresses • IPv4 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 18
Address 224.0.0.12 224.0.0.13 224.0.0.14 224.0.0.15 224.0.0.16 224.0.0.17 224.0.0.18 Description Dynamic Host Configuration Protocol (DHCP) server/relay agent All Protocol Independent Multicast (PIM) routers Resource Reservation Protocol (RSVP) encapsulation All Core-Based Tree (CBT) routers - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 19
IPv6 multicast group in the scope that the Scope field defines. Ethernet multicast MAC addresses A multicast MAC address identifies a group of receivers MAC address. Therefore, in Layer 2 multicast forwarding, a switch might receive some multicast data destined for other IPv4 multicast groups - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 20
Figure 7 An example of IPv6-to-MAC address mapping Multicast protocols Generally, Layer 3 multicast refers to IP multicast working at the network layer. The corresponding multicast protocols are Layer 3 multicast protocols, which include IGMP, MLD, PIM, IPv6 PIM, MSDP, MBGP, and IPv6 MBGP. Layer 2 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 21
protocols define the mechanism of establishing and maintaining group memberships between hosts and Layer 3 multicast devices. • Multicast routing protocols A multicast routing protocol runs on Layer 3 multicast devices to establish and maintain multicast routes and forward multicast packets - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 22
VLAN and IPv6 multicast VLAN In the traditional multicast-on-demand mode, when users in different VLANs on a Layer 2 device need multicast information, the upstream Layer mechanism, see "Configuring multicast routing and forwarding" and "Configuring IPv6 multicast routing and forwarding." 11 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 23
Configuring IGMP snooping Overview Internet Group users. Figure 10 Before and after IGMP snooping is enabled on the Layer 2 device Basic concepts in IGMP snooping IGMP snooping related ports As shown in Figure 11, Router A connects to the multicast source, IGMP snooping runs on Switch A and Switch - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 24
and dynamic router ports and member ports. NOTE: An IGMP-snooping-enabled switch deems that all its ports on which IGMP general queries with the source IP router ports. For more information about PIM hello messages, see "Configuring PIM." Aging timers for dynamic ports in IGMP snooping and related - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 25
IGMP snooping works In this section, the involved ports are dynamic ports. For information about how to configure and remove static ports, see "Configuring static ports." A switch that runs IGMP snooping performs different actions when it receives different IGMP messages. When receiving a general - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 26
no hosts attached to the port are still listening to that group address. The switch removes the port from the forwarding entry for the multicast group when the aging timer expires. IGMP snooping proxying You can configure the IGMP snooping proxying function on an edge device to reduce the number of - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 27
Figure 12 Network diagram IP network IGMP Querier Router A Proxy & Querier Switch A Query from Router A Report from Switch A Query from Switch A Report from Host Host A Receiver Host B Host C Receiver As shown in Figure 12, Switch A works as an IGMP snooping proxy. As a host from the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 28
standards RFC 4541, Considerations for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD) Snooping Switches IGMP snooping configuration task list Task Remarks Configuring basic IGMP snooping functions Enabling IGMP snooping Specifying the version of IGMP snooping - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 29
same configuration in Layer 2 Ethernet interface view or Layer 2 aggregate interface view. • For IGMP snooping, the configurations Command system-view igmp-snooping quit vlan vlan-id igmp-snooping enable Remarks N/A Disabled by default N/A N/A Disabled by default switched back to IGMPv3 snooping. 18 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 30
entries exist by default. To configure static multicast MAC address entries in interface view: Step 1. Enter system view. 2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view. 3. Configure a static multicast MAC address entry. Command system-view interface interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 31
. Setting aging timers for dynamic ports If a switch receives no IGMP general queries or PIM hello messages Command system-view vlan vlan-id igmp-snooping router-aging-time interval igmp-snooping host-aging-time interval Remarks N/A N/A 105 seconds by default 260 seconds by default Configuring - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 32
command. Configuration procedure To configure static ports: Step 1. Enter system view. 2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view. Command Use either command. No static member ports exist by default. No static router ports exist by default. Configuring a port as - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 33
a port as a simulated member host. Command igmp-snooping host-join group-address [ source-ip source-address ] vlan vlan-id Remarks Not configured by default. Enabling IGMP snooping fast-leave processing IGMP snooping fast-leave processing enables the switch to process IGMP leave messages quickly - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 34
at the network layer. This router or Layer 3 switch is called the "IGMP querier." For more information about IGMP querier, see "Configuring IGMP." However, a Layer 2 multicast switch does not support IGMP, and therefore cannot send general queries by default. When you enable IGMP snooping querier on - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 35
Step 2. Enter VLAN view. 3. Enable IGMP snooping querier. Command vlan vlan-id igmp-snooping querier Remarks N/A Disabled by default IMPORTANT: In a multicast network that runs IGMP, you do not need to configure an IGMP snooping querier because it may affect IGMP querier elections by sending IGMP - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 36
created at the data link layer and eventually cause multicast traffic forwarding to fail. To avoid this problem, when a Layer 2 switch acts as the IGMP snooping querier, HP recommends you to configure a non-all-zero IP address as the source IP address of IGMP queries. IMPORTANT: The source address - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 37
in the VLAN. Command vlan vlan-id igmp-snooping proxying enable Remarks N/A Disabled by default Configuring a source IP address switch, you can configure a multicast group filter to limit multicast programs available to users. In an application, when a user requests a multicast program, the user - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 38
2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view. Command system-view interface interface-type interface-number 3. Configure a multicast group filter. igmp-snooping group-policy acl-number [ vlan vlan-list ] Remarks N/A Use either command. By default, no group filter - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 39
Configuring multicast source port filtering on a port Step 1. Enter system view. 2. Enter Layer 2 Ethernet interface view. 3. Enable multicast source port filtering. Command system-view interface interface-type interface-number igmp-snooping source-deny Remarks N/A Use either command. Disabled by - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 40
, within each query interval, the Layer 2 switch forwards only the first IGMP report for the Command system-view igmp-snooping report-aggregation Remarks N/A N/A Enabled by default Setting the maximum number of multicast groups that a port can join To regulate multicast traffic on a port, configure - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 41
view. 3. Enable multicast group replacement. Command system-view igmp-snooping overflow-replace [ vlan vlan-list ] Remarks N/A N/A Disabled by default Enabling multicast group replacement on a port Step 1. Enter system view. 2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 42
the IGMP snooping host tracking function in the VLAN. Command system-view vlan vlan-id igmp-snooping host-tracking Remarks N/A N/A Disabled by default Setting the DSCP value for IGMP messages IPv4 uses an eight-bit ToS field to identify type of service for IP packets. As defined in RFC 24724, the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 43
the switch or its port acts as a member host, rather than those forwarded ones. To set the DSCP value for IGMP messages: Step 1. Enter system view. 2. Enter IGMP-snooping view. 3. Set the DSCP value for IGMP messages. Command system-view igmp-snooping dscp dscp-value Remarks N/A N/A By default - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 44
drops unknown multicast data and does not broadcast the data to the VLAN where Switch A resides. Figure 13 Network diagram Configuration procedure 1. Configure an IP address and subnet mask for each interface as per Figure 13. (Details not shown.) 2. On Router A, enable IP multicast routing, enable - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 45
[SwitchA-GigabitEthernet1/0/4] igmp-snooping host-join 224.1.1.1 vlan 100 [SwitchA-GigabitEthernet1/0/4] quit Verifying the configuration # Display detailed IGMP snooping group information in VLAN 100 on Switch A. [SwitchA] display igmp-snooping group vlan 100 verbose Total 1 IP Group(s). Total 1 IP - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 46
C gets blocked. For more information about the Spanning Tree Protocol (STP), see Layer 2-LAN Switching Configuration Guide. NOTE: If no static router port is configured, when the path of Switch A-Switch B-Switch C gets blocked, at least one IGMP query-response cycle must be completed before the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 47
pim dm [RouterA-GigabitEthernet1/0/1] quit [RouterA] interface gigabitethernet 1/0/2 [RouterA-GigabitEthernet1/0/2] pim dm [RouterA-GigabitEthernet1/0/2] quit 3. Configure Switch A: # Enable IGMP snooping globally. system-view [SwitchA] igmp-snooping [SwitchA-igmp-snooping] quit # Create - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 48
. [SwitchB] vlan 100 [SwitchB-vlan100] port gigabitethernet 1/0/1 gigabitethernet 1/0/2 [SwitchB-vlan100] igmp-snooping enable [SwitchB-vlan100] quit 5. Configure Switch C: # Enable IGMP snooping globally. system-view [SwitchC] igmp-snooping [SwitchC-igmp-snooping] quit # Create VLAN 100 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 49
port(s):total 2 port. GE1/0/3 GE1/0/5 The output shows that GigabitEthernet 1/0/3 and GigabitEthernet 1/0/5 on Switch C have become static member ports for multicast group 224.1.1.1. IGMP snooping querier configuration example Network requirements As shown in Figure 15, in a Layer 2-only network - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 50
multicast traffic within the VLAN, be sure to configure all the switches to drop unknown multicast data packets. Because a switch does not enlist a port that has heard an IGMP query with a source IP address of 0.0.0.0 (default) as a dynamic router port, configure a non-all-zero IP address as the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 51
] quit Configurations on Switch C and Switch D are similar to the configuration on Switch B. Verifying the configuration After the IGMP snooping querier starts to work, all the switches but the querier can receive IGMP general queries. By using the display igmp-snooping statistics command, you - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 52
pim dm [RouterA-GigabitEthernet1/0/1] quit [RouterA] interface gigabitethernet 1/0/2 [RouterA-GigabitEthernet1/0/2] pim dm [RouterA-GigabitEthernet1/0/2] quit 3. Configure Switch A: # Enable IGMP snooping globally. system-view [SwitchA] igmp-snooping [SwitchA-igmp-snooping] quit # Create - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 53
the configuration After the configuration is completed, Host A and Host B send IGMP join messages for group 224.1.1.1. Receiving the messages, Switch A sends a join message for the group out of port GigabitEthernet 1/0/1 (a router port) to Router A. Use the display igmp-snooping group command and - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 54
0101 Host port(s):total 1 port. GE1/0/3 Troubleshooting IGMP snooping Layer 2 multicast forwarding cannot function Symptom Layer 2 multicast forwarding cannot function. Analysis IGMP snooping is not enabled. Solution 1. Use the display current-configuration command to check the running status of - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 55
enabled, so unknown multicast data is flooded. Use the display acl command to check the configured ACL rule. Make sure that the ACL rule conforms to the multicast only IGMP is enabled on the switch, or if both IGMP and PIM are enabled on the switch, the switch does the following: { Maintains dynamic - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 56
service, the Layer 3 device, Router A, must forward a separate copy of the multicast traffic in each user VLAN to the Layer 2 device, Switch Host B, and Host C are in different user VLANs. On Switch A, configure VLAN 10 as a multicast VLAN, configure all the user VLANs as sub-VLANs of VLAN 10, and - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 57
As shown in Figure 19, Host A, Host B, and Host C are in different user VLANs. All the user ports (ports with attached hosts) on Switch A are hybrid ports. On Switch A, configure VLAN 10 as a multicast VLAN, assign all the user ports to VLAN 10, and enable IGMP snooping in the multicast VLAN and all - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 58
about VLAN tags, see Layer 2-LAN Switching Configuration Guide. Multicast VLAN configuration task list Task Configuring a sub-VLAN-based multicast VLAN Configuring a port-based multicast VLAN Configuring user port attributes Configuring multicast VLAN ports Remarks Required Use either - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 59
. Command system-view 2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view. interface interface-type interface-number 3. Configure the user port link type as hybrid. port link-type hybrid 4. Specify the user VLAN that comprises the current user ports as the default VLAN - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 60
interface view. interface interface-type interface-number 5. Configure the current port as a member port of the multicast port multicast-vlan vlan-id VLAN. Remarks N/A By default, a VLAN is not a multicast VLAN. N/A Use either command. By default, a user port does not belong to any multicast VLAN - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 61
that Router A just sends multicast data to Switch A through the multicast VLAN and Switch A forwards the traffic to the receivers that belong to different user VLANs. Figure 20 Network diagram GE1/0/1 GE1/0/2 GE1/0/3 GE1/0/1 Configuration procedure 1. Configure an IP address and subnet mask for - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 62
2 through VLAN 5 as its sub-VLANs. [SwitchA] multicast-vlan 10 [SwitchA-mvlan-10] subvlan 2 to 5 [SwitchA-mvlan-10] quit 4. Configure Switch B: # Enable IGMP snooping globally. system-view [SwitchB] igmp-snooping [SwitchB-igmp-snooping] quit # Create VLAN 2, assign GigabitEthernet 1/0/2 to - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 63
/0/1] port link-type trunk [SwitchB-GigabitEthernet1/0/1] port trunk permit vlan 2 3 5. Configure Switch C in the same way as you configure Switch B. (Details not shown.) Verifying the configuration # Display information about the multicast VLAN. [SwitchA] display multicast-vlan Total 1 multicast - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 64
MAC group(s): MAC group address:0100-5e01-0101 Host port(s):total 1 port(s). GE1/0/2 Vlan(id):4. Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 0 port(s). IP group(s):the following ip group(s) match to one mac group. IP group address:224.1.1.1 (0.0.0.0, - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 65
A so that Router A just sends multicast data to Switch A through the multicast VLAN and Switch A forwards the multicast data to the receivers that belong to different user VLANs. Figure 21 Network diagram Configuration procedure 1. Configure the IP address and subnet mask for each interface as - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 66
configuration for VLAN 3 and VLAN 4 is similar. (Details not shown.) # Configure GigabitEthernet 1/0/2 as a hybrid port. Configure VLAN 2 as the default VLAN. Configure GigabitEthernet1/0/4] quit Verifying the configuration # Display the multicast VLAN information on Switch A. [SwitchA] display - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 67
Total 1 IP Source(s). Total 1 MAC Group(s). Port flags: D-Dynamic port, S-Static port, C-Copy port, P-PIM port Subvlan flags: R-Real VLAN, C-Copy VLAN Vlan(id):10. Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 1 port(s). GE1/0/1 (D) IP group(s):the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 68
multicast forwarding table guides the forwarding of multicast configured multicast routing and forwarding policy and adds the route entry to its multicast forwarding table. The term "router" in this document refers to both routers and Layer 3 switches by the user through static configuration. MBGP - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 69
), the packet source for RPF check is the BSR. For more information about the concepts of SPT, RPT, source-side RPT, RP, and BSR, see "Configuring PIM." RPF check implementation in multicast Implementing an RPF check on each received multicast data packet would be a big burden to the router. The use - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 70
interfaces. Otherwise, it discards the packet. Assume that unicast routes are available in the network, MBGP is not configured, and no static multicast routes have been configured on Switch C, as shown in Figure 22. Multicast packets travel along the SPT from the multicast source to the receivers - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 71
to Switch C. Creating an RPF route When a unicast route is blocked, multicast traffic forwarding might be stopped because of lack of an RPF route. By configuring a static multicast route for a given multicast source, you can create an RPF route so that a multicast routing entry is created to guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 72
When the multicast traffic is forwarded to a next-hop device that does not support IP multicast, the forwarding path is blocked. In this case, you can Layer 3-IP Services Configuration Guide. Figure 25 Multicast data transmission through a tunnel Multicast router Source Switch A Unicast router - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 73
not support secondary IP address segments. Namely, multicast can be routed and forwarded only through primary IP addresses even if secondary addresses are configured on the ports. For more information about primary and secondary IP addresses, see Layer 3- IP Services Configuration Guide. Enabling - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 74
view. 2. Enable IP multicast routing. Command system-view multicast routing-enable Remarks N/A Disabled by default Configuring multicast routing and forwarding Before you configure multicast routing and forwarding, complete the following tasks: • Configure a unicast routing protocol so that all - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 75
view. 3. Configure a multicast forwarding boundary. Command system-view interface interface-type interface-number multicast boundary group-address { mask | mask-length } Remarks N/A N/A No forwarding boundary by default. Configuring the multicast forwarding table size The switch maintains the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 76
-limit limit 3. Configure the maximum number of downstream nodes multicast forwarding-table for a single multicast downstream-limit limit forwarding entry. Remarks N/A Optional. 2000 by default. Optional. 128 by default. Tracing a multicast path You can run the mtracert command to trace the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 77
in user view. When a routing entry is deleted from the multicast routing table, the corresponding forwarding entry is also deleted from the multicast forwarding table. Configuration examples Changing an RPF route Network requirements PIM-DM runs in the network. All switches in the network support - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 78
Vlan-int102 30.1.1.2/24 PIM-DM Vlan-int101 20.1.1.1/24 Vlan-int102 30.1.1.1/24 Switch B Vlan-int100 10.1.1.1/24 Source 50.1.1.100/24 Receiver 10.1.1.100/24 Multicast static route Configuration procedure 1. Configure the IP address and subnet mask for each interface as per Figure 26. (Details - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 79
that the RPF route on Switch B has changed. It is now the configured static multicast route, and the RPF neighbor is now Switch C. Creating an RPF route Network requirements PIM-DM runs in the network and all switches in the network support IP multicast. Switch B and Switch C run OSPF, and have no - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 80
-Vlan-interface102] quit # Enable IP multicast routing and PIM-DM on Switch B in the same way. (Details not shown.) # Use the display multicast rpf-info command to display the RPF routes to Source 2 on Switch B and Switch C. [SwitchB] display multicast rpf-info 50.1.1.100 [SwitchC] display multicast - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 81
forwarding over a tunnel Network requirements Multicast routing and PIM-DM are enabled on Switch A and Switch C. Switch B does not support multicast. OSPF runs on Switch A, Switch B, and Switch C. Perform the following configurations so that Receiver can receive the multicast data from Source. 70 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 82
subnet mask for each interface as per Figure 28. (Details not shown.) 2. Configure an IPv4 over IPv4 tunnel: # Create service loopback group 1 on Switch A and specify its service type as Tunnel. system-view [SwitchA] service-loopback group 1 type tunnel # Disable STP and LLDP on interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 83
Switch C, assign the IP address and subnet mask to the interface Tunnel 0, and reference service loopback group 1 on interface Tunnel 0. [SwitchC] interface tunnel 0 [SwitchC-Tunnel0] ip address 50.1.1.2 24 [SwitchC-Tunnel0] service ] quit 3. Configure OSPF: # Configure OSPF on Switch A. [SwitchA] - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 84
-Tunnel0] pim dm [SwitchC-Tunnel0] quit 5. On Switch C, configure a static multicast route, specifying the RPF neighbor leading on routers using the display pim routing-table command. For example: # Display the PIM routing table information on Switch C. [SwitchC] display pim routing-table Total - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 85
Switch A is the RPF neighbor of Switch C and the multicast data from Switch A is delivered over an IPv4 over IPv4 tunnel to Switch C. Troubleshooting a protocol was specified in static multicast route configuration, enter the display ip routing-table command to check if an identical route was added - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 86
3. In the case of PIM-SM, use the display current-configuration command to check the BSR and RP information. 75 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 87
refers to both routers and Layer 3 switches. IGMP versions • IGMPv1 (defined in RFC 1112) • IGMPv2 (defined in RFC 2236) • IGMPv3 (defined in RFC 3376) All IGMP versions support the Any-Source Multicast (ASM) model serves as the IGMP querier. For more information about DR, see "Configuring PIM." 76 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 88
Figure 29 IGMP queries and reports IP network Router A DR Router B Ethernet Host A (G2) Query Report Host B (G1) Host C (G1) Assume that Host B and Host C are interested in multicast data addressed to multicast group G1, and Host A - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 89
sends a leave message to all routers on the local subnet. The destination address is 224.0.0.2. 2. After receiving the leave message, the querier sends a configurable number of group-specific queries to the group that the host is leaving. The destination address field and group address field of the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 90
data from Source 1 will be delivered to Host B. Enhancements in query and report capabilities 1. Query message carrying the source addresses IGMPv3 supports not only general queries (feature of IGMPv1) and group-specific queries (feature of IGMPv2), but also group-and-source-specific queries - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 91
mapping feature enables you to configure static IGMP SSM mappings on the last-hop router to provide SSM support for receiver hosts that are IGMPv3 respectively. To provide SSM service for all the hosts if IGMPv3 is not available on Host A and Host B, you must configure the IGMP SSM mapping feature on - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 92
, (S1, S2...)) information based on the configured IGMP SSM mappings and provides SSM service accordingly. NOTE: The IGMP SSM mapping feature does 32 Network diagram Proxy & Querier Router B Querier Router A PIM domain Ethernet Receiver Host A Host B Query from Router A Report from Router B - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 93
the maximum number of multicast groups that an interface can join Optional Configuring Router-Alert option handling methods Optional Configuring IGMP query and response parameters Optional Configuring IGMP fast-leave processing Optional Enabling the IGMP host tracking function Optional - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 94
Enable IP multicast routing. 3. Enter interface view. 4. Enable IGMP. Command system-view multicast routing-enable interface interface-type interface-number igmp enable Remarks N/A Disabled by default N/A Disabled by default Configuring IGMP versions Because the protocol packets of different IGMP - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 95
view. 2. Enter interface view. 3. Configure an IGMP version on the interface. Command system-view interface interface-type interface-number igmp version version-number Remarks N/A N/A IGMPv2 by default Configuring static joining After an interface is configured as a static member of a multicast - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 96
1. Enter system view. 2. Enter interface view. Command system-view interface interface-type interface-number 3. Configure a multicast group filter. igmp group-policy acl-number [ version-number ] Remarks N/A N/A By default, no multicast group filter is configured on an interface, and hosts on an - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 97
Router-Alert option into IGMP messages. Command system-view igmp require-router-alert send-router-alert Configuring Router-Alert option handling methods on an interface Remarks N/A N/A By default, the switch does not check the Router-Alert option. By default, IGMP messages carry the Router-Alert - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 98
, is user configurable. After Configuration procedure To configure IGMP query and response parameters globally: Step 1. Enter system view. 2. Enter IGMP view. 3. Configure the IGMP querier's robustness variable. Command system-view igmp robust-count robust-value Remarks N/A N/A 2 by default - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 99
by default. 1 second by default. By default, the other querier present interval is [ IGMP general query interval ] × [ IGMP robustness variable ] + [ maximum response time for IGMP general queries ] / 2. To configure IGMP query and response parameters on an interface: Step Command 1. Enter - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 100
host tracking function on the interface. Command Remarks system-view N/A interface interface-type interface-number N/A igmp host-tracking Disabled by default Setting the DSCP value for IGMP messages IPv4 uses an eight-bit ToS field to identify type of service for IP packets. As defined in - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 101
• Configure basic IGMP functions. Enabling SSM mapping Step 1. Enter system view. 2. Enter interface view. 3. Enable the IGMP SSM mapping feature. Command system-view interface interface-type interface-number igmp ssm-mapping enable Remarks N/A N/A Disabled by default NOTE: To ensure SSM service - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 102
. Command Remarks system-view N/A interface interface-type interface-number N/A igmp proxying enable Disabled by default Configuring multicast interface after one of the downstream interfaces of these IGMP proxy switches has been elected as the querier. Otherwise, duplicate multicast flows - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 103
default Displaying and maintaining IGMP CAUTION: The reset igmp group command might cause multicast data transmission failures. To display and maintain IGMP: Task Command expression ] Available in any view. Display IGMP configuration and operation information. display igmp interface [ - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 104
-length } ] ] } } Available in user view. This command cannot remove static IGMP group entries. Remove all in user view. IGMP configuration examples Basic IGMP functions configuration example IGMPv2 runs between Switch A and N1. IGMPv2 runs between the other two switches and N2. Switch B acts as - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 105
the IP address and subnet mask of each interface as per Figure 33. (Details not shown.) 2. Configure OSPF on the switches in the PIM network to make sure the switches are interoperable at the network layer and they can dynamically update their routing information. (Details not shown.) 3. Enable - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 106
, and does not support IGMPv3. Therefore, the Receiver host cannot specify expected multicast sources in its membership reports. Source 1, Source 2, and Source 3 send multicast packets to multicast groups in the SSM group range. You can configure the IGMP SSM mapping feature on Switch D so that the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 107
the IP address and subnet mask of each interface as per Figure 34. (Details not shown.) 2. Configure OSPF on the switches in the PIM-SM domain to make sure the switches are interoperable at the network layer and they can dynamically update their routing information. (Details not shown.) 3. Enable - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 108
interface104] pim sm [SwitchA-Vlan-interface104] quit # Enable IP multicast routing and PIM-SM on Switch B and Switch C in the same way. (Details not shown.) 4. Configure C-BSR and C-RP interfaces on Switch D. [SwitchD] pim [SwitchD-pim] c-bsr vlan-interface 104 [SwitchD-pim] c-rp vlan-interface 104 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 109
-DM is required to run on the core network. Host A and Host C in the stub network receive VOD information destined to multicast group 224.1.1.1. Configure the IGMP proxying feature on Switch B so that Switch B can maintain group memberships and forward multicast traffic without running PIM-DM. 98 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 110
] interface vlan-interface 200 [SwitchB-Vlan-interface200] igmp enable [SwitchB-Vlan-interface200] quit Verifying the configuration # Display IGMP information on VLAN-interface 100 of Switch B. [SwitchB] display igmp interface vlan-interface 100 verbose Vlan-interface100(192.168.1.2): IGMP proxy is - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 111
the hosts are forwarded to Switch A through the proxy interface, VLAN-interface 100 on Switch B. Troubleshooting IGMP No membership information on host. 4. Use the display current-configuration interface command to verify that no ACL rule has been configured to restrict the host from joining the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 112
same subnet also leads to inconsistency of IGMP memberships. Solution 1. Use the display current-configuration command to verify the IGMP configuration information on the interfaces. 2. Use the display igmp interface command on all routers on the same subnet to verify the IGMP-related timer settings - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 113
discards the packet. For more information about RPF, see "Configuring multicast routing and forwarding." Based on the implementation mechanism, PIM The term "router" in this document refers to both routers and Layer 3 switches. PIM-DM overview PIM-DM is a type of dense mode multicast protocol. - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 114
Neighbor discovery In a PIM domain, a PIM router discovers PIM neighbors, maintains PIM neighboring relationships with other routers, and builds and maintains SPTs by periodically multicasting hello messages to all other PIM routers (224.0.0.13) on the local subnet. NOTE: Every PIM-enabled interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 115
node that sent a graft message does not receive a graft-ack message from its upstream node, it will keep sending graft messages at a configurable interval until it receives an acknowledgment from its upstream node. Where more than one multicast router exists, the assert mechanism shuts off duplicate - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 116
-DM does. For more information, see "Neighbor discovery." DR election PIM-SM also uses hello messages to elect a DR for a multi-access network (such as Ethernet). The elected DR will be the only multicast forwarder on this multi-access network. 105 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 117
Configuring IGMP." Figure 38 DR election Receiver DR Ethernet Ethernet any router in the network does not support carrying the DR-election priority in hello messages of the RPT, you can configure multiple candidate-RPs (C-RPs) . For this purpose, you must configure a bootstrap router (BSR). The BSR - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 118
NOTE: • An RP can serve multiple multicast groups or all multicast groups. Only one RP can serve a given multicast group at a time. • A device can serve as a C-RP and a C-BSR at the same time. As shown in Figure 39, each C-RP periodically unicasts its advertisement messages (C-RP-Adv messages) to - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 119
Value Mod Description Modulo operator, which gives the remainder of an integer division RPT building Figure 40 RPT building in a PIM-SM domain As shown in Figure 40, the process of building an RPT is as follows: 1. When a receiver joins multicast group G, it uses an IGMP message to inform the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 120
Figure 41 Multicast source registration Source DR RP Server Host A Receiver Host B SPT Join message Register message Multicast packets Receiver Host C As shown in Figure 41, the multicast source registers with the RP as follows: 1. The multicast source S sends the first multicast packet to - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 121
-by IPv4 multicast packets. If it finds that the traffic rate exceeds a configurable threshold, the RP sends an (S, G) join message hop by hop toward in a single-BSR domain and enables provision of zone-specific services through private group addresses. Admin-scope zones are divided specific to - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 122
cannot cross this boundary in either direction. You can have a better understanding of the global-scoped zone and admin-scoped zones based on geographical locations and multicast group address ranges. • In view of geographical locations An admin-scope zone is a logical zone for particular multicast - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 123
In Figure 43, the admin-scoped zones 1 and 2 have no intersection, but the admin-scoped zone 3 is a subset of the admin-scoped zone 1. The global-scoped zone serves all the multicast groups that are not covered by the admin-scoped zones 1 and 2, that is, G−G1−G2 in this case. PIM-SSM overview The - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 124
Figure 44 SPT building in PIM-SSM As shown in Figure 44, Host B and Host C are multicast information receivers. They send IGMPv3 report messages to the respective DRs to express their interest in the information about the specific multicast source S. After receiving a report message, the DR first - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 125
05, An Overview of Source-Specific Multicast (SSM) Configuring PIM-DM PIM-DM configuration task list Task Enabling PIM-DM Enabling state-refresh capability Configuring state-refresh parameters Configuring PIM-DM graft retry period Configuring PIM common features Remarks Required Optional Optional - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 126
system view. 2. Enter interface view. 3. Enable the state-refresh capability. Command system-view interface interface-type interface-number pim state-refresh-capable Remarks N/A N/A Optional Enabled by default Configuring state-refresh parameters The router directly connected with the multicast - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 127
TTL value of state-refresh messages. Command system-view pim state-refresh-interval interval state-refresh-rate-limit interval state-refresh-ttl ttl-value Remarks N/A N/A Optional 60 seconds by default Optional 30 seconds by default Optional 255 by default Configuring PIM-DM graft retry period In - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 128
task list Task Enabling PIM-SM Configuring a static RP Configuring an RP Configuring a C-RP Enabling auto-RP Configuring C-RP timers globally Configuring a C-BSR Configuring a PIM domain border Configuring a BSR Configuring global C-BSR parameters Configuring C-BSR timers Disabling BSM - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 129
-type interface-number pim sm Remarks N/A Disabled by default N/A Disabled by default For more information about the multicast routing-enable command, see IP Multicast Command Reference. Configuring an RP An RP can be manually configured or dynamically elected through the BSR mechanism. For - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 130
the RP-set. HP recommends you to configure C-RPs on backbone routers. To guard against C-RP spoofing, you must configure a legal C-RP Enter PIM view. 3. Enable auto-RP. Command system-view pim auto-rp enable Remarks N/A N/A Disabled by default Configuring C-RP timers globally To enable the BSR to - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 131
system view. 2. Enter PIM view. 3. Configure the C-RP-Adv interval. 4. Configure C-RP timeout time. Command system-view pim c-rp advertisement-interval interval c-rp holdtime interval Remarks N/A N/A Optional 60 seconds by default Optional 150 seconds by default For more information about the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 132
a legal BSR, the problem will still occur. Because Configure an interface as a C-BSR. Command system-view pim c-bsr interface-type interface-number [ hash-length [ priority ] ] 4. Configure a legal BSR address range. bsr-policy acl-number Remarks N/A N/A No C-BSRs are configured by default - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 133
view. 2. Enter PIM view. 3. Configure the hash mask length. Command system-view pim c-bsr hash-length hash-length 4. Configure the C-BSR priority. c-bsr priority priority Remarks N/A N/A Optional. 30 by default. Optional. By default, the C-BSR priority is 64. Configuring C-BSR timers The BSR - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 134
Command 3. Configure the BS period. c-bsr interval interval 4. Configure the BS timeout timer. c-bsr holdtime interval Remarks Optional. By default, the BS period is determined by the formula "BS period = (BS timeout timer- 10) / 2." The default BS timeout timer is 130 seconds, so the default - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 135
domain. To enable administrative scoping: Step 1. Enter system view. 2. Enter PIM view. 3. Enable administrative scoping. Command system-view pim c-bsr admin-scope Remarks N/A N/A Disabled by default Configuring an admin-scope zone boundary ZBRs form the boundary of each admin-scope zone. Each - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 136
a C-BSR for an admin-scope zone. Command Remarks system-view N/A pim N/A c-bsr group group-address { mask | mask-length } [ hash-length hash-length | priority priority ] * No C-BSRs are configured for an admin-scope zone by default. The group-address { mask | mask-length } argument can - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 137
PIM view. 3. Configure a filtering rule for register messages. Command system-view pim register-policy acl-number 4. Configure the device to calculate Configure the register probe time. probe-interval interval Remarks N/A N/A Optional. No register filtering rule by default. Optional. By default - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 138
. If an HP 6125 Blade switch acts as an RP or the receiver-side DR, it initiates a switchover to SPT process by default upon receiving the . By default, the device switches to the SPT immediately after it receives the first multicast packet. Configuring PIM-SSM PIM-SSM needs the support of IGMPv3 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 139
. 2. Enable IP multicast routing. 3. Enter interface view. 4. Enable PIM-SM. Command system-view multicast routing-enable interface interface-type interface-number pim sm Remarks N/A Disabled by default N/A Disabled by default Configuring the SSM group range As for whether the information from - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 140
the maximum size of join/prune messages. • Determine the maximum number of (S, G) entries in a join/prune message. • Determine the DSCP value for PIM messages. Configuring a multicast data filter In either a PIM-DM domain or a PIM-SM domain, routers can check passing-by multicast data based on the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 141
a multicast data filter: Step 1. Enter system view. 2. Enter PIM view. 3. Configure a multicast group filter. Command system-view pim source-policy acl-number Remarks N/A N/A No multicast data filter by default Configuring a hello message filter Along with the wide applications of PIM, the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 142
Remarks N/A N/A Optional. 1 by default. Optional. 105 seconds by default. Optional. 500 milliseconds by default. Optional. 2500 milliseconds by default. Enabled by default. Step 1. Enter system view. 2. Enter interface view. 3. Configure the priority for DR election. Command Remarks system-view - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 143
delay time: Step 1. Enter system view. 2. Enter PIM view. 3. Configure the prune delay interval. Command system-view pim prune delay interval Remarks N/A N/A Optional. By default, the prune delay is not configured. Configuring PIM common timers PIM routers discover PIM neighbors and maintain PIM - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 144
requirements are raised, use the default settings. Configuring PIM common timers globally Step 1. Enter system view. 2. Enter PIM view. Command system-view pim 3. Configure the hello interval. timer hello interval 4. Configure the join/prune interval. 5. Configure the join/prune timeout time - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 145
system-view pim dscp dscp-value Remarks N/A N/A Optional. By default, the DSCP value in PIM messages is 48. Displaying and maintaining PIM Task Command Display the BSR information in the PIM-SM domain and locally configured C-RP information in effect. display pim bsr-info [ | { begin | exclude - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 146
Task Command Remarks Display the number of PIM control messages. display pim control-message counters [ message-type { probe | register | register Reset PIM control message counters. reset pim control-message counters [ interface interface-type interface-number ] Available in user view 135 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 147
IP address 10.110.5.1/24 192.168.1.2/24 192.168.2.2/24 192.168.3.2/24 Configuration procedure 1. Configure the IP address and subnet mask for each interface as per Figure 46. (Details not shown.) 2. Configure OSPF on the switches in the PIM-DM domain to make sure they are interoperable at the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 148
] interface vlan-interface 102 [SwitchD-Vlan-interface102] pim dm [SwitchD-Vlan-interface102] quit Verifying the configuration # Display PIM configuration information on Switch D. [SwitchD] display pim interface Interface NbrCnt HelloInt DR-Pri Vlan300 0 30 1 Vlan103 1 30 1 Vlan101 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 149
the multicast group G, and a (*, G) entry is generated on Switch A. You can use the display pim routing-table command to view the PIM routing table information on each switch. For example: # Display PIM routing table information on Switch A. [SwitchA] display pim routing-table Total 1 (*, G) entry - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 150
within the range to the two C-RPs. IGMPv2 runs between Switch A and N1 and between Switch B/Switch C and N2. Figure 47 Network diagram Ethernet N1 Vlan-int101 Vlan-int101 N2 Ethernet Ethernet Device Switch A Switch B Switch C Interface Vlan-int100 Vlan-int101 Vlan-int102 Vlan-int200 Vlan - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 151
[SwitchD] pim [SwitchD-pim] c-bsr vlan-interface 105 32 10 [SwitchD-pim] c-rp vlan-interface 105 group-policy 2005 [SwitchD-pim] quit # On Switch E, configure the service scope of RP advertisements, specify a C-BSR and a C-RP, and set the hash mask length to 32 and the priority of the C-BSR to 20 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 152
: 192 HoldTime: 150 Advertisement Interval: 60 Next advertisement scheduled at: 00:00:34 # Display BSR information and the locally configured C-RP information in effect on Switch E. [SwitchE] display pim bsr-info Elected BSR Address: 192.168.9.2 Priority: 20 Hash mask length: 32 State: Elected Scope - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 153
E. After receiving multicast data, Switch A immediately switches from the RPT to the SPT. Switches on the RPT path (Switch A and Switch E) have a (*, G) entry, and switches on the SPT path (Switch A and Switch D) have an (S, G) entry. You can use the display pim routing-table command to view the PIM - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 154
: 00:13:16, Expires: 00:03:22 PIM-SM admin-scope zone configuration example Network requirements As shown in Figure 48, receivers receive VOD information through zone 1, admin-scope zone 2, and the global zone. Switch B, Switch C, and Switch D are ZBRs of these three domains respectively. Source 1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 155
24 10.110.4.1/24 10.110.5.1/24 10.110.2.2/24 10.110.6.1/24 10.110.10.1/24 10.110.6.2/24 192.168.6.1/24 Device Switch D Switch E Switch F Switch G Source 1 Source 2 Source 3 Interface Vlan-int104 Vlan-int108 Vlan-int107 Vlan-int400 Vlan-int105 Vlan-int108 Vlan-int109 Vlan-int107 Vlan-int102 Vlan - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 156
the IP address and subnet mask for each interface as per Figure 48. (Details not shown.) 2. Configure OSPF on the switches in the PIM-SM domain to make sure they are interoperable at the network layer. (Details not shown.) 3. Enable IP multicast routing and administrative scoping, - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 157
-pim] c-bsr vlan-interface 101 [SwitchB-pim] c-rp vlan-interface 101 group-policy 2001 [SwitchB-pim] quit # On Switch D, configure the service scope of RP advertisements, and configure VLAN-interface 104 as a C-BSR and C-RP of admin-scope zone 2. [SwitchD] acl number 2001 [SwitchD-acl-basic-2001 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 158
Priority: 192 HoldTime: 150 Advertisement Interval: 60 Next advertisement scheduled at: 00:00:15 # Display BSR information and the locally configured C-RP information on Switch D. [SwitchD] display pim bsr-info Elected BSR Address: 10.110.9.1 Priority: 64 Hash mask length: 30 State: Accept Preferred - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 159
) Priority: 192 HoldTime: 150 Advertisement Interval: 60 Next advertisement scheduled at: 00:00:10 # Display BSR information and the locally configured C-RP information on Switch F. [SwitchF] display pim bsr-info Elected BSR Address: 10.110.9.1 Priority: 64 Hash mask length: 30 State: Elected Scope - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 160
HoldTime: 150 Uptime: 00:06:54 Expires: 00:02:41 # Display RP information on Switch F. [SwitchF] display pim rp-info PIM-SM BSR RP information: Group/MaskLen: 224.0.0.0/4 Uptime: 00:00:32 Expires: 00:01:58 PIM-SSM configuration example Network requirements As shown in Figure 49, receivers receive VOD - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 161
diagram Vlan-int101 Vlan-int101 N2 Ethernet Ethernet Device Switch A Switch B Switch C Interface Vlan-int100 Vlan-int101 .4.1/24 Configuration procedure 1. Configure the IP address and subnet mask for each interface as per Figure 49. (Details not shown.) 2. Configure OSPF on the switches in - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 162
-pim] ssm-policy 2000 [SwitchA-pim] quit # Configure the SSM group range on Switch B, Switch C, Switch D and Switch E in the same way. (Details not shown.) Verifying the configuration # Display PIM configuration information on Switch A. [SwitchA] display pim interface Interface NbrCnt HelloInt - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 163
Downstream interface(s) information: Total number of downstreams: 1 1: Vlan-interface105 Protocol: pim-ssm, UpTime: 00:12:05, Expires: 00:03:25 Troubleshooting PIM A multicast distribution tree cannot be built correctly Symptom None of the routers in the network (including routers directly connected - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 164
receives data but no corresponding (S, G) entry is created in the PIM routing table. Analysis • If a multicast forwarding boundary has been configured through the multicast boundary command, any multicast packet will be kept from crossing the boundary, and no routing entry can be created in the PIM - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 165
routers. Use the display pim rp-info command to verify that the same static RP address has been configured on all the routers in the entire network route to the RP. 2. PIM-SM needs the support of the RP and BSR. Use the display pim bsr-info command to verify that the BSR information is available on - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 166
in this document refers to both routers and Layer 3 switches. How MSDP works MSDP peers Configuring one or more pairs of MSDP peers in the network forms an MSDP interconnection map, where the RPs of different PIM-SM domains are interconnected in series. An SA message that an RP sends and that these - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 167
in PIM-SM 2 and PIM-SM 3 also seek the specific location of Source so that receiver hosts can receive multicast traffic that the source sends, HP recommends you to establish MSDP peering relationship between RP 1 and RP 3 and between RP 3 and RP 2, respectively. 156 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 168
have arrived along the correct path and passed the filtering are received and forwarded. This avoids delivery loops of SA messages. In addition, you can configure MSDP peers into an MSDP mesh group so as to avoid flooding of SA messages between MSDP peers. An MSDP mesh group refers to a group - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 169
more RPs. MSDP peering relationship has been established among different RPs. RP 3, RP 4, and RP 5 are in an MSDP mesh group. On RP 7, RP 6 is configured as its static RPF peer. NOTE: When an RP receives an SA message from a static RPF peer, the RP accepts the SA message and forwards - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 170
through MSDP Anycast RP refers to an application that enables load balancing and redundancy backup between two or more RPs within a PIM-SM domain by configuring the same IP address for, and establishing MSDP peering relationship between, these RPs. Usually an Anycast RP address is - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 171
Figure 53 Intra-domain Anycast RP through MSDP The work process of Anycast RP is as follows: 1. The multicast source registers with the nearest RP. In this example, Source registers with RP 1, with its multicast data encapsulated in the register message. When the register message arrives at RP 1, RP - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 172
as an MSDP peer. Configuration prerequisites Before you configure basic MSDP functions, complete the following tasks: • Configure any unicast routing protocol enter MSDP view. Command system-view multicast routing-enable msdp Remarks N/A Disabled by default. Disabled by default. For more - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 173
Command system-view msdp peer peer-address connect-interface interface-type interface-number Remarks N/A N/A No MSDP peer connection is created by default. NOTE: If an interface of the router is shared by an MSDP peer and a BGP or MBGP peer at the same time, HP recommends you to configure Configure - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 174
an MSDP peer: Step 1. Enter system view. 2. Enter MSDP view. 3. Configure description for an MSDP peer. Command system-view msdp peer peer-address description text Remarks N/A N/A No description is configured for an MSDP peer by default. Configuring an MSDP mesh group An AS can contain multiple - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 175
timer retry interval 5. Configure an MD5 authentication key for the TCP peer peer-address password connection to be established { cipher | simple } password with an MSDP peer. Remarks N/A N/A Optional. Active by default. Optional. 30 seconds by default. Optional. By default, MD5 authentication is - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 176
encapsulation of multicast data in SA messages. Command system-view msdp encap-data-enable 4. Configure the interface address as originating-rp interface N/A Optional. Disabled by default. Optional. PIM RP address by default. Configuring SA request messages By default, after receiving a new join - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 177
Step 3. Enable the device to send SA request messages. 4. Configure a filtering rule for SA request messages. Command peer peer-address request-sa-enable peer peer-address sa-request-policy [ acl acl-number ] Remarks Optional. Disabled by default. Optional. SA request messages are not filtered by - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 178
at S. To protect the router effectively against denial of service (DoS) attacks, you can set a limit on the number of (S, G) entries the router can cache. To configure the SA message cache: Step 1. Enter system view. 2. Enter MSDP view. Command system-view msdp 3. Enable the SA cache mechanism - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 179
Command reset msdp sa-cache [ group-address ] reset msdp statistics [ peer-address ] Remarks Available in user view Available in user view MSDP configuration examples PIM-SM Inter-domain multicast configuration 10.110.1.1/24 192.168.1.1/24 Device Switch D Switch E 168 Interface Vlan-int104 Vlan- - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 180
multicast routing, enable PIM-SM on each interface, and enable IGMP on Switch B, Switch C, Switch D, Switch E, and Switch F in the same way. (Details not shown.) # Configure a PIM domain border on Switch B. [SwitchB] interface vlan-interface 101 [SwitchB-Vlan-interface101] pim bsr-boundary [SwitchB - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 181
-interface vlan-interface 102 [SwitchC-msdp] quit # Configure MSDP peers on Switch E. [SwitchE] msdp [SwitchE-msdp] peer 192.168.3.1 connect-interface vlan-interface 102 [SwitchE-msdp] quit Verifying the configuration Use the display bgp peer command to display the BGP peering relationship between - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 182
display msdp brief command to display the brief information of MSDP peering relationship between the switches. For example: # Display brief information about MSDP peering relationship on Switch B. [SwitchB] display msdp brief MSDP Peer Brief Information Configured Up Listen Connect Shutdown - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 183
8 0 192.168.1.1 Up 00:06:39 100 13 0 # Display brief information about MSDP peering relationship on Switch E. [SwitchE] display msdp brief MSDP Peer Brief Information Configured Up Listen Connect Shutdown 1 1 0 0 0 Down 0 Peer's Address State Up/Down time AS SA Count Reset Count - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 184
the IP address and subnet mask for each interface as per Figure 55. (Details not shown.) 2. Configure OSPF on the switches in each AS to make sure the switches in each AS are interoperable at the network-layer, and they can dynamically update their routing information. (Details not shown.) 3. Enable - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 185
-interface104] quit # Enable IP multicast routing, PIM-SM and IGMP on Switch A, Switch B, Switch D, Switch E, Switch F, and Switch G in the same way. (Details not shown.) # Configure PIM domain borders on Switch B. [SwitchB] interface vlan-interface 103 [SwitchB-Vlan-interface103] pim bsr-boundary - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 186
10.110.3.2 rp-policy list-dg [SwitchA-msdp] static-rpf-peer 10.110.6.2 rp-policy list-dg [SwitchA-msdp] quit # Configure Switch A as the MSDP peer and static RPF peer of Switch D. [SwitchD] ip ip-prefix list-a permit 10.110.0.0 16 greater-equal 16 less-equal 32 [SwitchD] msdp [SwitchD-msdp] peer - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 187
the configuration Use the display bgp peer command to display the BGP peering relationship between the switches. If the command gives no output information on Switch A, it means that no BGP peering relationship has been established between Switch A and Switch D, or between Switch A and Switch - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 188
the IP address and subnet mask for each interface as per Figure 56. (Details not shown.) 2. Configure OSPF on the switches to make sure the switches are interoperable at the network-layer, and they can dynamically update their routing information. (Details not shown.) 3. Enable IP multicast - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 189
-interface loopback 0 [SwitchD-msdp] quit Verifying the configuration You can use the display msdp brief command to display the brief information of MSDP peering relationship between the switches. # Display brief MSDP peer information on Switch B. [SwitchB] display msdp brief MSDP Peer Brief - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 190
MSDP Peer Brief Information Configured Up Listen 1 1 0 Connect 0 Shutdown 0 Down 0 Peer's Address State Up/Down time AS 1.1.1.1 Up 00:10:18 ? SA Count Reset Count 0 0 To display the PIM routing information on the switches, use the display pim routing-table command. When Source 1 10. - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 191
domains to provide unicast routing. Loopback 0 is configured as a C-BSR and a C-RP in the related PIM-SM domains on Switch A, Switch C, and Switch D, respectively. An MSDP peering relationship is set up between Switch A and Switch C and between Switch C and Switch D. Source 1 sends multicast data to - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 192
layer, and they can dynamically update their routing information. (Details not shown.) 3. Enable IP multicast routing, IGMP and PIM-SM, and configure a PIM domain border: # On Switch A, enable IP multicast routing, enable IGMP on the host-side interface, VLAN-interface 100, and enable PIM-SM on each - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 193
] pim sm [SwitchA-LoopBack0] quit # Enable IP multicast routing, IGMP and PIM-SM on Switch B, Switch C and Switch D in the same way. (Details not shown.) # Configure a PIM domain border on Switch C. [SwitchC] interface vlan-interface 101 [SwitchC-Vlan-interface101] pim bsr-boundary [SwitchC-Vlan - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 194
-acl-basic-2001] quit [SwitchD] msdp [SwitchD-msdp] import-source acl 2001 [SwitchD-msdp] quit Verifying the configuration Display the (S, G) entries cached in the SA cache on the switches using the display msdp sa-cache command. For example: # Display the (S, G) entries cached in the SA cache on - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 195
Troubleshooting MSDP MSDP peers stay in down state Symptom The configured MSDP peers stay in the down state. Analysis • A TCP connection-based MSDP peering relationship is established between the local interface address and the MSDP peer after the configuration current-configuration command to - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 196
RPs. • An MSDP peer address must be different from the Anycast RP address, and the C-BSR and C-RP must be configured on different devices or interfaces. • If the originating-rp command is executed, MSDP will replace the RP address in the SA messages with the address of the interface specified in the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 197
, see Layer 3-IP Routing Configuration Guide. The term "router" in this chapter refers to both routers and Layer 3 switches. MBGP overview BGP-4 can configuration task list Task Remarks Configuring basic MBGP functions Required Configuring MBGP route redistribution Required Configuring default - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 198
the network layer. To configure basic MBGP functions: Step Command 1. Enter system view. default. N/A Not enabled by default. Optional. The default preferred value is 0. Controlling route advertisement and reception Before configuring this task, configure basic MBGP functions first. Configuring - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 199
must exist in the local IP routing table, and using a routing policy makes route control more flexible. Configuring default route redistribution into MBGP You cannot use the import-route command to redistribute any default route into the MBGP routing table. This task allows you to redistribute - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 200
peers. MBGP supports automatic and manual summarization modes: • Automatic summarization-Summarizes subnets redistributed from IGP. With the feature configured, MBGP advertises only summary natural networks rather than subnets. The default routes and routes injected with the network command are not - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 201
an ACL to filter advertisements to an IPv4 MBGP peer Use at least one command. or a peer group: peer { group-name | ip-address } filter-policy acl-number export By default, no outbound route filtering is configured. • Reference an AS path list to filter route advertisements to an IPv4 MBGP peer - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 202
policy import Only the routes that have passed all the configured policies can be advertised. To configure MBGP route reception filtering policies: Step 1. Enter system view. 2. Enter BGP view. 3. Enter IPv4 MBGP address family view. Command system-view bgp as-number ipv4-family multicast Remarks - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 203
ip-address } route-limit limit [ percentage ] Remarks Use at least one command By default, no inbound route filtering is configured. Optional The number is unlimited by default. Configuring MBGP route dampening By configuring MBGP route dampening, you can suppress unstable routes from being added - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 204
Enter BGP view. 3. Enter IPv4 MBGP address family view. 4. Configure the default local preference. Command system-view bgp as-number ipv4-family multicast default local-preference value Remarks N/A N/A N/A Optional. 100 by default. Configuring the MED attribute When other conditions of routes to - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 205
multicast EBGP peers, the router does not specify itself as the next hop of routing information sent to the EBGP peers by default unless the peer next-hop-local command is configured. To specify the router as the next hop of routes sent to a peer or a peer group: Step 1. Enter system view. 2. Enter - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 206
feature that enables dynamic route refresh without terminating MBGP connections. However, if a peer that does not support route refresh exists in the network, you must configure the peer keep-all-routes command to save all routes from the peer. When the routing policy is changed, the system updates - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 207
default. Performing soft reset manually If the peer does not support route refresh, you can use the peer keep-all-routes command routes policies. 6. Return to user view. return 7. Soft-reset MBGP connections manually. refresh bgp ipv4 multicast For the parameters configured on both sides for - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 208
this feature is not enabled, you need to configure this command. For more information about the command, see Layer 3-IP Routing Command Reference. Optional. By default, standard BGP ORF capability defined in RFC 5291 and RFC 5292 is supported. 4. Enable the non-standard BGP ORF capability for - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 209
Step 3. Enter IPv4 MBGP address family view. 4. Configure the maximum number of MBGP routes for load balancing. Command ipv4-family multicast balance number Remarks N/A Not configured by default. Configuring a large scale MBGP network Before you configure this task, you must make peering nodes - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 210
routing policy for route advertisement. For routing policy configuration, see Layer 3-IP Routing Configuration Guide. To configure MBGP community: Step 1. Enter system view. 2. Enter BGP view. 3. Enter IPv4 MBGP address family view. Command system-view bgp as-number ipv4-family multicast Remarks - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 211
peer or a peer group as its client. Command peer { group-name | peer-address } reflect-client Remarks Not configured by default. 5. Enable route reflection between clients. reflect between-clients Optional. Enabled by default. 6. Configure the cluster ID of the route reflector. reflector - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 212
| include } regular-expression ] view Resetting MBGP connections Task Reset specified MBGP connections. Command Remarks reset bgp ipv4 multicast { all | as-number | ip-address Available in user | group group-name | external | internal } view Clearing MBGP information Task Clear dampened - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 213
the two ASs to exchange multicast route information. • The multicast source belongs to PIM-SM 1, and the receiver belongs to PIM-SM 2. • Configure the respective Loopback 0 of Switch A and Switch B as the C-BSR and C-RP of the respective PIM-SM domains. • Set up an MSDP peer relationship between - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 214
vlan-interface 101 [SwitchA-Vlan-interface101] pim sm [SwitchA-Vlan-interface101] quit The configuration on Switch B and Switch D is similar to the configuration on Switch A. # Enable IP multicast routing on Switch C, enable PIM-SM on each interface, and enable IGMP on the host-side interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 215
192.168.1.1 connect-interface vlan-interface 101 [SwitchB-msdp] quit 7. Verify the configuration: Use the display bgp multicast peer command to display MBGP peers on a switch. For example: # Display MBGP peers on Switch B. [SwitchB] display bgp multicast peer BGP local router ID : 2.2.2.2 Local AS - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 216
MSDP Peer Brief Information of VPN-Instance: public net Configured Up Listen Connect Shutdown Down 1 1 0 0 0 0 Peer's Address State Up/Down time AS SA Count Reset Count 192.168.1.1 Up 00:07:17 100 1 0 205 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 217
Configuring MLD snooping Overview Multicast Listener users. Figure 59 Before and after MLD snooping is enabled on the Layer 2 device Basic concepts in MLD snooping MLD snooping related ports As shown in Figure 60, Router A connects to the multicast source, MLD snooping runs on Switch A and Switch - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 218
and dynamic router ports and member ports. NOTE: An MLD snooping-enabled switch deems that the all its ports that receive MLD general queries with the ports. For more information about IPv6 PIM hello messages, see "Configuring IPv6 PIM." Aging timers for dynamic ports in MLD snooping and related - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 219
How MLD snooping works In this section, the involved ports are dynamic ports. For information about how to configure and remove static ports, see "Configuring static ports." A switch that runs MLD snooping performs different actions when it receives different MLD messages, as follows: When receiving - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 220
to the port are still monitoring that IPv6 multicast group address. The switch removes the port from the forwarding entry for the IPv6 multicast group when the aging timer expires. MLD snooping proxying You can configure the MLD snooping proxying function on an edge device to reduce the number - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 221
proxy. As a host from the perspective of the querier Router A, Switch A represents its attached hosts to send their membership reports and done as a dynamic member port, and starts an aging timer for the port. Then, the switch sends the report to the group out of all router ports. In response to a - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 222
MLD) Snooping Switches MLD snooping configuration task list Task Remarks Configuring basic MLD configuration in VLAN view. • In MLD-snooping view, the configurations that you make are effective on all ports. In Layer 2 Ethernet interface view or Layer 2 aggregate interface view, the configurations - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 223
make the same configuration in Layer 2 Ethernet interface view or Layer 2 aggregate interface view. • For MLD snooping, the configurations that you make . Command system-view mld-snooping quit vlan vlan-id mld-snooping enable Remarks N/A Disabled by default N/A N/A Disabled by default Specifying - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 224
address entries exist by default. To configure an IPv6 static multicast MAC address entry in interface view: Step 1. Enter system view. 2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view. 3. Configure a static multicast MAC address entry. Command system-view interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 225
port when the aging timer of the port expires, the switch removes the port from the forwarding entry for the IPv6 Command system-view vlan vlan-id mld-snooping router-aging-time interval mld-snooping host-aging-time interval Remarks N/A N/A 260 seconds by default 260 seconds by default Configuring - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 226
the port, the switch sends an MLD done message through that port. To configure a port as a simulated member host: Step 1. Enter system view. 2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view. 3. Configure the port as a simulated member host. Command system-view Remarks - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 227
configure as a simulated member host ages out like a dynamic member port. Enabling fast-leave processing The fast-leave processing feature enables the switch N/A Use either command. Disabled by default. Disabling a port from becoming a dynamic router port The following problems exist in a - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 228
at the network layer. This router or Layer 3 switch is called the "MLD querier." For more information about MLD querier, see "Configuring MLD." However, a Layer 2 multicast switch does not support MLD. Therefore, it cannot send MLD general queries by default. When you enable MLD snooping querier on - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 229
for MLD general queries. 4. Set the MLD last-member query interval. Command system-view mld-snooping max-response-time interval Remarks N/A N/A 10 seconds by default last-listener-query-interval interval 1 second by default Configuring the parameters for MLD queries and responses in a VLAN Step - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 230
MLD general queries. 5. Set the MLD last-member query interval. Command Remarks mld-snooping max-response-time interval 10 seconds by default mld-snooping last-listener-query-interval interval 1 second by default Configuring the source IPv6 addresses for MLD queries Step 1. Enter system view - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 231
an IPv6 multicast group filter On an MLD snooping-enabled switch, you can configure an IPv6 multicast group filter to limit multicast programs available to users. In an application, when a user requests a multicast program, the user's host initiates an MLD report. After receiving this report message - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 232
system-view mld-snooping source-deny port interface-list Configuring IPv6 multicast source port filtering for a port Remarks N/A N/A Disabled by default Step 1. Enter system view. 2. Enter Layer 2 Ethernet interface view,. Command system-view interface interface-type interface-number Remarks - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 233
system view. 2. Enter VLAN view. 3. Enable dropping unknown IPv6 multicast data. Command system-view vlan vlan-id mld-snooping drop-unknown Remarks N/A N/A Disabled by default Configuring MLD report suppression When a Layer 2 switch receives an MLD report from an IPv6 multicast group member, the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 234
To configure the maximum number of IPv6 multicast groups that a port can join: Step 1. Enter system view. 2. Enter Layer 2 Ethernet interface Use either command. 1000 by default. Enabling IPv6 multicast group replacement For various reasons, the number of IPv6 multicast groups that a switch or a - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 235
view. 3. Enable IPv6 multicast group replacement. Command system-view mld-snooping overflow-replace [ vlan vlan-list ] Remarks N/A N/A Disabled by default Enabling IPv6 multicast group replacement for a port Step 1. Enter system view. 2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 236
identify type of service for IP packets. As defined in RFC 24724, the first six bits contains the DSCP priority for prioritizing traffic in the network and the last two bits are reserved. This configuration applies to only the MLD messages that the local switch generates when the switch or its port - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 237
enabled on its VLAN interface. This command cannot remove the static group entries of MLD snooping groups. Clear statistics for the MLD messages learned through MLD snooping. reset mld-snooping statistics Available in user view. MLD snooping configuration examples IPv6 group policy and simulated - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 238
A drops unknown IPv6 multicast data and does not broadcast the data to the VLAN where Switch A resides. Figure 62 Network diagram Configuration procedure 1. Enable IPv6 forwarding and configure an IPv6 address and prefix length for each interface as per Figure 62. (Details not shown.) 2. On Router - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 239
-GigabitEthernet1/0/4] mld-snooping host-join ff1e::101 vlan 100 [SwitchA-GigabitEthernet1/0/4] quit Verifying the configuration Display detailed MLD snooping group information in VLAN 100 on Switch A. [SwitchA] display mld-snooping group vlan 100 verbose Total 1 IP Group(s). Total 1 IP Source - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 240
during this process. For more information about the Spanning Tree Protocol (STP), see Layer 2-LAN Switching Configuration Guide. Figure 63 Network diagram Configuration procedure 1. Enable IPv6 forwarding and configure an IPv6 address and prefix length for each interface as per Figure 63. 229 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 241
VLAN. [SwitchB] vlan 100 [SwitchB-vlan100] port gigabitethernet 1/0/1 gigabitethernet 1/0/2 [SwitchB-vlan100] mld-snooping enable [SwitchB-vlan100] quit 5. Configure Switch C: # Enable MLD snooping globally. system-view [SwitchC] mld-snooping [SwitchC-mld-snooping] quit # Create VLAN 100 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 242
-GigabitEthernet1/0/5] mld-snooping static-group ff1e::101 vlan 100 [SwitchC-GigabitEthernet1/0/5] quit Verifying the configuration # Display detailed MLD snooping group information in VLAN 100 on Switch A. [SwitchA] display mld-snooping group vlan 100 verbose Total 1 IP Group(s). Total 1 IP Source - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 243
total 2 port(s). GE1/0/3 GE1/0/5 The output shows that GigabitEthernet 1/0/3 and GigabitEthernet 1/0/5 on Switch C have become static member ports for IPv6 multicast group FF1E::101. MLD snooping querier configuration example Network requirements As shown in Figure 64, in a Layer-2-only network - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 244
MLD snooping querier feature in VLAN 100. [SwitchA-vlan100] mld-snooping querier [SwitchA-vlan100] quit 2. Configure Switch B: # Enable IPv6 forwarding and enable MLD snooping globally. system-view [SwitchB] ipv6 [SwitchB] mld-snooping [SwitchB-mld-snooping] quit # Create VLAN 100 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 245
-vlan100] quit 3. Configure Switch C and Switch D in the same way as you configure Switch B. Verifying the configuration When the MLD snooping querier starts to work, all the switches but the querier receive MLD general queries. Use the display mld-snooping statistics command to display statistics - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 246
dm [RouterA-GigabitEthernet1/0/1] quit [RouterA] interface gigabitethernet 1/0/2 [RouterA-GigabitEthernet1/0/2] pim ipv6 dm [RouterA-GigabitEthernet1/0/2] quit 3. Configure Switch A: # Enable MLD snooping globally. system-view [SwitchA] mld-snooping [SwitchA-mld-snooping] quit # Create - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 247
Router A because Host B is still in the group. Use the display mld-snooping group command to display information about MLD snooping groups. For example: # Display information about MLD snooping groups on Switch A. [SwitchA] display mld-snooping group Total 1 IP Group(s). Total 1 IP Source(s). 236 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 248
Host port(s):total 1 port(s). GE1/0/3 Troubleshooting MLD snooping Layer 2 multicast forwarding cannot function Symptom Layer 2 multicast forwarding cannot function. Analysis MLD snooping is not enabled. Solution 1. Use the display current-configuration command to display the running status of - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 249
policy or mld-snooping group-policy command to apply the correct IPv6 multicast group policy. Use the display current-configuration command to verify that the function only MLD is enabled on the switch, or if both MLD and IPv6 PIM are enabled on the switch, the switch does the following: { Maintains - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 250
service, the Layer 3 device, Router A, must forward a separate copy of the multicast traffic in each user VLAN to the Layer 2 device, Switch Host B and Host C are in different user VLANs. On Switch A, configure VLAN 10 as an IPv6 multicast VLAN, configure all the user VLANs as sub-VLANs of VLAN 10, - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 251
-based IPv6 multicast VLAN As shown in Figure 68, Host A, Host B, and Host C are in different user VLANs. All the user ports are hybrid ports. On Switch A, configure VLAN 10 as an IPv6 multicast VLAN, assign all the user ports to VLAN 10, and enable MLD snooping in the IPv6 multicast VLAN and all - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 252
VLAN tags, see Layer 2-LAN Switching Configuration Guide. IPv6 multicast VLAN configuration task list Configuration task Configuring a sub-VLAN-based IPv6 multicast VLAN Configuring a port-based IPv6 multicast VLAN Configuring user port attributes Configuring IPv6 multicast VLAN ports Remarks - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 253
Ethernet interface view or Layer 2 aggregate interface view. 3. Configure the user port link type as hybrid. 4. Specify the user VLAN that comprises the current user ports as the default VLAN. 5. Configure the current user either command. Access by default. VLAN 1 by default. By default, a hybrid port - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 254
2 Ethernet interface view or Layer 2 interface interface-type aggregate interface view. interface-number 5. Configure the ports as member ports of the IPv6 port multicast-vlan ipv6 vlan-id multicast VLAN. Remarks N/A Not an IPv6 multicast VLAN by default. N/A Use either command. By default, a user - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 255
group. The hosts belong to VLAN 2 through VLAN 5 respectively. Configure the sub-VLAN-based IPv6 multicast VLAN feature on Switch A so that Router A just sends IPv6 multicast data to Switch A through the IPv6 multicast VLAN and Switch A forwards the traffic to the receivers that belong to different - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 256
as its sub-VLANs. [SwitchA] multicast-vlan ipv6 10 [SwitchA-ipv6-mvlan-10] subvlan 2 to 5 [SwitchA-ipv6-mvlan-10] quit 4. Configure Switch B: # Enable MLD snooping globally. system-view [SwitchB] mld-snooping [SwitchB-mld-snooping] quit # Create VLAN 2, assign GigabitEthernet 1/0/2 to VLAN - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 257
/0/1] port link-type trunk [SwitchB-GigabitEthernet1/0/1] port trunk permit vlan 2 3 5. Configure Switch C in the same way as you configure Switch B. (Details not shown.) Verifying the configuration # Display information about the IPv6 multicast VLAN. [SwitchA] display multicast-vlan ipv6 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 258
Total 1 MAC Group(s). Router port(s):total 0 port(s). IP group(s):the following ip group(s) match to one mac group. IP group address:FF1E::101 (::, FF1E::101): Host port(s):total 1 port(s). GE1/0/2 (D) MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 1 port(s). GE1/0/2 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 259
multicast VLAN feature on Switch A so that Router A sends IPv6 multicast data to Switch A through the IPv6 multicast VLAN, and Switch A forwards the IPv6 multicast data to the receivers that belong to different user VLANs. Figure 70 Network diagram Configuration procedure 1. Enable IPv6 forwarding - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 260
ipv6 pim dm [RouterA-GigabitEthernet1/0/2] mld enable 3. Configure Switch A: # Enable MLD snooping globally. system- The configuration for VLAN 3 and VLAN 4 is similar. (Details not shown.) # Configure GigabitEthernet 1/0/2 as a hybrid port. Configure VLAN 2 as the default VLAN. Configure - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 261
no subvlan port list: GE1/0/2 GE1/0/3 GE1/0/4 # Display the MLD snooping multicast group information on Switch A. [SwitchA] display mld-snooping group Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Port flags: D-Dynamic port, S-Static port, C-Copy port, P-PIM port Subvlan - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 262
The IPv6 multicast forwarding table guides the forwarding of IPv6 group. If a router supports multiple IPv6 multicast protocols, routing table based on the configured multicast routing and forwarding policy refers to both routers and Layer 3 switches. RPF check mechanism An IPv6 multicast - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 263
next hop is the RPF neighbor. 2. The router selects one of these optimal routes as the RPF route. The selection process is as follows: { If configured to use the longest match principle, the router selects the longest match route from these optimal routes. If these routes have the same prefix length - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 264
table size Remarks Required Optional Optional Optional Enabling IPv6 multicast routing Before you configure any Layer 3 IPv6 multicast functionality, you must enable IPv6 multicast routing. To enable IPv6 multicast routing: Step 1. Enter system view. Command system-view Remarks N/A 253 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 265
Step Command 2. Enable IPv6 multicast routing. multicast ipv6 routing-enable Remarks Disabled by default. Configuring IPv6 multicast routing and forwarding Before you configure IPv6 multicast routing and forwarding, complete the following tasks: • Enable IPv6 forwarding and configure an IPv6 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 266
view. 2. Enter interface view. 3. Configure an IPv6 multicast forwarding boundary. Command system-view interface interface-type interface-number N/A No forwarding boundary by default. Configuring the IPv6 multicast forwarding table size The switch maintains the corresponding forwarding entry for - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 267
display and maintain IPv6 multicast routing and forwarding: Task Command Remarks Display the IPv6 multicast boundary information. display multicast type interface-number | register } } * | all } Available in user view. When a forwarding entry is deleted from the IPv6 multicast forwarding table - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 268
user view. When a routing entry is deleted from the IPv6 multicast routing table, the corresponding forwarding entry is also deleted from the IPv6 multicast forwarding table. Troubleshooting IPv6 multicast policy configuration The multicast ipv6 boundary command filters IPv6 multicast packets - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 269
Configuring " in this document refers to both routers and Layer 3 switches. MLD versions • MLDv1 (defined in RFC 2710), which which is derived from IGMPv3. All MLD versions support the Any-Source Multicast (ASM) model. In addition mapping function to implement SSM service. For more information about - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 270
Joining an IPv6 multicast group Figure 72 MLD queries and reports IPv6 network Router A Ethernet Querier Router B Host A (G2) Query Report Host B (G1) Host C (G1) Assume that Host B and Host C will receive IPv6 multicast data addressed to IPv6 multicast group - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 271
all IPv6 multicast routers on the local subnet. The destination address is FF02::2. 2. After receiving the MLD done message, the querier sends a configurable number of multicast-address-specific queries to the group that the host is leaving. The destination address field and group address field of - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 272
-The router keeps tracing the newly added or deleted IPv6 multicast source. • Timers-Filter timers, including the time that the router waits before switching to the Include mode after an IPv6 multicast address times out, the source timer for source recording, and so on. Receiver host state listening - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 273
Figure 74 MLDv2 query message format 0 34 7 Type = 130 15 Code Maximum Response Delay 31 Checksum Reserved Multicast Address (128 bits) Reserved S QRV QQIC Number of Sources (n) Source Address [1] (128 bits) Source Address [n] (128 bits) Table 9 MLDv2 query message field description - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 274
Field Number of Sources Source Address( i ) Description • This field is set to 0 in a general query message or a multicast-address-specific query message. • This field represents the number of source addresses in a multicast-address-and-source-specific query message. IPv6 multicast source address - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 275
mapping feature enables you to configure static MLD SSM mappings on the last hop router to provide SSM support for receiver hosts that are INCLUDE, (S1, S2...)) information based on the configured MLD SSM mappings and provides SSM service accordingly. NOTE: The MLD SSM mapping feature does not - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 276
has the following types of interfaces: • Upstream interface-Also called the "proxy interface." A proxy interface is an interface on which MLD proxying is configured. It is in the direction toward the root of the multicast forwarding tree. An upstream interface acts as a host that is running MLD, and - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 277
the maximum number of IPv6 multicast groups that an interface can join Optional Configuring Router-Alert option handling methods Optional Configuring MLD query and response parameters Optional Configuring MLD fast-leave processing Optional Enabling the MLD host tracking function Optional - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 278
interface-type interface-number 4. Enable MLD. mld enable Remarks N/A Disable by default N/A Disabled by default For more information about the multicast ipv6 routing-enable command, see IP Multicast Command Reference. Configuring the MLD version Because MLD message types and formats vary with - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 279
Enter system view. 2. Enter interface view. Command system-view interface interface-type interface-number 3. Configure an IPv6 multicast group filter. mld group-policy acl6-number [ version-number ] Remarks N/A N/A By default, no IPv6 group filter is configured on the interface. That is, hosts - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 280
that the interface can join. Command interface interface-type interface-number mld group-limit limit Remarks N/A 1000 by default. NOTE: This configuration takes effect for dynamically joined IPv6 multicast groups but not the statically configured multicast groups. Adjusting MLD performance - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 281
Command system-view mld require-router-alert send-router-alert Configuring Router-Alert option handling methods on an interface Remarks N/A N/A By default The number of queries, or the startup query count, is user configurable. After startup, the MLD querier periodically sends MLD general queries - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 282
delay for MLD general query messages. 8. Configure the MLD last listener query interval. Command system-view mld robust-count robust-value startup-query-interval interval startup-query-count value timer query interval Remarks N/A N/A 2 times by default. A higher robustness variable makes the MLD - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 283
Step Command 9. Configure the MLD other querier present interval. timer other-querier-present interval Configuring MLD query and response parameters on an interface Remarks By default, the other querier present interval is determined by the formula "Other querier present interval (in seconds) = - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 284
, the switch can record . 3. Configure the MLD host tracking function globally. Command system-view default, the DSCP value in MLD messages is 48. Configuring MLD SSM mapping Because of some possible restrictions, some receiver hosts on an SSM network might run MLDv1. To provide SSM service support - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 285
Configure basic MLD functions. Enabling MLD SSM mapping Step 1. Enter system view. 2. Enter interface view. 3. Enable the MLD SSM mapping feature. Command system-view interface interface-type interface-number mld ssm-mapping enable Remarks N/A N/A Disabled by default NOTE: To ensure SSM service - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 286
. Command system-view interface interface-type interface-number mld proxying enable Remarks N/A N/A Disabled by default Configuring IPv6 hosts. If the interface has failed in the querier election, you must manually enable IPv6 multicast forwarding on this interface. IMPORTANT: On a multi-access - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 287
Command mld proxying forwarding Remarks Disabled by default Displaying and maintaining MLD CAUTION: The reset mld group command | include } regular-expression ] Available in any view. Display MLD configuration and running information on the specified interface or all MLD-enabled interfaces. - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 288
command cannot remove the Layer 2 port entries of MLD groups. Clear MLD SSM mappings. reset mld ssm-mapping group { all | interface interface-type interface-number { all | ipv6-group-address [ prefix-length ] [ ipv6-source-address [ prefix-length ] ] } } Available in user view. MLD configuration - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 289
an IP address and prefix length for each interface as shown in Figure 78. (Details not shown.) 2. Configure OSPFv3 on the switches on the IPv6 PIM network to make sure the switches are interoperable at the network layer and they can dynamically update their routing information. (Details not shown - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 290
does not support MLDv2. Therefore, the Receiver host cannot specify expected multicast sources in its membership reports. Source 1, Source 2, and Source 3 send IPv6 multicast packets to multicast groups in the IPv6 SSM group range. You can configure the MLD SSM mapping feature on Switch D so that - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 291
Vlan-int103 Vlan-int104 IPv6 address 3001::1/64 4001::1/64 3001::2/64 3002::1/64 2002::2/64 4001::2/64 3002::2/64 1003::2/64 Configuration procedure 1. Enable IPv6 forwarding on each switch and configure an IPv6 address and prefix length for each interface as shown in Figure 79. (Details not shown - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 292
] quit [SwitchD] pim ipv6 [SwitchD-pim6] ssm-policy 2000 [SwitchD-pim6] quit # Configure the IPv6 SSM group range on Switch A, Switch B and Switch C in the same way. (Details not shown.) 6. Configure MLD SSM mappings on Switch D. [SwitchD] mld [SwitchD-mld] ssm-mapping ff3e:: 64 1001::1 [SwitchD-mld - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 293
PIM-DM runs on the core network. Host A and Host C in the stub network receive VOD information destined to multicast group FF3E::101. Configure the MLD proxying feature on Switch B so that Switch B can maintain group memberships and forward IPv6 multicast traffic without running IPv6 PIM-DM. 282 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 294
] interface vlan-interface 200 [SwitchB-Vlan-interface200] mld enable [SwitchB-Vlan-interface200] quit Verifying the configuration # Display MLD information on VLAN-interface 100 of Switch B. [SwitchB] display mld interface vlan-interface 100 verbose Vlan-interface100(2001::2): MLD proxy is enabled - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 295
from the hosts are forwarded to Switch A through the proxy interface, VLAN-interface 100 of Switch B. Troubleshooting MLD No member information on MLD report from the host. • If the mld group-policy command has been configured on an interface, the interface cannot receive report messages that fail - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 296
the same subnet will also lead to inconsistent MLD memberships. Solution 1. Use the display current-configuration command to verify the MLD configuration information on the interface. 2. Use the display mld interface command on all routers on the same subnet to check the MLD timers for inconsistent - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 297
information about RPF, see "Configuring IPv6 multicast routing and forwarding." Based on the implementation mechanism, IPv6 PIM supports the following types: • The term "router" in this document refers to both routers and Layer 3 switches. IPv6 PIM-DM overview IPv6 PIM-DM is a type of dense mode IPv6 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 298
• SPT establishment • Graft • Assert Neighbor discovery In an IPv6 PIM domain, a PIM router discovers IPv6 PIM neighbors, maintains IPv6 PIM neighboring relationships with other routers, and builds and maintains SPTs by periodically multicasting IPv6 PIM hello messages to all other IPv6 PIM routers - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 299
. 3. If the node that sent a graft message does not receive a graft-ack message from its upstream node, it keeps sending graft messages at a configurable interval until it receives an acknowledgment from its upstream node. Where more than one multicast routers exists, the assert mechanism shuts off - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 300
Figure 82 Assert mechanism As shown in Figure 82, after Router A and Router B receive an (S, G) IPv6 multicast packet from the upstream node, they both forward the packet to the local subnet. As a result, the downstream node Router C receives two identical multicast packets, and both Router A and - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 301
acts as a receiver-side DR before receivers attached to this device can join IPv6 multicast groups through this DR. For more information about MLD, see "Configuring MLD." 290 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 302
or if any router in the network does not support carrying the DR-election priority in hello messages, topological structure of the RPT, you can configure multiple candidate-RPs (C-RPs) in an IPv6 BSR is automatically elected from the C-BSRs to avoid service interruption. NOTE: • An RP can serve IPv6 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 303
multicast groups and RPs. The BSR then encapsulates the RP-set in the bootstrap messages it periodically originates and floods the bootstrap messages (BSMs) to the entire IPv6 PIM-SM domain. Figure 84 BSR and C-RPs Based on the information in the RP-sets, all routers in the network can calculate - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 304
from an IPv6 multicast address so that the IPv6 multicast group is mapped to an RP. This RP can take the place of the statically configured RP or the RP dynamically calculated based on the BSR mechanism. The DR does not need to identify the RP address beforehand. The specific process - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 305
the SPT, the RP sends a register-stop message to the source-side DR by unicast to stop the source registration process. NOTE: The RP is configured to initiate a switchover to SPT as described in this section. Otherwise, the DR at the IPv6 multicast source side keeps encapsulating multicast data in - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 306
the passing-by IPv6 multicast packets. If it finds that the traffic rate exceeds a configurable threshold, the RP sends an (S, G) join message hop by hop toward the IPv6 single-BSR domain and enables provision of zone-specific services using private group addresses. IPv6 admin-scope zones correspond - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 307
multicast protocol packets, such as assert messages and bootstrap messages, for a specific group range cannot cross the IPv6 admin-scope zone boundary. IPv6 multicast group ranges served by different IPv6 admin-scope zones can overlap. An IPv6 multicast group is valid only within its local IPv6 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 308
Figure 88 IPv6 multicast address format An IPv6 admin-scoped zone with a larger scope field value contains an IPv6 admin-scoped zone with a smaller scope field value. The zone with the scope field value of E is the IPv6 global-scoped zone. Table 1 lists the possible values of the scope field. Table - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 309
Neighbor discovery IPv6 PIM-SSM uses the same neighbor discovery mechanism as in IPv6 PIM-SM. For more information, see "Neighbor discovery." DR election IPv6 PIM-SSM uses the same DR election mechanism as in IPv6 PIM-SM. For more information, see "DR election." SPT building The decision to build an - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 310
depends, as shown in Figure 90. Figure 90 Relationship among IPv6 PIM protocols For more information about MLD SSM mapping, see "Configuring MLD." Protocols and standards • RFC 3973, Protocol Independent Multicast-Dense Mode(PIM-DM):Protocol Specification(Revised) • RFC 4601, Protocol Independent - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 311
• Enable IPv6 forwarding and configure an IPv6 unicast routing protocol SSM group range. To enable IPv6 PIM-DM: Step Command 1. Enter system view. system-view 2. Enable IPv6 ipv6 dm Remarks N/A Disabled by default. N/A Disabled by default. Enabling state-refresh capability Pruned interfaces - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 312
a new state-refresh message. Command system-view pim ipv6 state-refresh-interval interval state-refresh-rate-limit interval 5. Configure the hop limit value state-refresh-hoplimit of state-refresh messages. hoplimit-value Remarks N/A N/A Optional. 60 seconds by default. Optional. 30 seconds by - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 313
Enabling IPv6 PIM-SM Configuring a static RP Configuring an RP Configuring a C-RP Enabling embedded RP Configuring C-RP timers globally Configuring a C-BSR Configuring an IPv6 PIM domain border Configuring a BSR Configuring C-BSR parameters globally Configuring C-BSR timers Disabling BSM - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 314
interface view. interface interface-type interface-number 4. Enable IPv6 PIM-SM. pim ipv6 sm Remarks N/A Disabled by default. N/A Disabled by default. Configuring an RP An RP can be manually configured or dynamically elected through the BSR mechanism. For a large IPv6 PIM network, static RP - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 315
Step 2. Enter IPv6 PIM view. 3. Configure a static RP for IPv6 PIM-SM. Command pim ipv6 static-rp ipv6-rp-address [ acl6-number ] [ preferred ] Remarks N/A No static RP by default. Configuring a C-RP In an IPv6 PIM-SM domain, you can configure routers that intend to become the RP as C-RPs. The - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 316
: Step 1. Enter system view. 2. Enter IPv6 PIM view. 3. Configure the C-RP-Adv interval. 4. Configure C-RP timeout time. Command Remarks system-view N/A pim ipv6 N/A Optional. c-rp advertisement-interval interval 60 seconds by default. c-rp holdtime interval Optional. 150 seconds by - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 317
BSR, the problem will still Configure a legal BSR address range. Command system-view pim ipv6 c-bsr ipv6-address [ hash-length [ priority ] ] bsr-policy acl6-number Remarks N/A N/A No C-BSRs are configured by default. Optional. No restrictions by default. Configuring its specific service scope. - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 318
view. 2. Enter IPv6 PIM view. 3. Configure the hash mask length. Command system-view pim ipv6 c-bsr hash-length hash-length 4. Configure the C-BSR priority. c-bsr priority priority Remarks N/A N/A Optional. 126 by default. Optional. 64 by default. Configuring C-BSR timers The BSR election winner - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 319
Step Command 3. Configure the BS period. c-bsr interval interval 4. Configure the BS timeout timer. c-bsr holdtime interval Remarks Optional. By default, the BS period is determined by the formula "BS period = (BS timeout - 10) / 2." The default BS timeout is 130 seconds, so the default BS - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 320
IPv6 administrative scoping: Step 1. Enter system view. 2. Enter IPv6 PIM view. 3. Enable IPv6 administrative scoping. Command system-view pim ipv6 c-bsr admin-scope Remarks N/A N/A Disabled by default Configuring an IPv6 admin-scope zone boundary The boundary of each IPv6 admin-scope zone is - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 321
Configuring C-BSR parameters globally." Perform the following configuration on the routers that you want to configure as C-BSRs in IPv6 admin-scope zones. To configure a C-BSR for an IPv6 admin-scope zone: Step Command by default. priority ] * Configuring IPv6 of interoperability, HP does not - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 322
impact on your network. If an HP 6125 Blade switch acts as an RP or the receiver-side DR, it initiates the switchover to SPT by default upon receiving the first IPv6 multicast packet along the RPT. You can disable the switchover from RPT to SPT. To configure the switchover to SPT: Step 1. Enter - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 323
SSM: Step Command 1. Enter system view. system-view 2. Enable IPv6 multicast routing. multicast ipv6 routing-enable 3. Enter interface view. interface interface-type interface-number 4. Enable IPv6 PIM-SM. pim ipv6 sm Remarks N/A Disabled by default N/A Disabled by default Configuring the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 324
. 2. Enter IPv6 PIM view. Command system-view pim ipv6 3. Configure the IPv6 SSM group range. ssm-policy acl6-number Remarks N/A N/A Optional. FF3x::/32 by default, here "x" refers to any legal group scope. Configuring IPv6 PIM common features For the configuration tasks in this section: • In - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 325
Configure an IPv6 multicast group filter. Command system-view pim ipv6 source-policy acl6-number Remarks N/A N/A No IPv6 multicast data filter by default Configuring secure application of IPv6 PIM. To guide against IPv6 PIM message attacks, you can configure a legal source address range for hello - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 326
system view. 2. Enter interface view. 3. Configure a hello message filter. Command system-view interface interface-type interface-number pim ipv6 neighbor-policy acl6-number Remarks N/A N/A No hello message filter by default NOTE: With the hello message filter configured, if hello messages of an - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 327
. Optional. 105 seconds by default. Optional. 500 milliseconds by default. Optional. 2,500 milliseconds by default. Enabled by default. Step 1. Enter system view. 2. Enter interface view. Command system-view interface interface-type interface-number 3. Configure the priority for DR pim ipv6 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 328
Step 1. Enter system view. 2. Enter IPv6 PIM view. 3. Configure the prune delay interval. Command system-view pim ipv6 prune delay interval Remarks N/A N/A Optional. By default, the prune delay is not configured.. Configuring IPv6 PIM common timers IPv6 PIM routers discover IPv6 PIM neighbors and - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 329
view. Command system-view 2. Enter IPv6 PIM view. pim ipv6 3. Configure the maximum size of each join/prune message. jp-pkt-size packet-size 4. Configure the maximum number of (S, G) entries in a join/prune message. jp-queue-size queue-size Remarks N/A N/A Optional. 8100 bytes by default - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 330
class field (called ToS in IPv4) to identify type of service for IP packets. As defined in RFC 24724, the default, the DSCP value in IPv6 PIM messages is 48. Displaying and maintaining IPv6 PIM Task Command Remarks Display the BSR information in the IPv6 PIM-SM domain and locally configured - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 331
Task Command Remarks Display information about join/prune messages to send. -number ] Available in user view IPv6 PIM configuration examples IPv6 PIM-DM configuration example Network requirements Receivers and N2. MLDv1 runs between Switch A and N1 and between Switch B/Switch C and N2. 320 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 332
the IPv6 address and prefix length for each interface as per Figure 91. (Details not shown.) 2. Configure OSPFv3 on the switches in the IPv6 PIM-DM domain to make sure the switches are interoperable at the network layer. (Details not shown.) 3. Enable IPv6 multicast routing, MLD and IPv6 PIM - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 333
quit Verifying the configuration # Display IPv6 PIM information on Switch D. [SwitchD] display Switch A to join IPv6 multicast group G, and a (*, G) entry is generated on Switch A. You can use the display pim IPv6 routing-table command to view the IPv6 PIM routing table information on each switch - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 334
00:01:20, Expires: never # Display IPv6 PIM multicast routing table information on Switch D. [SwitchD] display pim ipv6 routing-table Total 0 (*, G) entry; 1 19, Expires: never IPv6 PIM-SM non-scoped zone configuration example Network requirements Receivers receive VOD information through multicast. - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 335
Switch A and N1 and between Switch B/Switch C and N2. Figure 92 Network diagram Ethernet N1 Vlan-int101 Vlan-int101 N2 Ethernet Ethernet Device Switch A Switch B Switch 1003::2/64 4002::2/64 Configuration procedure 1. Enable IPv6 forwarding on each switch and configure the IPv6 address and - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 336
-basic-2005] quit [SwitchD] pim ipv6 [SwitchD-pim6] c-bsr 4002::1 128 10 [SwitchD-pim6] c-rp 4002::1 group-policy 2005 [SwitchD-pim6] quit # On Switch E, configure the service scope of RP advertisements, specify a C-BSR and a C-RP, and set the hash mask length to 128 and the priority of the C-BSR to - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 337
192 HoldTime: 130 Advertisement Interval: 60 Next advertisement scheduled at: 00:00:48 # Display information about the BSR and locally configured C-RP in effect on Switch E. [SwitchE] display pim ipv6 bsr-info Elected BSR Address: 1003::2 Priority: 20 Hash mask length: 128 State: Elected Uptime: 00 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 338
IPv6 multicast data, Switch A immediately switches from the RPT to the SPT. The switches on the RPT path (Switch A and Switch E) have a (*, G) entry, and the switches on the SPT path (Switch A and Switch D) have an (S, G) entry. You can use the display pim ipv6 routing-table command to view the PIM - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 339
56, Expires: 00:02:34 IPv6 PIM-SM admin-scope zone configuration example Network requirements Receivers receive VOD information through multicast. The entire IPv6 admin-scope zone 2, and the IPv6 global zone. Switch B, Switch C, and Switch D are ZBRs of these three domains respectively. Source 1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 340
the IPv6 address and prefix length for each interface as per Figure 93. (Details not shown.) 2. Configure OSPFv3 on the switches in the IPv6 PIM-SM domain to make sure the switches are interoperable at the network layer. (Details not shown.) 3. Enable IPv6 multicast routing and IPv6 administrative - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 341
multicast routing and IPv6 administrative scoping, and enable IPv6 PIM-SM on Switch C, Switch D, Switch F, Switch G, and Switch H in the same way. (Details not shown.) 4. Configure an admin-scope zone boundary: # On Switch B, configure VLAN-interface 102 and VLAN-interface 103 to be the boundary of - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 342
[SwitchB-pim6] c-bsr scope 4 [SwitchB-pim6] c-bsr 1002::2 [SwitchB-pim6] c-rp 1002::2 scope 4 [SwitchB-pim6] quit # On Switch D, configure the service scope of RP advertisements, and configure VLAN-interface 104 as a C-BSR and C-RP of admin-scope zone 2. [SwitchD] pim ipv6 [SwitchD-pim6] c-bsr scope - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 343
: 192 HoldTime: 130 Advertisement Interval: 60 Next advertisement scheduled at: 00:00:15 # Display information about the BSR and locally configured C-RP on Switch D. [SwitchD] display pim ipv6 bsr-info Elected BSR Address: 8001::1 Priority: 64 Hash mask length: 126 State: Accept Preferred Scope - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 344
Interval: 60 Next advertisement scheduled at: 00:00:55 To view the RP information learned on a switch, use the display pim ipv6 rp-info command. For example: # Display RP information on Switch B. [SwitchB] display pim ipv6 rp-info PIM-SM BSR RP information: prefix/prefix length: FF0E::/16 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 345
prefix/prefix length: FF4E::/16 RP: 8001::1 Priority: 192 HoldTime: 130 Uptime: 00:03:39 Expires: 00:01:51 prefix/prefix length: FF5E::/16 RP: 8001::1 Priority: 192 HoldTime: 130 Uptime: 00:03:39 Expires: 00:01:51 prefix/prefix length: FF6E::/16 RP: 8001::1 Priority: 192 HoldTime: 130 Uptime: 00:03: - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 346
prefix/prefix length: FFBE::/16 RP: 8001::1 Priority: 192 HoldTime: 130 Uptime: 00:03:39 Expires: 00:01:51 prefix/prefix length: FFCE::/16 RP: 8001::1 Priority: 192 HoldTime: 130 Uptime: 00:03:39 Expires: 00:01:51 prefix/prefix length: FFDE::/16 RP: 8001::1 Priority: 192 HoldTime: 130 Uptime: 00:03: - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 347
Expires: 00:01:51 prefix/prefix length: FF24::/16 RP: 1002::2 Priority: 192 HoldTime: 130 Uptime: 00:03:39 Expires: 00:01:51 prefix/prefix length: FF34::/16 RP: 1002::2 Priority: 192 HoldTime: 130 Uptime: 00:03:39 Expires: 00:01:51 prefix/prefix length: FF44::/16 RP: 1002::2 Priority: 192 HoldTime: - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 348
Uptime: 00:03:39 Expires: 00:01:51 prefix/prefix length: FF94::/16 RP: 1002::2 Priority: 192 HoldTime: 130 Uptime: 00:03:39 Expires: 00:01:51 prefix/prefix length: FFA4::/16 RP: 1002::2 Priority: 192 HoldTime: 130 Uptime: 00:03:39 Expires: 00:01:51 prefix/prefix length: FFB4::/16 RP: 1002::2 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 349
HoldTime: 130 Uptime: 00:03:39 Expires: 00:01:51 # Display RP information on Switch F. [SwitchF] display pim rp-info PIM-SM BSR RP information: prefix/prefix length: FF0E::/16 RP: 8001::1 Priority: 192 HoldTime: 130 Uptime: 00:03:39 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 350
prefix/prefix length: FF6E::/16 RP: 8001::1 Priority: 192 HoldTime: 130 Uptime: 00:03:39 Expires: 00:01:51 prefix/prefix length: FF7E::/16 RP: 8001::1 Priority: 192 HoldTime: 130 Uptime: 00:03:39 Expires: 00:01:51 prefix/prefix length: FF8E::/16 RP: 8001::1 Priority: 192 HoldTime: 130 Uptime: 00:03: - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 351
HoldTime: 130 Uptime: 00:03:39 Expires: 00:01:51 IPv6 PIM-SSM configuration example Network requirements Receivers receive VOD information through multicast. The receiver groups of different SSM group range is FF3E::/64. MLDv2 runs between Switch A and N1 and between Switch B/Switch C and N2. 340 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 352
diagram Vlan-int101 Vlan-int101 N2 Ethernet Ethernet Device Switch A Switch B Switch C Interface Vlan-int100 Vlan-int101 Vlan 3001::2/64 2002::2/64 1003::2/64 4002::2/64 Configuration procedure 1. Enable IPv6 forwarding on each switch and configure the IPv6 address and prefix length for each - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 353
not shown.) # Enable IPv6 multicast routing and IPv6 PIM-SM on Switch D and Switch E in the same way. (Details not shown.) 4. Configure the IPv6 SSM group range: # Configure the IPv6 SSM group range to be FF3E::/64 on Switch A. [SwitchA] acl ipv6 number 2000 [SwitchA-acl6-basic-2000] rule permit - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 354
IPv6 PIM multicast routing table information on Switch B. [SwitchD] display pim ipv6 routing- :02, Expires: 00:03:25 Troubleshooting IPv6 PIM configuration Failure to build a multicast distribution 5. Use the display pim ipv6 interface verbose command to verify that the same PIM mode is enabled on - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 355
no corresponding (S, G) entry is created in the IPv6 PIM routing table. Analysis • If an IPv6 multicast forwarding boundary has been configured through the multicast ipv6 boundary command, any IPv6 multicast packet will be kept from crossing the boundary, and no routing entry can be created in the - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 356
Use the display pim ipv6 rp-info command to verify that the same RP address has been configured on all the routers throughout the route to the RP. 2. IPv6 PIM-SM needs the support of the RP and BSR. Use the display pim ipv6 bsr-info command to verify that the BSR information is available on each - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 357
BGP for IPv6 multicast. For information about BGP and IPv6 BGP, see Layer 3-IP Routing Configuration Guide. The term "router" in this chapter refers to both routers and Layer 3 switches. IPv6 MBGP overview IETF defined Multiprotocol BGP (MP-BGP) to carry routing information for multiple - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 358
. N/A Not configured by default. N/A Not enabled by default. Configuring a preferred value for routes from a peer or a peer group If you both reference a routing policy and use the command peer { ipv6-group-name | ipv6-address } preferred-value value to set a preferred value for routes from a peer - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 359
[ route-policy route-policy-name | short-cut ] Not injected by default. Configuring IPv6 MBGP route redistribution Step 1. Enter system view. 2. Enter BGP view. 3. Enter IPv6 MBGP multicast address family view. Command system-view bgp as-number ipv6-family multicast Description N/A N/A N/A 348 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 360
import-route command cannot redistribute any IGP default route. Not enabled by default. Configuring IPv6 MBGP route summarization To reduce the routing table size on medium and large BGP networks, you must configure route summarization on IPv6 MBGP routers. BGP supports only manual summarization of - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 361
ipv6-prefix-name } export Use any of the commands. [ protocol process-id ] • Specify an IPv6 ACL to filter routes advertised to a peer or a peer group: No filtering is configured by default. peer { ipv6-group-name | You can configure filter ipv6-address } filter-policy policies as required - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 362
-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import Use any of the commands By default, advertised routes are not filtered. • Apply a routing policy to routes from a peer or a peer group: You can configure a filtering policy as required. peer { ipv6-group-name | ipv6-address } If you - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 363
Enter IPv6 MBGP address family view. 4. Set the default local preference. Command system-view bgp as-number ipv6-family multicast default local-preference value Remarks N/A N/A N/A Optional. By default, the default local preference is 100. Configuring the MED attribute Step 1. Enter system view - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 364
Step 3. Enter IPv6 MBGP address family view. Command ipv6-family multicast 4. Configure a default MED value. default med med-value 5. Enable the comparison of the MED for routes from different compare-different-as-med ASs. 6. Enable the comparison of the MED for - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 365
default. Optional. Enabled by default. Optional. By default, outbound IPv6 MBGP updates can carry private AS numbers. Tuning and optimizing IPv6 MBGP networks Configuration that does not support route refresh exists in the network, you must configure the peer keep-all-routes command to save all - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 366
Enabled by default. Performing soft reset manually If the peer does not support route refresh, you can use the peer keep-all-routes command to save ORF information through specific route-refresh messages. For the parameters configured on both sides for ORF capability negotiation, see Table 12. - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 367
group-name | ipv6-address } capability-advertise orf non-standard By default, standard BGP ORF capability defined in RFC 5291 and RFC 5292 is supported. If this feature is not enabled, you must configure this command. 6. Enter IPv6 MBGP address family view. ipv6-family multicast N/A 7. Enable - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 368
unicast peer group. To configure an IPv6 MBGP peer group: Step Command 1. Enter system view. N/A N/A By default, no peer is added. N/A N/A By default, no peer is added. Configuring IPv6 MBGP community about routing policy configuration, see Layer 3-IP Routing Configuration Guide. To advertise - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 369
configured by default. NOTE: You must configure a routing policy to define the COMMUNITY attribute, and apply the policy to outgoing routes. Configuring these route reflectors to avoid routing loops. To configure an IPv6 BGP route reflector: Step Command 1. Enter system view. system-view 2. - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 370
maintaining IPv6 MBGP Displaying IPv6 MBGP Task Display IPv6 MBGP peer group information. Display IPv6 MBGP routing information injected with the network command. Display the IPv6 MBGP AS path information of routes. Display IPv6 MBGP peer information or peer group information. Display the prefix - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 371
statistics. Command reset bgp ipv6 multicast dampening [ ipv6-address prefix-length ] reset bgp ipv6 multicast flap-info [ ipv6-address/prefix-length | regexp as-path-regexp | as-path-acl as-path-acl-number ] Remarks Available in user view Available in user view IPv6 MBGP configuration example - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 372
vlan-interface 101 [SwitchA-Vlan-interface101] pim ipv6 sm [SwitchA-Vlan-interface101] quit The configuration on Switch B and Switch D is similar to the configuration on Switch A. # Enable IPv6 multicast routing on Switch C, enable IPv6 PIM-SM on each interface, and enable MLD on the host-side - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 373
af-ipv6-mul] peer 1001::2 enable [SwitchA-bgp-af-ipv6-mul] import-route direct [SwitchA-bgp-af-ipv6-mul] quit [SwitchA-bgp] quit # On Switch B, configure the IPv6 MBGP peers and redistribute OSPF routes. [SwitchB] bgp 200 [SwitchB-bgp] router-id 2.2.2.2 [SwitchB-bgp] ipv6-family [SwitchB-bgp-af-ipv6 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 374
1 [SwitchB-bgp-af-ipv6-mul] quit [SwitchB-bgp] quit 6. Verify the configuration: Use the display bgp ipv6 multicast peer command to display IPv6 MBGP peers on a switch. For example: # Display IPv6 MBGP peers on Switch B. [SwitchB] display bgp ipv6 multicast peer BGP local router ID : 2.2.2.2 Local - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 375
HP A-Series Acronyms. Websites • HP.com http://www.hp.com • HP Networking http://www.hp.com/go/networking • HP manuals http://www.hp.com/support/manuals • HP download drivers and software http://www.hp.com/support/downloads • HP software depot http://www.software.hp.com • HP Education http://www.hp - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 376
Command conventions Convention Boldface Italic [ ] { x | y | ... } [ x | y | ... ] { x | y | ... } * [ x | y | ... ] * & # Description Bold text represents commands and menu items are in bold text. For example, the New User window appears; click OK. Multi-level menus are separated by angle - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 377
, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features. Port numbering in examples The port numbers in this document are for - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 378
proxying,219 Configuring MLD snooping querier,217 Configuring MLD SSM mapping,273 Configuring multicast routing and forwarding,63 Configuring PIM common features,128 Configuring PIM-DM,114 Configuring PIM-SM,117 Configuring PIM-SSM,127 Configuring SA messages related parameters,164 Contacting HP,364 - HP 6125G | HP 6125G & 6125G/XG Blade Switches IP Multicast Configuration - Page 379
IGMP,100 Troubleshooting IGMP snooping,43 Troubleshooting IPv6 multicast policy configuration,257 Troubleshooting IPv6 PIM configuration,343 Troubleshooting MLD,284 Troubleshooting MLD snooping,237 Troubleshooting MSDP,184 Troubleshooting multicast routing and forwarding,74 Troubleshooting PIM,152
HP 6125 Blade Switch Series
IP Multicast
Configuration Guide
Part number: 5998-3158
Software version: Release 2103
Document version: 6W100-20120907