beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 328

background image

313

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

[SwitchB] vlan 3

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

[SwitchB-vlan3] mld-snooping enable

[SwitchB-vlan3] quit

# Configure GigabitEthernet 1/0/1 as a trunk port that permits packets from VLAN 2 and VLAN 3 to
pass through.

[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 required on Switch C are similar to those on Switch B.

6.

Verify the configuration

# Display information about the IPv6 multicast VLAN.

[SwitchA] display multicast-vlan ipv6

Total 1 IPv6 multicast-vlan(s)

IPv6 Multicast vlan 10

subvlan list:

vlan 2-5

port list:

no port

# View the MLD snooping IPv6 multicast group information on Switch A.

[SwitchA] display mld-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:FF1E::101

(::, FF1E::101):

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

GE1/0/2 (D)

MAC group(s):

MAC group address:3333-0000-0101

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

GE1/0/2

Vlan(id):3.

Total 1 IP Group(s).

Total 1 IP Source(s).

Total 1 MAC Group(s).

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