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

Page 422

Advertising
background image

406

<SwitchA> system-view

[SwitchA] multicast ipv6 routing-enable

[SwitchA] interface vlan-interface 100

[SwitchA-Vlan-interface100] mld enable

[SwitchA-Vlan-interface100] pim ipv6 dm

[SwitchA-Vlan-interface100] quit

[SwitchA] interface vlan-interface 103

[SwitchA-Vlan-interface103] pim ipv6 dm

[SwitchA-Vlan-interface103] quit

# Enable IPv6 multicast routing on Switch D, and enable IPv6 PIM-DM on each interface.

<SwitchD> system-view

[SwitchD] multicast ipv6 routing-enable

[SwitchD] interface vlan-interface 300

[SwitchD-Vlan-interface300] pim ipv6 dm

[SwitchD-Vlan-interface300] quit

[SwitchD] interface vlan-interface 103

[SwitchD-Vlan-interface103] pim ipv6 dm

[SwitchD-Vlan-interface103] quit

[SwitchD] interface vlan-interface 101

[SwitchD-Vlan-interface101] pim ipv6 dm

[SwitchD-Vlan-interface101] quit

[SwitchD] interface vlan-interface 102

[SwitchD-Vlan-interface102] pim ipv6 dm

[SwitchD-Vlan-interface102] quit

Verifying the configuration

Use the display pim ipv6 interface command to view the IPv6 PIM configuration and running status
on each interface. For example:
# Display the IPv6 PIM configuration information on Switch D.

[SwitchD] display pim ipv6 interface

Interface NbrCnt HelloInt DR-Pri DR-Address

Vlan300 0 30 1 4001::1

(local)

Vlan103 0 30 1 1002::2

(local)

Vlan101 1 30 1 2002::2

(local)

Vlan102 1 30 1 3001::2

(local)

Use the display pim ipv6 neighbor command to view the IPv6 PIM neighboring relationships

among the switches. For example:
# Display the IPv6 PIM neighboring relationships on Switch D.

[SwitchD] display pim ipv6 neighbor

Total Number of Neighbors = 3

Neighbor Interface Uptime Expires Dr-Priority

1002::1 Vlan103 00:04:00 00:01:29 1

2002::1 Vlan101 00:04:16 00:01:29 3

Advertising