Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 6 IP Routing Policy Configuration
Commands
3Com Corporation
6-11
Use the undo if-match acl command to cancel the setting of the match rule.
Filtering is performed by quoting an ACL.
Related command: if-match ip-prefix, if-match interface, if-match ip next-hop,
if-match cost, if-match tag, route-policy, apply ip-address, apply cost, apply
local-preference, apply origin, and apply tag.
Example
# Display how to define one if-match clause. When the clause is used for filtering route
information, the route information filtered by route destination address through address
ACL 2010 is enabled to pass the if-match clause.
[3Com -route-policy] if-match acl 2010
6.1.15 if-match as-path
Syntax
if-match as-path aspath-acl-number
undo if-match as-path
View
Routing policy view
Parameter
aspath-acl-number: Number of the AS path list, in the range of 1 to 199.
aspath-acl-number is defined by the ip as-path-acl command.
Description
Use the if-match as-path command to filter BGP routing information.
Use the undo if-match as-path command to disable the configuration.
By default, Route-policy does not require for matching with the AS path list.
This if-match clause of route-policy is used to filter BGP routing information. The match
condition is specified according to the AS path attributes of the routing information.
Related command: ip as-path-acl.
Example
# Define an as-path numbered as 2002 and allow the autonomous system number to
contain the routing information of 200 and 300. Then, define a route-policy named test.
The node No.10 of this route-policy defines an if-match clause, which quotes the
definition of as-path.
[3Com ] ip as-path acl 2 permit 200:300
[3Com ] route-policy test permit node 10










