display pim c-rp

Use display pim c-rp to display C-RP information.

Syntax

display pim [ vpn-instance vpn-instance-name ] c-rp [ local ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays information about learned C-RPs on the public network.

local: Specifies local C-RPs. If you do not specify this keyword, the command displays information about all C-RPs.

Usage guidelines

You can view information about learned C-RPs only on the BSR. On other devices, you can view information about the locally configured C-RPs.

Examples

# Display information about learned C-RPs on the public network.

<Sysname> display pim c-rp
 Scope: non-scoped
     Group/MaskLen: 224.0.0.0/4
       C-RP address             Priority  HoldTime  Uptime    Expires
       1.1.1.1 (local)          192       150       03:01:36  00:02:29
       2.2.2.2                  192       150       1d:13h    00:02:02
     Group/MaskLen: 226.1.1.0/24 [B] Expires: 00:00:33
     Group/MaskLen: 225.1.0.0/16 [B]
       C-RP Address             Priority  HoldTime  Uptime    Expires
       3.3.3.3                  192       150       12w:5d    00:02:05

# Display information about the locally configured C-RPs.

<Sysname> display pim c-rp local
 Candidate RP: 12.12.12.9(Loop1)
     Priority: 192
     HoldTime: 150
     Advertisement interval: 60
     Next advertisement scheduled at: 00:00:48

Table 42: Command output

Field

Description

Group/MaskLen

Multicast group to which the C-RP is designated.

[B]

BIDIR-PIM C-RP.

This field is not displayed if the C-RP is a PIM-SM C-RP.

C-RP address

IP address of the C-RP. If the C-RP resides on the device where the command is executed, this field displays (local) after the address.

Priority

Priority of the C-RP.

HoldTime

Lifetime of the C-RP.

Uptime

Length of time the C-RP has been up:

  • w—Weeks.

  • d—Days.

  • h—Hours.

Expires

Remaining lifetime for the C-RP and the multicast group.

Candidate RP

IP address of the locally configured C-RP.

Advertisement interval

Interval between two advertisement messages sent by the locally configured C-RP.

Next advertisement scheduled at

Remaining time for the locally configured C-RP to send the next advertisement message.