beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 422

background image

407

[SwitchA] interface vlan-interface 101

[SwitchA-Vlan-interface101] pim ipv6 sm

[SwitchA-Vlan-interface101] quit

[SwitchA] interface vlan-interface 102

[SwitchA-Vlan-interface102] pim ipv6 sm

[SwitchA-Vlan-interface102] quit

The configuration on Switch B and Switch C is similar to that on Switch A. The configuration on Switch D
and Switch E is also similar to that on Switch A except that it is not necessary to enable MLD on the

corresponding interfaces on these two switches.

3.

Configure a C-BSR and a C-RP.

# On Switch D, configure the service scope of RP advertisements, specify a C-BSR and a C-RP, and set the

hash mask length to 128 and the priority of the C-BSR to 10.

system-view

[SwitchD] acl ipv6 number 2005

[SwitchD-acl6-basic-2005] rule permit source ff0e::101 64

[SwitchD-acl6-basic-2005] quit

[SwitchD] pim ipv6

[SwitchD-pim6] c-bsr 4002::1 128 10

[SwitchD-pim6] c-rp 4002::1 group-policy 2005

[SwitchD-pim6] quit

# On Switch E, configure the service scope of RP advertisements, specify a C-BSR and a C-RP, and set the
hash mask length to 128 and the priority of the C-BSR to 20.

system-view

[SwitchE] acl ipv6 number 2005

[SwitchE-acl6-basic-2005] rule permit source ff0e::101 64

[SwitchE-acl6-basic-2005] quit

[SwitchE] pim ipv6

[SwitchE-pim6] c-bsr 1003::2 128 20

[SwitchE-pim6] c-rp 1003::2 group-policy 2005

[SwitchE-pim6] quit

4.

Verify the configuration.

Use the display pim ipv6 interface command to view the IPv6 PIM configuration and running status on

each interface. For example:
# View the IPv6 PIM information on all interfaces of Switch A.

[SwitchA] display pim ipv6 interface

Interface NbrCnt HelloInt DR-Pri DR-Address

Vlan100 0 30 1 1001::1

(local)

Vlan101 1 30 1 1002::2

Vlan102 1 30 1 1003::2

To view the BSR election information and the locally configured C-RP information in effect on a switch, use
the display pim ipv6 bsr-info command. For example:
# View the BSR information and the locally configured C-RP information in effect on Switch A.

[SwitchA] display pim ipv6 bsr-info

Elected BSR Address: 1003::2

Priority: 20