3Com Switch 7750 Series
Command Reference Guide – Routing Protocol
Chapter 6 IP Routing Policy Configuration Commands
6-11
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 community
{
basic-community-list-number
[
whole-match
] |
adv-community-list-number
}
undo if-match community
Содержание 7750 Series
Страница 520: ...3Com Switch 7750 Series Command Reference Guide Multicast Table of Contents iii 5 1 22 static rp 5 20 ...
Страница 808: ...3Com Switch 7750 Series Command Reference Guide ACL Chapter 1 ACL Commands 1 27 3Com time range test from 0 0 2000 1 1 ...
Страница 1177: ...3Com Switch 7750 Series Command Reference Guide Command Index Appendix A Command Indexx A 45 ...