The peer rpd-policy export enable command enables the RPD export route-policy function in an address family.
The undo peer rpd-policy export enable command disables the RPD export route-policy function.
By default, the RPD export route-policy function is disabled.
Usage Scenario
To enable the RPD export route-policy function in an address family, run the peer rpd-policy export enable command. With the function, after the controller delivers an RPD route to the local device, the local device generates a dynamic route-policy based on the route and uses the policy as an export route-policy to filter and modify the routes advertised to the peer specified in the command.
Prerequisites
A BGP peer has been configured using the peer as-number command.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] peer 10.1.1.2 as-number 100 [*HUAWEI-bgp] ipv4-family unicast [*HUAWEI-bgp-af-ipv4] peer 10.1.1.2 rpd-policy export enable