Configuration procedure, Configure switch a # enable mld snooping globally – H3C Technologies H3C S3100V2 Series Switches User Manual

Page 90

Advertising
background image

82

Figure 25 Network diagram for static port configuration

Source

1::1/64

Router A

MLD querier

Eth1/0/1
2001::1/64

Switch A

Switch B

Switch C

Eth1/0/1

Et

h1

/0/

2

Eth

1/0

/3

Et

h1

/0/

1

Eth1/0/2

Eth

1/0

/1

Eth

1/0/2

Eth

1/0

/3

Eth1

/0/4

Et

h1

/0/

5

Host A

Receiver

Host B

Host C

Receiver

VLAN 100

Eth1/0/2

1::2/64

Configuration procedure

1.

Enable IPv6 forwarding and configure IPv6 addresses

Enable IPv6 forwarding and configure an IPv6 address and prefix length for each interface according to

Figure 25

.

2.

Configure Router A

# Enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLD on Ethernet
1/0/1.

<RouterA> system-view

[RouterA] multicast ipv6 routing-enable

[RouterA] interface ethernet 1/0/1

[RouterA-Ethernet1/0/1] mld enable

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

[RouterA-Ethernet1/0/1] quit

[RouterA] interface ethernet 1/0/2

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

[RouterA-Ethernet1/0/2] quit

3.

Configure Switch A

# Enable MLD snooping globally.

<SwitchA> system-view

[SwitchA] mld-snooping

[SwitchA-mld-snooping] quit

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

[SwitchA] vlan 100

[SwitchA-vlan100] port ethernet 1/0/1 to ethernet 1/0/3

[SwitchA-vlan100] mld-snooping enable

Advertising