display bgp peer rpd export-policy

Function

The display bgp peer rpd export-policy command displays information about RPD route-policies.

Format

display bgp peer ipv4-address rpd export-policy

Parameters

Parameter Description Value
peer ipv4-address

Displays information about the RPD route-policy that is applied to the routes advertised to a specified peer.

The value is an IPv4 address, in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

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.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the RPD route-policy that is applied to the routes advertised to the peer with IP address of 10.1.1.1.
<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
Table 1 Description of the display bgp peer rpd export-policy command output
Item Description
permit: 1

Matching mode and node ID.

Match clauses

List of if-match clauses.

Apply clauses

List of apply clauses.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >