F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
1070
Parameters
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If no routing policy is specified, this command displays information about all routing policies.
Examples
# Display the information of routing policy 1.
<Sysname> display route-policy policy1
Route-policy : policy1
permit : 10
if-match ip-prefix abc
apply cost 120
Table 244 Command output.
Field Descri
p
tion
Route-policy Routing policy name.
Permit Match mode: permit or deny.
if-match ip-prefix abc Match criterion.
apply cost 120 If the match criterion is satisfied, set a cost of 120 for routing information.
Related commands
route-policy
if-match as-path
Use if-match as-path to specify AS path lists for matching against the AS_PATH attribute of BGP routing
information.
Use undo if-match as-path to remove the match criterion.
Syntax
if-match as-path as-path-number&<1-16>
undo if-match as-path [ as-path-number&<1-16> ]
Default
The match criterion is not configured.
Views
Routing policy view