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

Page 344

Advertising
background image

328

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

VLAN.

[SwitchB] vlan 3

[SwitchB-vlan3] port GigabitEthernet 3/0/3

[SwitchB-vlan3] mld-snooping enable

[SwitchB-vlan3] quit

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

[SwitchB] interface GigabitEthernet 3/0/1

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

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

5.

Configure Switch C in the same way as you configure Switch B. (Details not shown.)

Verifying 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

# Display 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).

GE3/0/2 (D)

MAC group(s):

MAC group address:3333-0000-0101

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

GE3/0/2

Vlan(id):3.

Total 1 IP Group(s).

Total 1 IP Source(s).

Total 1 MAC Group(s).

Advertising