< Home

static-rp (IPv6)

Function

The static-rp command configures a static RP.

The undo static-rp command restores the default configuration.

By default, no static RP is configured.

Format

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

undo static-rp rp-address

Parameters

Parameter Description Value
rp-address Specifies address of a static RP. The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.
basic-acl6-number Specifies the basic ACL that is used to control the range of multicast groups served by a static RP. The value is an integer that ranges from 2000 to 2999.
preferred Indicates that the static RP is preferred. -

Views

PIM-IPv6 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When only one RP exists in the network, you can manually configure a static RP rather than a dynamic RP. This can reduce bandwidth used to exchange information between the C-RP and the BSR.

Prerequisites

IPv6 multicast routing has been enabled globally using the multicast ipv6 routing-enable command in the system view.

Configuration Impact

If the address of the static RP is the address of an interface in the Up state on the local host, the local host acts as the static RP. PIM (IPv6) does not need to be enabled on the interface of the static RP.

If no ACL number is specified in the command, the static RP serves all the multicast groups. If an ACL is specified but the ACL does not contain any rules, the static RP serves all the multicast groups. If the specified ACL has rules configured, the static RP serves only the multicast groups permitted by the ACL.

If the command used to configure the static RP does not contain preferred, devices apply BSR mechanism to elect a dynamic RP. If the dynamic RP is not configured in the network or the dynamic RP is invalid, the static RP becomes valid. If the command used to configure static RP contains preferred, the static RP is preferred.

If this command is used many times, multiple static RPs are configured. In the case that multiple static RPs serve a group, the RP with the largest IPv6 address is selected to serve the group. If rp-address of the RPs is identical, the latest RP replaces the previous one.

Precautions

The static-rp command and the acl ipv6 command are used together. In the ACL6 view, when the rule command is used to configure a filtering rule, you can set the address range of multicast groups that are served by the static RP by specifying the source parameter in the rule command. The filtering rule is effective only with the source parameter and the time period specified by the time-range parameter.

Up to 50 static RPs can be configured by using this command repeatedly, but the same ACL cannot correspond to multiple static RPs. If the ACL is not referenced, only one static RP can be configured.

To make the static RP work normally, run the static-rp command on all devices in the PIM-SM (IPv6) domain.

Example

# Configure the switch with the address of FC00:0:0:1111::1111 as the static RP in the PIM-SM (IPv6) domain.

<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] pim-ipv6
[HUAWEI-pim6] static-rp fc00:0:0:1111::1111
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >