R3303-HP HSR6800 Routers IP Multicast Configuration Guide
33
2. Configure Router B:
# Enable IGMP snooping globally.
<RouterB> system-view
[RouterB] igmp-snooping
[RouterB-igmp-snooping] quit
# Create VLAN 2 and assign GigabitEthernet 2/0/2 to this VLAN.
[RouterB] vlan 2
[RouterB-vlan2] port gigabitethernet 2/0/2
[RouterB-vlan2] quit
# Create VLAN 3 and assign GigabitEthernet 2/0/3 to this VLAN.
[RouterB] vlan 3
[RouterB-vlan3] port gigabitethernet 2/0/3
[RouterB-vlan3] quit
# Create VLAN 4 and assign GigabitEthernet 2/0/4 to this VLAN.
[RouterB] vlan 4
[RouterB-vlan4] port gigabitethernet 2/0/4
[RouterB-vlan4] quit
# Create VLAN 10 and enable IGMP snooping in this VLAN.
[RouterB] vlan 10
[RouterB-vlan10] igmp-snooping enable
[RouterB-vlan10] quit
# Configure GigabitEthernet 2/0/1 as a hybrid port , assign the interface to VLAN 10, and
configure the interface to send packets from VLAN 10 with tags.
[RouterB] interface gigabitethernet 2/0/1
[RouterB-gigabitethernet2/0/1] port link-type hybrid
[RouterB-gigabitethernet2/0/1] port hybrid vlan 10 tagged
[RouterB-gigabitethernet2/0/1] quit
# Configure VLAN 10 as a multicast VLAN and configure VLAN 2 through VLAN 4 as sub-VLANs
of this multicast VLAN.
[RouterB] multicast-vlan 10
[RouterB-mvlan-10] subvlan 2 to 4
[RouterB-mvlan-10] quit
3. Verify the configuration:
# Display information about the multicast VLAN on Router B.
[RouterB] display multicast-vlan
Total 1 multicast-vlan(s)
Multicast vlan 10
subvlan list:
vlan 2-4
port list:
no port
# Display IGMP snooping multicast group information on Router B.
[RouterB] display igmp-snooping group
Total 4 IP Group(s).
Total 4 IP Source(s).