HP 6125XLG R2306-HP 6125XLG Blade Switch IP Multicast Configuration Guide - Page 34
Verifying the configuration, Create VLAN 100
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 34 highlights
[RouterA] multicast routing-enable [RouterA] interface ten-gigabitethernet 1/1/5 [RouterA-Ten-GigabitEthernet1/1/5] igmp enable [RouterA-Ten-GigabitEthernet1/1/5] pim dm [RouterA-Ten-GigabitEthernet1/1/5] quit [RouterA] interface ten-gigabitethernet 1/1/6 [RouterA-Ten-GigabitEthernet1/1/6] pim dm [RouterA-Ten-GigabitEthernet1/1/6] quit 3. Configure Switch A: # Enable IGMP snooping globally. system-view [SwitchA] igmp-snooping [SwitchA-igmp-snooping] quit # Create VLAN 100, assign Ten-GigabitEthernet 1/1/5 through Ten-GigabitEthernet 1/1/8 to the VLAN, and enable IGMP snooping and the function of dropping unknown multicast data for the VLAN. [SwitchA] vlan 100 [SwitchA-vlan100] port ten-gigabitethernet 1/1/5 to ten-gigabitethernet 1/1/8 [SwitchA-vlan100] igmp-snooping enable [SwitchA-vlan100] igmp-snooping drop-unknown [SwitchA-vlan100] quit # Configure a multicast group filter so that the hosts in VLAN 100 can join only the multicast group 224.1.1.1. [SwitchA] acl number 2001 [SwitchA-acl-basic-2001] rule permit source 224.1.1.1 0 [SwitchA-acl-basic-2001] quit [SwitchA] igmp-snooping [SwitchA-igmp-snooping] group-policy 2001 vlan 100 [SwitchA-igmp-snooping] quit Verifying the configuration Assume that Host A and Host B want to join the multicast groups 224.1.1.1 and 224.2.2.2 to receive the multicast data from the multicast source. # Display information about the dynamic IGMP snooping forwarding entries in VLAN 100 on Switch A. [SwitchA] display igmp-snooping group vlan 100 Total 1 entries. VLAN 100: Total 1 entries. (0.0.0.0, 224.1.1.1) Host slots (0 in total): Host ports (2 in total): XGE1/1/7 (00:03:23) XGE1/1/8 (00:04:10) The output shows that Host A and Host B have joined the multicast group 224.1.1.1(through the member ports Ten-GigabitEthernet 1/1/8 and Ten-GigabitEthernet 1/1/7 on Switch A), but the two hosts have failed to join the multicast group 224.2.2.2. 27