If-Match As-Path - HP 6125G Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

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.
Description
Use display route-policy to display routing policy information.
All routing policy information will be displayed if no route-policy-name is specified.
Related commands: route-policy.
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 79 Command output.
Field
Route-policy
Permit
if-match ip-prefix abc
apply cost 120

if-match as-path

Syntax
if-match as-path as-path-number&<1- 1 6>
undo if-match as-path [ as-path-number&<1- 1 6> ]
View
Routing policy view
Default level
2: System level
Parameters
as-path-number: AS path list number, in the range of 1 to 256.
&<1- 1 6>: Indicates the argument before it can be entered up to 16 times.
Description
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.
Description
Routing policy name.
Match mode of routing policy node 10.
Match criterion.
If the match criterion is satisfied, set a cost of 120 for routing information.
345

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents