H3C Technologies H3C S7500E Series Switches User Manual

Page 394

Advertising
background image

13-43

[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.

<SwitchD> 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.

<SwitchE> 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

Hash mask length: 128

State: Accept Preferred

Uptime: 00:04:22

Advertising