H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration Commands
6-9
6.1.11 display route-policy
Syntax
display route-policy [ route-policy-name ]
View
Any view
Parameters
route-policy-name: Name of the route-policy to be displayed, a string of 1 to 19
characters.
Description
Use the display route-policy command to display information about the specified
route policy.
If route-policy-name is not specified, this command displays information about all route
policies.
Related commands: route-policy.
Examples
# Display information about route-policy policy1.
<H3C> display route-policy policy1
Route-policy : policy1
Permit 10 : if-match (prefixlist) p1
apply cost 100
matched : 0 denied : 0
Table 6-2 Description on the fields of the display route-policy command
Field Description
Route-policy Name of the route policy
Information about the route-policy with the mode configured as
permit and the node as 10:
if-match
(prefixlist) p1
Matching conditions
apply cost 100
Apply the cost of 100 to routes meeting the
matching conditions set by the if-match clause
matched
Number of routes matching the conditions set
by the if-match clause
Permit 10
denied
Number of routes not matching the conditions
set by the if-match statement