| Parameter | Description | Value |
|---|---|---|
| route-policy-name | Specifies the name of the route-policy to be displayed. If route-policy-name is not specified, all the configured route-policies are displayed. | The name must be unique and is a string of 1 to 40 characters. It is case-sensitive. |
The display route-policy command is used to display information about a configured route-policy, including if-match and apply clauses of all nodes and the number of times that a route matches a node.
If different route-policies are used to control next hop changes of different BGP routes, the display route-policy command can be used to check the number of times that a route-policy node is matched by routes. This helps to deploy new devices on a network.
# Display the route-policy named policy1.
<sysname> display route-policy policy1
Route-policy : policy1
permit : 10 (matched counts: 2)
Match clauses :
if-match acl 2000
Apply clauses :
apply cost 100
apply tag 100
Item |
Description |
|---|---|
Route-policy |
Name of the route-policy |
permit : 10 |
Matching mode and node index of the route-policy |
matched counts: 2 |
Number of times that a route-policy node is matched by routes |
Match clauses |
Matching condition list |
Apply clauses |
Apply clause list |