H3C Technologies H3C S10500 Series Switches User Manual

Page 300

Advertising
background image

285

<SwitchC> system-view

[SwitchC] mld-snooping

[SwitchC-mld-snooping] quit

# Create VLAN 100, assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/5 to this VLAN, and
enable MLD snooping in the VLAN.

[SwitchC] vlan 100

[SwitchC-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/5

[SwitchC-vlan100] mld-snooping enable

[SwitchC-vlan100] quit

# Configure GigabitEthernet 1/0/3 and GigabitEthernet 1/0/5 as static member ports for IPv6
multicast group FF1E::101.

[SwitchC] interface GigabitEthernet 1/0/3

[SwitchC-GigabitEthernet1/0/3] mld-snooping static-group ff1e::101 vlan 100

[SwitchC-GigabitEthernet1/0/3] quit

[SwitchC] interface GigabitEthernet 1/0/5

[SwitchC-GigabitEthernet1/0/5] mld-snooping static-group ff1e::101 vlan 100

[SwitchC-GigabitEthernet1/0/5] quit

6.

Verify the configuration

# Display the detailed MLD snooping group information in VLAN 100 on Switch A.

[SwitchA] display mld-snooping group vlan 100 verbose

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 unit board: Mask(0x04)

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

GE1/0/1 (D)

GE1/0/3 (S)

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

IP group address:FF1E::101

(::, FF1E::101):

Attribute: Host Board

Host port unit board: Mask(0x04)

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

GE1/0/2 (D)

MAC group(s):

MAC group address:3333-0000-0101

Host port unit board: Mask(0x04)

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

GE1/0/2
The output shows that GigabitEthernet 1/0/3 of Switch A has become a static router port.

Advertising