static-rp(IPv6)

Function

The static-rp command configures a static rendezvous point (RP).

The undo static-rp command deletes the configured static RP.

By default, no static RP is configured.

Format

static-rp rp-address [ basic-acl6-number | acl6-name acl6-name ] [ preferred ]

undo static-rp rp-address

Parameters

Parameter Description Value
rp-address

Specifies a static RP address.

The value must be a valid global IPv6 unicast address.

basic-acl6-number

Specifies the number of a basic IPv6 ACL that defines the range of multicast groups served by a static RP.

The value is an integer ranging from 2000 to 2999.

acl6-name acl6-name

Specifies the name of a named basic IPv6 ACL.

The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive).

preferred

Indicates that a static RP is preferred.

If this parameter is not specified, the RP elected through the BSR mechanism is preferred.

Views

IPv6 PIM view, VPN instance IPv6 PIM view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pim write

Usage Guidelines

Usage Scenario

When only one RP exists on a network, you can run the static-rp command to configure a static RP. Compared with dynamic RP election using the bootstrap router (BSR) mechanism, the static RP mechanism can reduce bandwidth occupied by messages exchanged between candidate-rendezvous points (C-RPs) and the BSR. To make the static RP work properly, you must run the static-rp command on all Routers in the PIM-SM domain.

Prerequisites

IPv6 PIM has been enabled and the IPv6 PIM instance view has been displayed using the command.

Configuration Impact

In PIM-SM, if the static RP address is the address of an interface in the Up state on a router, the router acts as the static RP. PIM does not need to be enabled on the interface of the static RP.

If no IPv6 ACL is specified, or an IPv6 ACL is specified but no rule is configured for the IPv6 ACL, the configured static RP serves all multicast groups. If an IPv6 ACL is specified and rules are specified for the IPv6 ACL, the configured static RP serves only multicast groups permitted by the IPv6 ACL.

If preferred is specified, the router prefers the static RP. If preferred is not specified, the router prefers the RP elected using the BSR mechanism. If no BSR RP is configured on the network or the dynamically elected RP becomes invalid, the static RP takes effect.

A static RP is configured each time the static-rp command is run. If multiple static RPs are configured to serve the same group, the RP with the largest IP address is selected. If the IPv6 ACL for static RPs changes, re-select static RPs for all groups. If a same RP address is specified in the rp-address parameter, the latest configuration overrides the previous one.

Precautions

Up to 50 static RPs can be configured using the static-rp command, but a same IPv6 ACL can be applied to only one static RP. If an IPv6 ACL is not specified, only one static RP can be configured.

Example

# In the public network instance, specify the address 2001:db8:1::1 as a static RP address that serves groups permitted by the IPv6 ACL named myacl6. Configure the static RP to be used preferentially.
<HUAWEI> system-view
[~HUAWEI] multicast ipv6 routing-enable
[*HUAWEI] acl ipv6 name myacl6 basic
[*HUAWEI-acl6-basic-myacl6] rule permit source ff03::101 128
[*HUAWEI-acl6-basic-myacl6] quit
[*HUAWEI] pim-ipv6
[*HUAWEI-pim6] static-rp 2001:db8:1::1 acl6-name myacl6 preferred
# In the public network instance, specify the address 2001:db8:1::1 as a static RP address that serves groups permitted by the IPv6 ACL 2001. Configure the static RP to be used preferentially.
<HUAWEI> system-view
[~HUAWEI] multicast ipv6 routing-enable
[*HUAWEI] acl ipv6 number 2001
[*HUAWEI-acl6-basic-2001] quit
[*HUAWEI] pim-ipv6
[*HUAWEI-pim6] static-rp 2001:db8:1::1 2001 preferred
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >