H3C Technologies H3C S7500E Series Switches User Manual

Page 80

Advertising
background image

3-9

[SwitchA-igmp-snooping] quit

# Create VLAN 2 and assign GigabitEthernet 2/0/2 to this VLAN.

[SwitchA] vlan 2

[SwitchA-vlan2] port gigabitethernet 2/0/2

[SwitchA-vlan2] quit

The configuration for VLAN 3 and VLAN 4 is similar to the configuration for VLAN 2.

# Create VLAN 10, assign GigabitEthernet 2/0/1 to this VLAN and enable IGMP Snooping in the

VLAN.

[SwitchA] vlan 10

[SwitchA-vlan10] port gigabitethernet 2/0/1

[SwitchA-vlan10] igmp-snooping enable

[SwitchA-vlan10] quit

# Configure VLAN 10 as a multicast VLAN and configure VLAN 2 through VLAN 4 as its

sub-VLANs.

[SwitchA] multicast-vlan 10

[SwitchA-mvlan-10] subvlan 2 to 4

[SwitchA-mvlan-10] quit

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

port list:

no port

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

[SwitchA] display igmp-snooping group

Total 4 IP Group(s).

Total 4 IP Source(s).

Total 4 MAC Group(s).

Port flags: D-Dynamic port, S-Static port, C-Copy 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.

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.

GE2/0/2 (D)

MAC group(s):

MAC group address:0100-5e01-0101

Host port(s):total 1 port.

Advertising