The display bgp peer rpd export-policy command displays information about RPD route-policies.
Usage Scenario
After the controller delivers an RPD route to a device, each protocol running on the device generates a corresponding RPD route-policy based on the RPD route and filters and modifies the routes advertised to a specified peer according to the route-policy. To view information about RPD route-policies, run the display bgp peer rpd export-policy command.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp peer 10.1.1.1 rpd export-policy
permit: 1
Match clauses:
if-match ip-prefix 0.0.0.0/24 match-network
if-match ip-prefix 1.1.1.0/24 ge 24 le 26
if-match ip-prefix 2.2.2.0/24 ge 25 le 26
if-match ip-prefix 3.3.3.0/24 ge 28 le 32
if-match community internet
if-match community no-advertise
if-match community no-export
if-match community no-export-subconfed
if-match community 6000:8000
if-match community 100:0
if-match community 123 234 2342 35:48582
if-match as-path 1$ 2# 3% 4&
if-match as-path 5& 6*
Apply clauses:
apply as-path 123 23234 35.51474 35.48583 3.37626 additive
apply cost - 30
apply community 100 1:1
Item | Description |
---|---|
permit: 1 | Matching mode and node ID. |
Match clauses | List of if-match clauses. |
Apply clauses | List of apply clauses. |