HP 3100 v2 Switch Series IP Multicast Configuration Guide HP 3100-8 v2 SI Switch (JG221A) HP 3100-16 v2 SI Switch (JG222A) HP 3100-24 v2 SI Switch (JG223A) HP 3100-8 v2 EI Switch (JD318B) HP 3100-16 v2 EI Switch (JD319B) HP 3100-24 v2 EI Switch (JD320B)
Contents Multicast overview ······················································································································································· 1 Introduction to multicast ···················································································································································· 1 Information transmission techniques ······················································································································· 1 Multicast features ······················································································································································ 3 Common notations in multicast ······························································································································· 4 Multicast advantages and applications ················································································································· 4 Multicast models ································································································································································ 5 ...
Page 4
Group policy and simulated joining configuration example ············································································ 34 Static port configuration example ······················································································································· 36 IGMP snooping querier configuration example ································································································· 40 IGMP snooping proxying configuration example ······························································································ 42 Multicast source and user control policy configuration example (available only on the HP 3100 v2 EI) ··· 44 ...
Page 5
IPv6 group policy and simulated joining configuration example ···································································· 79 Static port configuration example ······················································································································· 81 MLD snooping querier configuration example ··································································································· 84 MLD snooping proxying configuration example ································································································ 86 IPv6 multicast source and user control policy configuration example ····························································· 89 ...
Multicast overview Introduction to multicast As a technique that coexists with unicast and broadcast, the multicast technique effectively addresses the issue of point-to-multipoint data transmission. By enabling high-efficiency point-to-multipoint data transmission over a network, multicast greatly saves network bandwidth and reduces network load. By using multicast technology, a network operator can easily provide new value-added services, such as live webcasting, web TV, distance learning, telemedicine, web radio, real time video conferencing, and other bandwidth-critical and time-critical information services.
Page 7
In unicast transmission, the traffic transmitted over the network is proportional to the number of hosts that need the information. If a large number of hosts need the information, the information source must send a separate copy of the same information to each of these hosts. Sending many copies can place a tremendous pressure on the information source and the network bandwidth.
Figure 3 Multicast transmission The multicast source sends only one copy of the information to a multicast group. Host B, Host D and Host E, which are receivers of the information, must join the multicast group. The routers on the network duplicate and forward the information based on the distribution of the group members.
For a better understanding of the multicast concept, you can compare multicast transmission to the transmission of TV programs. Table 1 Comparing TV program transmission and multicast transmission TV transmission Multicast transmission A TV station transmits a TV program through a A multicast source sends multicast data to a multicast channel.
Multicast models Based on how the receivers treat the multicast sources, the multicast models include any-source multicast (ASM), source-filtered multicast (SFM), and source-specific multicast (SSM). ASM model In the ASM model, any sender can send information to a multicast group as a multicast source, and receivers can join a multicast group (identified by a group address) and obtain multicast information addressed to that multicast group.
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 multicast addresses •...
Page 13
Scope—The Scope field contains four bits, which indicate the scope of the IPv6 internetwork for which the multicast traffic is intended. Table 5 Values of the Scope field Value Meaning 0, F Reserved Interface-local scope Link-local scope Subnet-local scope Admin-local scope Site-local scope 6, 7, 9 through D Unassigned...
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.
Page 15
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 correctly and efficiently. Multicast routes constitute loop-free data transmission paths from a data source to multiple receivers, namely, a multicast distribution tree.
PIM snooping and IPv6 PIM snooping • PIM snooping and IPv6 PIM snooping run on Layer 2 devices. They determine which ports are interested in multicast data by analyzing the received IPv6 PIM messages, and add the ports to a multicast forwarding entry to make sure that multicast data can be forwarded to only the ports that are interested in the data.
Configuring IGMP snooping Overview Internet Group Management Protocol (IGMP) snooping is a multicast constraining mechanism that runs on Layer 2 devices to manage and control multicast groups. By analyzing received IGMP messages, a Layer 2 device that runs IGMP snooping establishes mappings between ports and multicast MAC addresses, and forwards multicast data based on these mappings.
Page 18
Figure 11 IGMP snooping related ports The following describes the ports involved in IGMP snooping: • Router port—Layer 3 multicast device-side port. Layer 3 multicast devices include designated routers (DRs) and IGMP queriers. In Figure 1 1, Ethernet 1/0/1 of Switch A and Ethernet 1/0/1 of Switch B are router ports.
Timer Description Message before expiry Action after expiry When a port dynamically joins a multicast group, The switch removes this the switch starts an aging Dynamic member port IGMP membership port from the IGMP timer for the port. When aging timer report.
that are monitoring the reported multicast address suppress their own reports. This makes the switch unable to know whether the reported multicast group still has active members attached to that port. When receiving a leave message When an IGMPv1 host leaves a multicast group, the host does not send an IGMP leave message, and the switch cannot know immediately that the host has left the multicast group.
Page 21
Figure 12 Network diagram IGMP Querier IP network Router A Query from Router A Report from Switch A Query from Switch A Proxy & Querier Switch A Report from Host Host A Host C Receiver Receiver Host B As shown in Figure 12, Switch A works as an IGMP snooping proxy.
Protocols and standards RFC 4541, Considerations for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD) Snooping Switches IGMP snooping configuration task list Task Remarks Enabling IGMP snooping Required Configuring basic IGMP snooping Specifying the version of IGMP snooping Optional functions Configuring static multicast MAC address entries...
In IGMP 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 that you make are effective only on the current port. In port group view, the configurations that you make are effective on all ports in the current port group.
Clears static IGMPv3 snooping forwarding entries (S, G), which will be restored when IGMP • snooping is switched back to IGMPv3 snooping. For more information about static joins, see "Configuring static ports." To specify the version of IGMP snooping: Step Command Remarks Enter system view.
Configuring IGMP snooping port functions Before you configure IGMP snooping port functions, complete the following tasks: Enable IGMP snooping in the VLAN. • Configure the corresponding port groups. • Determine the aging time of dynamic router ports. • Determine the aging time of dynamic member ports. •...
Configuring static ports If all hosts attached to a port are interested in the multicast data addressed to a particular multicast group or the multicast data that a particular multicast source sends to a particular group, you can configure the port as a static member port for the specified multicast group or the specified multicast source and group.
When the simulated joining function is disabled on a port, the switch sends an IGMP leave • message through the port. Unlike a static member port, a port that you configure as a simulated member host ages out like a dynamic member port.
Step Command Remarks • Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view: Enter Layer 2 Ethernet interface interface-type interface view, Layer 2 Use either command. interface-number aggregate interface view, or port group view. • Enter port group view: port-group manual port-group-name Enable IGMP snooping...
Configuring IGMP snooping querier Before you configure IGMP snooping querier, complete the following tasks: Enable IGMP snooping in the VLAN. • Determine the IGMP general query interval. • Determine the IGMP last-member query interval. • Determine the maximum response delay for IGMP general queries. •...
To speed up the response of hosts to IGMP queries and avoid simultaneous timer expirations causing IGMP report traffic bursts, you must properly set the maximum response delay. The maximum response delay for IGMP general queries is set by the max-response-time command. •...
Step Command Remarks Configure a source IP address for the IGMP leave igmp-snooping leave source-ip The default is 0.0.0.0. messages that the proxy { ip-address | current-interface } sends. Configuring an IGMP snooping policy Before you configure an IGMP snooping policy, complete the following tasks: Enable IGMP snooping in the VLAN.
Step Command Remarks • Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view: Enter Layer 2 Ethernet interface interface-type interface view, Layer 2 Use either command. interface-number aggregate interface view, or port group view. • Enter port group view: port-group manual port-group-name By default, no group filter is...
Enabling dropping unknown multicast data Unknown multicast data refers to multicast data for which no entries exist in the IGMP snooping forwarding table. When the switch receives such multicast traffic, one of the following occurs: When the function of dropping unknown multicast data is disabled, the switch floods unknown •...
Setting the maximum number of multicast groups that a port can join To regulate multicast traffic on a port, configure the maximum number of multicast groups that the port can join. When you configure this maximum number, if the number of multicast groups the port has joined exceeds the configured maximum value, the system deletes all the forwarding entries for the port from the IGMP snooping forwarding table, and the hosts on this port join multicast groups again until the number of multicast groups that the port joins reaches the maximum value.
Enabling multicast group replacement globally Step Command Remarks Enter system view. system-view Enter IGMP-snooping view. igmp-snooping Enable multicast group overflow-replace [ vlan vlan-list ] Disabled by default replacement. Enabling multicast group replacement on a port Step Command Remarks Enter system view. system-view •...
Step Command Remarks Set the 802.1p precedence for igmp-snooping dot1p-priority The default 802.1p precedence for IGMP messages in the VLAN. priority-number IGMP messages is 0. Configuring a multicast user control policy (available only on the HP 3100 v2 EI) Multicast user control policies are configured on access switches to allow only authorized users to receive requested multicast traffic flows.
Enabling the IGMP snooping host tracking function globally Step Command Remarks Enter system view. system-view Enter IGMP-snooping view. igmp-snooping Enable the IGMP snooping host tracking function host-tracking Disabled by default globally. Enabling the IGMP snooping host tracking function in a VLAN Step Command Remarks...
Task Command Remarks display igmp-snooping host vlan vlan-id group group-address Display information about the hosts [ source source-address ] [ slot Available in any view. tracked by IGMP snooping. slot-number ] [ | { begin | exclude | include } regular-expression ] display mac-address [ mac-address [ vlan vlan-id ] | Display static multicast MAC...
Page 40
Figure 13 Network diagram Configuration procedure Configure an IP address and subnet mask for each interface as per Figure 13. (Details not shown.) On Router A, enable IP multicast routing, enable IGMP on Ethernet 1/0/1, and enable PIM-DM on each interface. <RouterA>...
Page 42
Host A and host C are permanent receivers of multicast group 224.1.1.1. Ethernet 1/0/3 and Ethernet 1/0/5 on Switch C are required to be configured as static member ports for multicast group 224.1.1.1 to enhance the reliability of multicast traffic transmission. Suppose STP runs on the network.
Page 43
[RouterA-Ethernet1/0/1] quit [RouterA] interface ethernet 1/0/2 [RouterA-Ethernet1/0/2] pim dm [RouterA-Ethernet1/0/2] quit Configure Switch A: # Enable IGMP snooping globally. <SwitchA> system-view [SwitchA] igmp-snooping [SwitchA-igmp-snooping] quit # Create VLAN 100, assign Ethernet 1/0/1 through Ethernet 1/0/3 to this VLAN, and enable IGMP snooping in the VLAN.
Page 44
[SwitchC] interface Ethernet 1/0/5 [SwitchC-Ethernet1/0/5] igmp-snooping static-group 224.1.1.1 vlan 100 [SwitchC-Ethernet1/0/5] 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 Source(s). Total 1 MAC Group(s).
Eth1/0/3 Eth1/0/5 MAC group(s): MAC group address:0100-5e01-0101 Host port(s):total 2 port. Eth1/0/3 Eth1/0/5 The output shows that Ethernet 1/0/3 and Ethernet 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 environment, two multicast sources Source 1 and...
Page 46
[SwitchA] igmp-snooping [SwitchA-igmp-snooping] drop-unknown [SwitchA-igmp-snooping] quit # Create VLAN 100 and assign Ethernet 1/0/1 through Ethernet 1/0/3 to the VLAN. [SwitchA] vlan 100 [SwitchA-vlan100] port ethernet 1/0/1 to ethernet 1/0/3 # Enable IGMP snooping in VLAN 100. [SwitchA-vlan100] igmp-snooping enable # Enable the IGMP snooping querier function in VLAN 100 [SwitchA-vlan100] igmp-snooping querier # Set the source IP address of IGMP general queries and group-specific queries to 192.168.1.1...
Sent IGMPv3 specific sg queries:0. Received error IGMP messages:0. IGMP snooping proxying configuration example Network requirements As shown in Figure 16, Router A runs IGMPv2 and Switch A runs IGMPv2 snooping. Router A acts as the IGMP querier. Configure IGMP snooping proxying on Switch A, enabling the switch to forward IGMP reports and leave messages on behalf of attached hosts and to respond to IGMP queries from Router A and forward the queries to the hosts on behalf of Router A.
Page 48
[SwitchA-igmp-snooping] quit # Create VLAN 100, assign ports Ethernet 1/0/1 through Ethernet 1/0/4 to this VLAN, and enable IGMP snooping and IGMP snooping proxying in the VLAN. [SwitchA] vlan 100 [SwitchA-vlan100] port ethernet 1/0/1 to ethernet 1/0/4 [SwitchA-vlan100] igmp-snooping enable [SwitchA-vlan100] igmp-snooping proxying enable [SwitchA-vlan100] quit Verifying the configuration...
When Host A leaves the multicast group, it sends an IGMP leave message to Switch A. Receiving the message, Switch A removes port Ethernet 1/0/4 from the member port list of the forwarding entry for the group; however, it does not remove the group or forward the leave message to Router A because Host B is still in the group.
Figure 17 Network diagram Configuration procedures Configure an IP address and subnet mask for each interface as per Figure 17. (Details not shown.) Configure Switch A: # Create VLAN 101 through VLAN 104 and assign Ethernet 1/0/1 through Ethernet 1/0/4 to the four VLANs respectively.
Page 52
Configure Switch B: # Globally enable IGMP snooping. <SwitchB> system-view [SwitchB] igmp-snooping [SwitchB-igmp-snooping] quit # Create VLAN 104, assign Ethernet 1/0/1 through Ethernet 1/0/3 to this VLAN, and enable IGMP snooping in this VLAN. [SwitchB] vlan 104 [SwitchB-vlan104] port ethernet 1/0/1 to ethernet 1/0/3 [SwitchB-vlan104] igmp-snooping enable [SwitchB-vlan104] quit # Create a user profile profile2 to allow users to join or leave only one multicast group, 224.1.1.1.
Page 53
[SwitchB-Ethernet1/0/3] dot1x [SwitchB-Ethernet1/0/3] quit Configure the RADIUS server: On the RADIUS server, configure the parameters related to Switch A and Switch B. For more information, see the configuration guide of the RADIUS server. Verifying the configuration After the configurations, the two multicast sources and hosts initiate 802.1X authentication. After passing authentication, Source 1 sends multicast flows to 224.1.1.1 and Source 2 sends multicast flows to 224.1.1.2;...
Incoming interface: Vlan-interface101 List of 1 outgoing interfaces: 1: Vlan-interface104 Matched 19648 packets(20512512 bytes), Wrong If 0 packets Forwarded 19648 packets(20512512 bytes) The output shows that Switch A maintains a multicast forwarding entry for multicast packets from Source 1 to 224.1.1.1. No forwarding entry exists for packets from Source 2 to 224.1.1.1, which indicates that multicast packets from Source 2 are blocked.
Page 55
Use the display current-configuration command to verify that the function of dropping unknown multicast data is enabled. If not, use the drop-unknown command to enable the function of dropping unknown multicast data.
Configuring multicast VLANs Overview In the traditional multicast programs-on-demand mode shown in Figure 18, when hosts (Host A, Host B and Host C) that belong to different VLANs require multicast programs-on-demand 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 A.
Figure 19 Port-based multicast VLAN Multicast packets VLAN 2 VLAN 10 (Multicast VLAN) Receiver Host A VLAN 3 Eth1/0/2 Receiver Host B Eth1/0/1 Eth1/0/3 Source Router A Switch A Eth1/0/4 IGMP querier VLAN 4 Receiver Host C After the configuration, if Switch A receives an IGMP message on a user port, it tags the message with the multicast VLAN ID and relays it to the IGMP querier, so that IGMP snooping can uniformly manage the router port and member ports in the multicast VLAN.
Create VLANs as required. • • Enable IGMP snooping in the VLAN to be configured as a multicast VLAN. Enable IGMP snooping in all the user VLANs. • Configuring user port attributes First, configure the user ports as hybrid ports that permit packets of the specified user VLAN to pass, and configure the user VLAN to which the user ports belong as the default VLAN.
Configuration procedure To configure multicast VLAN ports in multicast VLAN view: Step Command Remarks Enter system view. system-view Configure the specified VLAN By default, a VLAN is not a as a multicast VLAN and enter multicast-vlan vlan-id multicast VLAN. multicast VLAN view. Assign ports to the multicast By default, a multicast VLAN has port interface-list...
Page 60
Configure the port-based multicast VLAN feature on Switch 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 20 Network diagram Configuration procedure Configure the IP address and subnet mask for each interface as per...
Page 61
[SwitchA-vlan2] quit The configuration for VLAN 3 and VLAN 4 is similar. (Details not shown.) # Configure Ethernet 1/0/2 as a hybrid port. Configure VLAN 2 as the default VLAN. Configure Ethernet 1/0/2 to permit packets of VLAN 2 and VLAN 10 to pass and untag the packets when forwarding them.
Page 62
Eth1/0/2 Eth1/0/3 Eth1/0/4 MAC group(s): MAC group address:0100-5e01-0101 Host port(s):total 3 port(s). Eth1/0/2 Eth1/0/3 Eth1/0/4 The output shows that IGMP snooping is maintaining the router ports and member ports in VLAN 10.
Configuring MLD snooping (available only on the HP 3100 v2 EI) Overview Multicast Listener Discovery (MLD) snooping is an IPv6 multicast constraining mechanism that runs on Layer 2 devices to manage and control IPv6 multicast groups. By analyzing received MLD messages, a Layer 2 device that runs MLD snooping establishes mappings between ports and multicast MAC addresses and forwards IPv6 multicast data based on these mappings.
Page 64
Figure 22 MLD snooping related ports Ports involved in MLD snooping, as shown in Figure 22, are described as follows: Router port—Layer 3 multicast device-side port. Layer 3 multicast devices include designated • routers (DRs) and MLD querier. In the figure, Ethernet 1/0/1 of Switch A and Ethernet 1/0/1 of Switch B are router ports.
NOTE: In MLD snooping, only dynamic ports age out. Static ports never age out. 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."...
If no forwarding entry matches the IPv6 multicast group address, or if the forwarding entry does not • contain the port, the switch directly discards the MLD done message. If a forwarding entry matches the IPv6 multicast group address and contains the port, the switch •...
As shown in Figure 23, Switch A works as an MLD snooping 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 messages to Router A. Table 7 describes how an MLD snooping proxy processes MLD messages.
Task Remarks Disabling a port from becoming a dynamic router port Optional Enabling MLD snooping querier Optional Configuring MLD snooping Configuring parameters for MLD queries and responses Optional querier Configuring the source IPv6 addresses for MLD queries Optional Enabling MLD snooping proxying Optional Configuring MLD snooping Configuring the source IPv6 addresses for the MLD...
Enabling MLD snooping When you enable MLD snooping, follow these guidelines: You must enable MLD snooping globally before you enable it for a VLAN. • After you enable MLD snooping for a VLAN, you cannot enable MLD or IPv6 PIM on the •...
Configuring IPv6 static multicast MAC address entries In Layer-2 multicast, a Layer-2 IPv6 multicast protocol (such as MLD snooping) can dynamically add IPv6 multicast MAC address entries. Or, you can manually configure IPv6 multicast MAC address entries. Configuration guidelines The configuration that you make in system view is effective on the specified interfaces. The •...
Configuring aging timers for dynamic ports If a switch receives no MLD general queries or IPv6 PIM hello messages on a dynamic router port when the aging timer of the port expires, the switch removes the port from the router port list. If the switch receives no MLD reports for an IPv6 multicast group on a dynamic member port when the aging timer of the port expires, the switch removes the port from the forwarding entry for the IPv6 multicast group.
Step Command Remarks Enter system view. system-view • Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view: Enter Layer 2 Ethernet interface interface-type interface view, Layer 2 Use either command. interface-number aggregate interface view, or port group view. •...
NOTE: Unlike a static member port, a port that you 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 to process MLD done messages quickly. After the fast-leave processing feature is enabled, when the switch receives an MLD done message on a port, it immediately removes that port from the forwarding entry for the multicast group specified in the message.
multicast packets within the VLAN where the port belongs, and forwards them to the host, affecting normal multicast reception of the host. In addition, the MLD general query and IPv6 PIM hello message that the host sends affects the • multicast routing protocol state on Layer 3 devices, such as the MLD querier or DR election, and might further cause network interruption.
switch sends MLD queries, so that multicast forwarding entries can be created and maintained at the data link layer. IMPORTANT: It is meaningless to configure an MLD snooping querier in an IPv6 multicast network that runs MLD. Although an MLD snooping querier does not participate in MLD querier elections, it might affect MLD querier elections because it sends MLD general queries with a low source IPv6 address.
Configuring the parameters for MLD queries and responses in a VLAN Step Command Remarks Enter system view. system-view Enter VLAN view. vlan vlan-id mld-snooping query-interval Set the MLD query interval. 125 seconds by default interval Set the maximum response mld-snooping max-response-time delay for MLD general 10 seconds by default interval...
Step Command Remarks Enter system view. system-view Enter VLAN view. vlan vlan-id Enable MLD snooping mld-snooping proxying enable Disabled by default proxying in the VLAN. Configuring the source IPv6 addresses for the MLD messages sent by the proxy You can set the source IPv6 addresses for the MLD reports and done messages that the MLD snooping proxy sends on behalf of its attached hosts.
When you configure a multicast group filter in an IPv6 multicast VLAN, be sure to configure the filter in the sub-VLANs of the IPv6 multicast VLAN. Otherwise, the configuration does not take effect. Configuring an IPv6 multicast group globally Step Command Remarks Enter system view.
Step Command Remarks Enable dropping unknown drop-unknown Disabled by default IPv6 multicast data. Configuring MLD report suppression When a Layer 2 switch receives an MLD report from an IPv6 multicast group member, the Layer 2 switch forwards the message to the Layer 3 device that directly connects to the Layer 2 switch. When multiple members of an IPv6 multicast group are attached to the Layer 2 switch, the Layer 3 device might receive duplicate MLD reports for the IPv6 multicast group from these members.
Step Command Remarks • Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view: Enter Layer 2 Ethernet interface interface-type interface view, Layer 2 Use either command. interface-number aggregate interface view, port group view. • Enter port group view: port-group manual port-group-name Set the maximum number of...
Step Command Remarks • Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view: Enter Layer 2 Ethernet interface interface-type interface view, Layer 2 Use either command. interface-number aggregate interface view, or port group view. • Enter port group view: port-group manual port-group-name Enable IPv6 multicast group...
is found, the user is allowed to join the multicast group. Otherwise, the join report is dropped by the access switch. After receiving a done message from a host, the access switch matches the IPv6 multicast group • address and source address against the policies. If a match is found, the host is allowed to leave the group.
Setting the DSCP value for MLD messages IPv6 uses an eight-bit Traffic class field (called ToS in IPv4) to 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.
Task Command Remarks Clear statistics for the MLD messages learned through MLD reset mld-snooping statistics Available in user view. snooping. MLD snooping configuration examples IPv6 group policy and simulated joining configuration example Network requirements As shown in Figure 24, MLDv1 runs on Router A, MLDv1 snooping required on Switch A, and Router A acts as the MLD querier on the subnet.
Page 85
[RouterA-Ethernet1/0/1] pim ipv6 dm [RouterA-Ethernet1/0/1] quit [RouterA] interface ethernet 1/0/2 [RouterA-Ethernet1/0/2] pim ipv6 dm [RouterA-Ethernet1/0/2] quit Configure Switch A: # Enable MLD snooping and the function of dropping IPv6 unknown multicast traffic globally. <SwitchA> system-view [SwitchA] mld-snooping [SwitchA-mld-snooping] drop-unknown [SwitchA-mld-snooping] quit # Create VLAN 100, assign Ethernet 1/0/1 through Ethernet 1/0/4 to this VLAN, and enable MLD snooping in the VLAN.
IP group(s):the following ip group(s) match to one mac group. IP group address:FF1E::101 (::, FF1E::101): Attribute: Host Port Host port(s):total 2 port(s). Eth1/0/3 (D) ( 00:03:23 ) Eth1/0/4 (D) ( 00:04:10 ) MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 2 port(s). Eth1/0/3 Eth1/0/4 The output shows that Ethernet 1/0/3 and Ethernet 1/0/4 of Switch A have joined IPv6 multicast group...
Page 87
Figure 25 Network diagram Configuration procedure Enable IPv6 forwarding and configure an IPv6 address and prefix length for each interface as Figure On Router A, enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLD on Ethernet 1/0/1. <RouterA>...
Page 88
[SwitchA-Ethernet1/0/3] mld-snooping static-router-port vlan 100 [SwitchA-Ethernet1/0/3] quit Configure Switch B: # Enable MLD snooping globally. <SwitchB> system-view [SwitchB] mld-snooping [SwitchB-mld-snooping] quit # Create VLAN 100, assign Ethernet 1/0/1 and Ethernet 1/0/2 to this VLAN, and enable MLD snooping in the VLAN. [SwitchB] vlan 100 [SwitchB-vlan100] port ethernet 1/0/1 ethernet 1/0/2 [SwitchB-vlan100] mld-snooping enable...
Eth1/0/3 IP group(s):the following ip group(s) match to one mac group. IP group address:FF1E::101 (::, FF1E::101): Attribute: Host Port Host port(s):total 1 port(s). Eth1/0/2 (D) ( 00:03:23 ) MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 1 port(s). Eth1/0/2 The output shows that Ethernet 1/0/3 of Switch A has become a static router port. # Display detailed MLD snooping group information in VLAN 100 on Switch C.
Page 90
MLDv1 runs on all the receivers and MLDv1 snooping runs on all the switches. Switch A, which is close to the multicast sources, is chosen as the MLD snooping querier. To prevent flooding of unknown multicast traffic within the VLAN, configure all the switches to drop unknown multicast data packets.
[SwitchB-mld-snooping] quit # Create VLAN 100, add Ethernet 1/0/1 through Ethernet 1/0/4 into VLAN 100. [SwitchB] vlan 100 [SwitchB-vlan100] port ethernet 1/0/1 to ethernet 1/0/4 # Enable the MLD snooping feature in VLAN 100. [SwitchB-vlan100] mld-snooping enable [SwitchB-vlan100] quit 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.
Page 92
Figure 27 Network diagram Configuration procedure Configure an IP address and prefix length for each interface as per Figure 27. (Details not shown.) On Router A, enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLD on port Ethernet 1/0/1. <RouterA>...
Page 93
display mld group command to display information about MLD snooping groups and MLD multicast 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). Total 1 MAC Group(s). Port flags: D-Dynamic port, S-Static port, C-Copy port Vlan(id):100.
Vlan(id):100. Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 1 port(s). Eth1/0/1 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). Eth1/0/3 MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 1 port(s).
Page 95
# Create VLAN 101 through VLAN 104 and assign Ethernet 1/0/1 through Ethernet 1/0/4 to the four VLANs respectively. <SwitchA> system-view [SwitchA] vlan 101 [SwitchA-vlan101] port ethernet 1/0/1 [SwitchA-vlan101] quit [SwitchA] vlan 102 [SwitchA-vlan102] port ethernet 1/0/2 [SwitchA-vlan102] quit [SwitchA] vlan 103 [SwitchA-vlan103] port ethernet 1/0/3 [SwitchA-vlan103] quit [SwitchA] vlan 104...
Page 96
# Create RADIUS scheme scheme1; set the service type for the RADIUS server to extended; specify the IP addresses of the primary authentication/authorization server and accounting server as 3::1; set the shared keys to 123321; specify that no domain name is carried in a username sent to the RADIUS server.
Page 97
[SwitchB] user-profile profile2 enable # Create a RADIUS scheme scheme2; set the service type for the RADIUS server to extended; specify the IP addresses of the primary authentication/authorization server and accounting server as 3::1; set the shared keys to 321123; specify that a username sent to the RADIUS server carry no domain name.
Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 1 port(s). Eth1/0/1 (D) ( 00:01:30 ) IP group(s):the following ip group(s) match to one mac group. IP group address:FF1E::101 (::, FF1E::101): Attribute: Host Port Host port(s):total 1 port(s). Eth1/0/3 (D) ( 00:04:10 ) MAC group(s): MAC group address:3333-0000-0101...
Solution Use the display current-configuration command to display the running status of MLD snooping. If MLD snooping is not enabled, use the mld-snooping command to enable MLD snooping globally, and then use mld-snooping enable command to enable MLD snooping in VLAN view. If MLD snooping is disabled only for the corresponding VLAN, use the mld-snooping enable command in VLAN view to enable MLD snooping in the corresponding VLAN.
Configuring IPv6 multicast VLANs (available only on the HP 3100 v2 EI) Overview As shown in Figure 29, in the traditional IPv6 multicast programs-on-demand mode, when hosts (Host A, Host B, and Host C), which belong to different VLANs, require IPv6 multicast programs on demand 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 A.
Figure 30 Port-based IPv6 multicast VLAN IPv6 Multicast packets VLAN 2 VLAN 10 (IPv6 Multicast VLAN) Receiver Host A VLAN 3 Eth1/0/2 Receiver Host B Eth1/0/1 Eth1/0/3 Router A Switch A Source Eth1/0/4 MLD querier VLAN 4 Receiver Host C After the configuration, if Switch A receives an MLD message on a user port, it tags the message with the IPv6 multicast VLAN ID and relays it to the MLD querier, so that MLD snooping can uniformly manage the router ports and member ports in the IPv6 multicast VLAN.
Create VLANs as required. • • Enable MLD snooping in the VLAN to be configured as an IPv6 multicast VLAN. Enable MLD snooping in all the user VLANs. • Configuring user port attributes First, configure the user ports as hybrid ports to permit packets of the specified user VLAN to pass and configure the user VLAN to which the user ports belong as the default VLAN.
Step Command Remarks Enter system view. system-view Configure the specified VLAN as an IPv6 multicast VLAN No IPv6 multicast VLAN multicast-vlan ipv6 vlan-id and enter IPv6 multicast configured by default. VLAN view. Configure the ports as By default, an IPv6 multicast member ports of the IPv6 port interface-list VLAN has no member ports.
Page 104
Figure 31 Network diagram Configuration procedure Enable IPv6 forwarding on each device, and configure the IPv6 address and address prefix for each interface as per Figure 31. (Details not shown.) On Router A, enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLD on the host-side interface Ethernet 1/0/2.
Page 105
# Configure Ethernet 1/0/2 as a hybrid port. Configure VLAN 2 as the default VLAN. Configure Ethernet 1/0/2 to permit packets of VLAN 2 to pass and untag the packets when forwarding them. [SwitchA] interface ethernet 1/0/2 [SwitchA-Ethernet1/0/2] port link-type hybrid [SwitchA-Ethernet1/0/2] port hybrid pvid vlan 2 [SwitchA-Ethernet1/0/2] port hybrid vlan 2 untagged [SwitchA-Ethernet1/0/2] port hybrid vlan 10 untagged...
Page 106
Eth1/0/4 MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 3 port(s). Eth1/0/2 Eth1/0/3 Eth1/0/4 The output shows that MLD snooping is maintaining router ports and member ports in VLAN 10.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.com/support Before contacting HP, collect the following information: Product model names and numbers • Technical support registration number (if applicable) • • Product serial numbers Error messages •...
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...
Page 109
Network topology icons Represents a generic network device, such as a router, switch, 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.
Index C D I M O R T Introduction to multicast,1 IPv6 multicast VLAN configuration examples,98 Configuring a port-based IPv6 multicast VLAN,96 IPv6 multicast VLAN configuration task list,96 Configuring a port-based multicast VLAN,52 Configuring an IGMP snooping policy,27 Configuring an MLD snooping policy,72 MLD snooping configuration examples,79...
Need help?
Do you have a question about the HP 3100-8 v2 and is the answer not in the manual?
Questions and answers