Verifying the configuration – H3C Technologies H3C S12500 Series Switches User Manual

Page 50

Advertising
background image

34

# Configure a multicast group filter so that the hosts in VLAN 100 can join only the multicast group

224.1.1.1.

[DeviceA] acl number 2001

[DeviceA-acl-basic-2001] rule permit source 224.1.1.1 0

[DeviceA-acl-basic-2001] quit

[DeviceA] igmp-snooping

[DeviceA-igmp-snooping] group-policy 2001 vlan 100

[DeviceA-igmp-snooping] quit

# Configure GigabitEthernet 3/0/3 and GigabitEthernet 3/0/4 as simulated hosts for multicast
group 224.1.1.1.

[DeviceA] interface GigabitEthernet 3/0/3

[DeviceA-GigabitEthernet3/0/3] igmp-snooping host-join 224.1.1.1 vlan 100

[DeviceA-GigabitEthernet3/0/3] quit

[DeviceA] interface GigabitEthernet 3/0/4

[DeviceA-GigabitEthernet3/0/4] igmp-snooping host-join 224.1.1.1 vlan 100

[DeviceA-GigabitEthernet3/0/4] quit

Verifying the configuration

# Display detailed IGMP snooping group information in VLAN 100 on Device A.

[DeviceA] display igmp-snooping group vlan 100 verbose

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(s).

GE3/0/1 (D)

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):

Attribute: Host Port

Host port(s):total 2 port(s).

GE3/0/3 (D)

GE3/0/4 (D)

MAC group(s):

MAC group address:0100-5e01-0101

Host port(s):total 2 port(s).

GE3/0/3

GE3/0/4

The output shows that GigabitEthernet 3/0/3 and GigabitEthernet 3/0/4 of Device A has joined

multicast group 224.1.1.1.

Advertising