If-Match As-Path - 3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

<Sysname> display route-policy policy1
Route-policy : policy1
permit : 10
if-match ip-prefix abc
apply cost 120
Table 1-2 display route-policy command output description.
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
Route 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 the if-match as-path command to specify AS-PATH list(s) for matching against the AS path
attribute of BGP routing information.
Use the undo if-match as-path command to remove the match criterion.
The match criterion is not configured by default.
Related commands: route-policy, ip as-path-acl.
Examples
# Define AS-PATH list 2, allowing BGP routing information containing AS number 200 or 300 to pass.
Configure node 10 in permit mode of route policy test: specify AS-PATH list 2 for matching.
<Sysname> system-view
[Sysname] ip as-path 2 permit _*200.*300
[Sysname] route-policy test permit node 10
[Sysname-route-policy] if-match as-path 2
Route policy name
Match mode of route policy node 10
Match criterion
If the match criterion is satisfied, set a cost of 120 for routing information.
1-13
Description

Advertisement

Chapters

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S7906E and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents