If-Match As-Path - HP FlexNetwork 3600 v2 Series Command Reference Manual

Hide thumbs Also See for FlexNetwork 3600 v2 Series:
Table of Contents

Advertisement

|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration 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.
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 94 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-16>
undo if-match as-path [ as-path-number&<1-16> ]
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-16>: 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.
420

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents