peer capability-advertise route-policy-distribute

Function

The peer capability-advertise route-policy-distribute command enables Routing Policy Distribution (RPD) on a BGP device.

The undo peer capability-advertise route-policy-distribute command restores the default configuration.

By default, RPD is not enabled on a BGP device.

Format

peer ipv4-address capability-advertise route-policy-distribute receive

undo peer ipv4-address capability-advertise route-policy-distribute receive

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of a BGP peer.

The value is in dotted decimal notation.

receive

Converts received BGP FlowSpec routes to common IP routes if these BGP FlowSpec routes carry the RPD attribute.

-

Views

BGP-Flow address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In the RR+ solution, the controller delivers BGP FlowSpec routes that carry the RPD attribute to forwarders. Upon receipt, forwarders convert those that have only the destination IP address specified to common IP routes to guide traffic forwarding. This implementation allows traffic to travel along the optimal path determined by the controller.

To enable a BGP device serving as a forwarder to support the preceding scenario, run the peer capability-advertise route-policy-distribute receive command.

Example

# Enable RPD on a BGP device.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 4.4.4.4 as-number 200
[*HUAWEI-bgp] ipv4-family flow
[*HUAWEI-bgp-af-ipv4-flow] peer 4.4.4.4 enable
[*HUAWEI-bgp-af-ipv4-flow] peer 4.4.4.4 capability-advertise route-policy-distribute receive
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >