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

Page 426

Advertising
background image

410

[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

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 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:
# Display 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

Expires: 00:01:46

# Display the BSR information and the locally configured C-RP information in effect on Switch D.

[SwitchD] display pim ipv6 bsr-info

Elected BSR Address: 1003::2

Priority: 20

Hash mask length: 128

State: Elected

Uptime: 00:05:26

Expires: 00:01:45

Candidate BSR Address: 4002::1

Priority: 10

Hash mask length: 128

State: Candidate

Advertising