beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 63

background image

48

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 port GigabitEthernet 1/0/1 (a

router port) to Router A.
Use the display igmp-snooping group command and the display igmp group command to display

information about IGMP snooping groups and IGMP multicast groups. For example:
# Display information about IGMP snooping groups on Switch A.

[SwitchA] display igmp-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 flags: R-Real VLAN, C-Copy VLAN

Vlan(id):100.

Total 1 IP Group(s).

Total 1 IP Source(s).

Total 1 MAC Group(s).

Router port(s):total 1 port.

GE1/0/1 (D) ( 00:01:23 )

IP group(s):the following ip group(s) match to one mac group.

IP group address:224.1.1.1

(0.0.0.0, 224.1.1.1):

Host port(s):total 2 port.

GE1/0/3 (D)

GE1/0/4 (D)

MAC group(s):

MAC group address:0100-5e01-0101

Host port(s):total 2 port.

GE1/0/3

GE1/0/4

# Display information about IGMP multicast groups on Router A.

[RouterA] display igmp group

Total 1 IGMP Group(s).

Interface group report information of VPN-Instance: public net

GigabitEthernet1/0/1(10.1.1.1):

Total 1 IGMP Group reported

Group Address Last Reporter Uptime Expires

224.1.1.1 0.0.0.0 00:00:06 00:02:04

When Host A leaves the multicast group, it sends an IGMP leave message to Switch A. Receiving the
message, Switch A removes port GigabitEthernet 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. Use the display igmp-snooping group command to display

information about IGMP snooping groups. For example:
# Display information about IGMP snooping groups on Switch A.

[SwitchA] display igmp-snooping group

Total 1 IP Group(s).

Total 1 IP Source(s).