H3C Technologies H3C S7500E Series Switches User Manual
Page 309
10-13
[SwitchA-vlan2] mld-snooping enable
[SwitchA-vlan2] quit
The configuration for VLAN 3 and VLAN 4 is similar. The detailed configuration steps are
omitted.
# Configure GigabitEthernet 2/0/2 as a hybrid port. Configure VLAN 2 as the default VLAN.
Configue GigabitEthernet 2/0/2 to permit packets of VLAN 2 to pass and untag the packets
when forwarding them.
[SwitchA] interface gigabitethernet 2/0/2
[SwitchA-GigabitEthernet2/0/2] port link-type hybrid
[SwitchA-GigabitEthernet2/0/2] port hybrid pvid vlan 2
[SwitchA-GigabitEthernet2/0/2] port hybrid vlan 2 untagged
[SwitchA-GigabitEthernet2/0/2] port hybrid vlan 10 untagged
[SwitchA-GigabitEthernet2/0/2] quit
The configuration for GigabitEthernet 2/0/3 and GigabitEthernet 2/0/4 is similar. The detailed
configuration steps are omitted.
# Configure VLAN 10 as an IPv6 multicast VLAN.
[SwitchA] multicast-vlan ipv6 10
# Assign GigabitEthernet 2/0/2 and GigabitEthernet 2/0/3 to IPv6 multicast VLAN 10.
[SwitchA-ipv6-mvlan-10] port gigabitethernet 2/0/2 to gigabitethernet 2/0/3
[SwitchA-ipv6-mvlan-10] quit
# Assign GigabitEthernet 2/0/4 to IPv6 multicast VLAN 10.
[SwitchA] interface gigabitethernet 2/0/4
[SwitchA-GigabitEthernet2/0/4] port multicast-vlan ipv6 10
[SwitchA-GigabitEthernet2/0/4] quit
4) Verify
the
configuration
# View the IPv6 multicast VLAN information on Switch A.
[SwitchA] display multicast-vlan ipv6
Total 1 IPv6 multicast-vlan(s)
IPv6 Multicast vlan 10
subvlan list:
no subvlan
port list:
GE2/0/2 GE2/0/3 GE2/0/4
# View the MLD Snooping multicast group information on Switch A.
[SwitchA] display mld-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
Subvlan flags: R-Real VLAN, C-Copy VLAN
Vlan(id):10.
Total 1 IP Group(s).
Total 1 IP Source(s).
Total 1 MAC Group(s).
Router port(s):total 1 port.