If-Match As-Path; If-Match Community - 3Com 7750 Series Command Reference Manual

3com switch command reference guide
Hide thumbs Also See for 7750 Series:
Table of Contents

Advertisement

3Com Switch 7750 Series
Command Reference Guide – Routing Protocol
System View: return to User View with Ctrl+Z.
[3Com] route-policy policy_10 permit node 12
%New sequence of this list
[3Com-route-policy] if-match ip-prefix p1

6.1.13 if-match as-path

Syntax
if-match as-path as-path-number
undo if-match as-path
View
Route policy view
Parameter
as-path-number: AS path number, ranging from 1 to 199.
Description
Use the if-match as-path command to match the AS path field of BGP routing
information.
Use the undo if-match as-path command to cancel the AS path field matching.
By default, AS regular expression is not set for matching in Route-policy.
An if-match statement of Route-policy sets AS path attributes as matching conditions
to filter BGP routing information.
Example
# Create as-path 2, which permits the routing information of AS 200 and AS 300. Then
create a Route-policy named test, and define an if-match statement quoting the
definitions of as-path 2 for node 10 of the Route-policy.
<3Com> system-view
System View: return to User View with Ctrl+Z.
[3Com] ip as-path-acl 2 permit 200:300
[3Com] route-policy test permit node 10
[3Com-route-policy] if-match as-path 2

6.1.14 if-match community

Syntax
if-match
adv-community-list-number }
undo if-match community
community
{
basic-community-list-number
Chapter 6 IP Routing Policy Configuration Commands
6-11
[
whole-match
]
|

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents