3Com Switch 7750 Series
Command Reference Guide – Routing Protocol
Chapter 6 IP Routing Policy Configuration Commands
6-16
[3Com] route-policy policy permit node 1
%New sequence of this list
[3Com-route-policy] if-match tag 8
6.1.19 ip as-path-acl
Syntax
ip as-path-acl
acl-number
{
permit
|
deny
}
as-regular-expression
undo ip as-path-acl
acl-number
View
System view
Parameter
acl-number:
AS path list number, ranging from 1 to 199.
as-regular-expression:
AS path regular expression
Description
Use the
ip as-path-acl
command to configure an AS regular expression.
Use the
undo ip as-path-acl
command to cancel the defined regular expression.
The defined AS path list can be used in GBP policy.
Related command:
peer as-path-acl
and
display bgp routing-table as-path-acl
.
Example
# Configure an AS path list
<3Com> system-view
System View: return to User View with Ctrl+Z.
[3Com] ip as-path-acl 10 permit 200,300
6.1.20 ip community-list
Syntax
ip community-list
basic-comm-list-number
{
permit
|
deny
} [
aa:nn
|
internet
|
no-export-subconfed
|
no-advertise
|
no-export
]*
ip community-list
adv-comm-list-number
{
permit
|
deny
}
comm-regular-expression
undo ip community-list
{
basic-comm-list-number
|
adv-comm-list-number
}
View
System view