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

Page 328

Advertising
background image

312

# Create VLAN 100, assign ports GigabitEthernet 3/0/1 through GigabitEthernet 3/0/4 to this

VLAN, and enable MLD snooping and MLD snooping proxying in the VLAN.

[SwitchA] vlan 100

[SwitchA-vlan100] port Gigabitethernet 3/0/1 to Gigabitethernet 3/0/4

[SwitchA-vlan100] mld-snooping enable

[SwitchA-vlan100] mld-snooping proxying enable

[SwitchA-vlan100] quit

Verifying the configuration

After the configuration is completed, Host A and Host B send MLD join messages addressed to
group FF1E::101. When receiving the messages, Switch A sends a join message for the group out

of port GigabitEthernet 3/0/1 (a router port) to Router A. Use the display mld-snooping group

command and the display mld group command to display information about MLD snooping

groups and MLD multicast groups. For example:
# Display information about MLD snooping groups 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, P-PIM port

Subvlan flags: R-Real VLAN, C-Copy VLAN

Vlan(id):100.

Total 1 IP Group(s).

Total 1 IP Source(s).

Total 1 MAC Group(s).

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

GE3/0/1 (D)

IP group(s):the following ip group(s) match to one mac group.

IP group address:FF1E::101

(::, FF1E::101):

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

GE3/0/3 (D)

GE3/0/4 (D)

MAC group(s):

MAC group address:3333-0000-0101

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

GE3/0/3

GE3/0/4

# Display information about MLD multicast groups on Router A.

[RouterA] display mld group

Total 1 MLD Group(s).

Interface group report information

GigabitEthernet3/1/1(2001::1):

Total 1 MLD Group reported

Group Address: FF1E::1

Last Reporter: FE80::2FF:FFFF:FE00:1

Uptime: 00:00:03

Advertising