43
# Create VLAN 100, and assign HundredGigE 1/0/1 through HundredGigE 1/0/4 to the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port hundredgige 1/0/1 to hundredgige 1/0/4
# Enable IGMP snooping and IGMP snooping proxying for the VLAN.
[SwitchA-vlan100] igmp-snooping enable
[SwitchA-vlan100] igmp-snooping proxy enable
[SwitchA-vlan100] quit
Verifying the configuration
# Send an IGMP report to join multicast group 224.1.1.1 from Host A and Host B. (Details not
shown.)
# Display information about dynamic IGMP snooping group entries on Switch A.
[SwitchA] display igmp-snooping group
Total 1 entries.
VLAN 100: Total 1 entries.
(0.0.0.0, 224.1.1.1)
Host ports (2 in total):
HGE1/0/3 (00:04:00)
HGE1/0/4 (00:04:04)
The output shows that HundredGigE1/0/1 and HundredGigE1/0/1 are member ports of multicast
group 224.1.1.1. Both Host A and Host B will receive multicast data for the group
# Display information about IGMP group entries on Router A.
[RouterA] display igmp group
IGMP groups in total: 1
HundredGigE1/0/1(10.1.1.1):
IGMP groups reported in total: 1
Group address Last reporter Uptime Expires
224.1.1.1 0.0.0.0 00:00:31 00:02:03
# Send an IGMP leave message to leave multicast group (224.1.1.1) from Host A. (Details not
shown.)
# Display IGMP snooping group membership information on Switch A.
[SwitchA] display igmp-snooping group
Total 1 entries.
VLAN 100: Total 1 entries.
(0.0.0.0, 224.1.1.1)
Host ports (1 in total):
HGE1/0/3 ( 00:01:23 )
The output shows that HundredGigE 1/0/4 (connected to Host A) has been deleted from the entry of
multicast group (224.1.1.1).
IGMP snooping configuration example (for VSIs)
Network requirements
As shown in
•
There are three sites in VPN
a
. They are connected through the VPLS network.