3com 8807 参照ガイド

ページ / 1099
BGP Configuration Commands
525
By default, the peer group has no AS path list.
This command can only be configured on the peer group. The acl-number 
specifies the number of the AS path list. It is configured by the ip as-path-acl 
command rather than the acl command.
Related command: peer as-path-acl importip as-path-acl.
Example
# Configure to filter the routes advertised by the peer group test using the AS 
path-list 1.
[3Com-bgp] peer test as-path-acl 1 export 
peer as-path-acl import
Syntax
peer { group-name | peer-address } as-path-acl acl-number import
undo peer { group-name | peer-address } as-path-acl acl-number import
View
BGP view
Parameter
group-name: Specifies the name of the peer group.
peer-address: Specifies IP address of the peer, in dotted decimal format.
acl-number: Specifies the filter list number of an AS regular expression. The range 
is 1 to 199.
import: Applies the AS path list to received routes.
Description
Use the peer as-path-acl import command to configure filtering policy of BGP 
received routes based on AS path list.
Use the undo peer as-path-acl import command to cancel the existing 
configuration.
By default, the peer/peer group has no AS path list.
The priority of the inbound filter policy configured for the peer is higher than that 
configured for the peer group.
Related command: peer as-path-acl export.
Example
# Set the AS path ACL of the peer group test to filter BGP received routes.
[3Com-bgp] peer test as-path-acl 1 import