Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 4 IP Routing Policy Configuration
Commands
Huawei Technologies Proprietary
4-4
Description
Use the
display route-policy
command to display the configured Route-policy.
If you do not specify a route policy name, this command displays all route-policies
configured.
Related command:
route-policy
.
Example
# Display the information about Route-policy named policy1.
<Quidway> display route-policy policy1
Route-policy : policy1
Permit 10 : if-match (ip-prefix) p1
apply cost 100
matched : 0 denied : 0
Table 4-2
Description on the fields of the
display route-policy
command
Field
Description
Route-policy Name of ip-prefix
Information about the route-policy with the mode configured as
permit and the node as 10:
if-match
(prefixlist) p1
if-match clause configured
apply cost 100
Apply routing cost 100 to the routes matching
the conditions defined by if-match clause
matched
Number of routes matching the conditions set
by if-match clause
Permit 10
denied
Number of routes not matching the conditions
set by if-match clause
4.1.5 if-match acl
Syntax
if-match
{
acl acl-number
|
ip-prefix
ip-prefix-name
}
undo if-match
{
acl
|
ip-prefix
}
View
Route policy view
Parameter
acl-number
: Number of the ACL used for filter