beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 317

background image

302

# Enable IPv6 multicast routing, enable IPv6 PIM-SM on each interface, and enable MLD on

GigabitEthernet 1/0/1.

system-view

[RouterC] multicast ipv6 routing-enable

[RouterC] interface gigabitethernet 1/0/1

[RouterC-GigabitEthernet1/0/1] pim ipv6 sm

[RouterC-GigabitEthernet1/0/1] mld enable

[RouterC-GigabitEthernet1/0/1] quit

[RouterC] interface gigabitethernet 1/0/2

[RouterC-GigabitEthernet1/0/2] pim ipv6 sm

5.

Configure Router D

The configuration on Router D is similar to that on Router C. (details not shown)

6.

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 IPv6 PIM snooping 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] pim-snooping ipv6 enable

[SwitchA-vlan100] quit

7.

Verify the configuration

# On Switch A, display the IPv6 PIM snooping neighbor information of VLAN 100.

[SwitchA] display pim-snooping ipv6 neighbor vlan 100

Total number of neighbors: 4

VLAN ID: 100

Total number of neighbors: 4

Neighbor Port Expires Option Flags

FE80::1 GE1/0/1 02:02:23 LAN Prune Delay

FE80::2 GE1/0/2 03:00:05 LAN Prune Delay

FE80::3 GE1/0/3 02:22:13 LAN Prune Delay

FE80::4 GE1/0/4 03:07:22 LAN Prune Delay

The output shows that Router A, Router B, Router C, and Router D are IPv6 PIM snooping neighbors.
# On Switch A, display the IPv6 PIM snooping routing information of VLAN 100.

[SwitchA] display pim-snooping ipv6 routing-table vlan 100 slot 1

Total 2 entry(ies)

FSM Flag: NI-no info, J-join, PP-prune pending

VLAN ID: 100

Total 2 entry(ies)

(*, FF1E::101)

Upstream neighbor: FE80::1