The static-rpf-peer command configures an MSDP peer as a static RPF peer. The SA messages sent by the static RPF peer do not require RPF checks.
The undo static-rpf-peer command restores the default configuration.
By default, no MSDP peer is configured as a static RPF peer.
Parameter | Description | Value |
---|---|---|
peer-address | Specifies the address of a static RPF peer. | The value is in dotted decimal notation. |
rp-policy ip-prefix-name | Specifies the filtering policy that is used to filter SA messages based on RP addresses. ip ip-prefix specifies the name of the filtering policy. | The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
To prevent SA messages from being circularly forwarded between MSDP peers, MSDP performs the RPF check on the received SA message. MSDP strictly controls the incoming SA messages. The SA messages that do not comply with the RPF rules are discarded.
To protect the SA messages transmitted between MSDP peers from being discarded in RPF checks and reduce redundant traffic, you can specify MSDP peers as static RPF peers. The SA messages received from a static RPF peer do not need to be checked according to RPF rules.
Prerequisites
The MSDP peer relationship has been established between the switch and a specified RPF peer using the peer connect-interface (MSDP) command.
Configuration Impact
You can specify multiple remote static RPF peers for the switch using the static-rpf-peer peer-address command repeatedly.
Precautions
When you specify multiple static RPF peers for the switch, pay attention to the following points:
All the peers are configured with rp-policy
When SA messages sent by a static RPF peer in the active state reaches the local switch, the local switch filters the SA messages according to specified rp-policy on the peers, and receives only the SA messages that pass the filter.
None of the peers is configured with rp-policy
The local switch receives all the SA messages from the static RPF peers in the active state.
# Configure 192.168.3.2 as a static RPF peer, with the source RP address range of 192.168.0.0/16.
<HUAWEI> system-view [HUAWEI] ip ip-prefix list-df permit 192.168.0.0 16 greater-equal 16 less-equal 32 [HUAWEI] multicast routing-enable [HUAWEI] msdp [HUAWEI-msdp] peer 192.168.3.2 connect-interface vlanif 100 [HUAWEI-msdp] static-rpf-peer 192.168.3.2 rp-policy list-df