beautypg.com

Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 296

background image

281

Figure 70 Network diagram for IPv6 group policy simulated joining configuration

Source

Router A

MLD querier

Switch A

Receiver

Receiver

Host A

Host B

Host C

1::1/64

GE1/0/4

GE1/0/2

GE1/0/3

GE1/0/1

GE1/0/1
2001::1/64

GE1/0/2

1::2/64

VLAN 100

Configuration procedure

1.

Enable IPv6 forwarding and configure IPv6 addresses

Enable IPv6 forwarding and configure an IPv6 address and prefix length for each interface as per

Figure

70

. (details not shown)

2.

Configure Router A

# Enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLDv1 on

GigabitEthernet 1/0/1.

system-view

[RouterA] multicast ipv6 routing-enable

[RouterA] interface gigabitethernet 1/0/1

[RouterA-GigabitEthernet1/0/1] mld enable

[RouterA-GigabitEthernet1/0/1] pim ipv6 dm

[RouterA-GigabitEthernet1/0/1] quit

[RouterA] interface gigabitethernet 1/0/2

[RouterA-GigabitEthernet1/0/2] pim ipv6 dm

[RouterA-GigabitEthernet1/0/2] quit

3.

Configure Switch A

# Enable MLD snooping globally.

system-view

[SwitchA] mld-snooping

[SwitchA-mld-snooping] quit

# Create VLAN 100, assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/4 to this VLAN, and
enable MLD snooping and the function of dropping IPv6 unknown multicast traffic in the VLAN.

[SwitchA] vlan 100

[SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4

[SwitchA-vlan100] mld-snooping enable

[SwitchA-vlan100] mld-snooping drop-unknown

[SwitchA-vlan100] quit