beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 86

background image

71

[SwitchB] vlan 2

[SwitchB-vlan2] port gigabitethernet 1/0/2

[SwitchB-vlan2] igmp-snooping enable

[SwitchB-vlan2] quit

# Create VLAN 3, assign GigabitEthernet 1/0/3 to VLAN 3, and enable IGMP snooping in the VLAN.

[SwitchB] vlan 3

[SwitchB-vlan3] port gigabitethernet 1/0/3

[SwitchB-vlan3] igmp-snooping enable

[SwitchB-vlan3] quit

# Configure GigabitEthernet 1/0/1 as a trunk port, and assign it to VLAN 2 and VLAN 3.

[SwitchB] interface gigabitethernet 1/0/1

[SwitchB-GigabitEthernet1/0/1] port link-type trunk

[SwitchB-GigabitEthernet1/0/1] port trunk permit vlan 2 3

5.

Configure Switch C

The configurations on Switch C are similar to those on Switch B.

6.

Verify the configuration

# Display information about the multicast VLAN.

[SwitchA] display multicast-vlan

Total 1 multicast-vlan(s)

Multicast vlan 10

subvlan list:

vlan 2-5

port list:

no port

# View the IGMP snooping multicast group information on Switch A.

[SwitchA] display igmp-snooping group

Total 5 IP Group(s).

Total 5 IP Source(s).

Total 5 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):2.

Total 1 IP Group(s).

Total 1 IP Source(s).

Total 1 MAC Group(s).

Router port(s):total 0 port(s).

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

GE1/0/2 (D)

MAC group(s):

MAC group address:0100-5e01-0101

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