Command Reference Guide

232peer as-path-acl 3Com Router 5000 Family and Router 6000 Family
Command Reference
peer as-path-acl
Purpose Use the peer as-path-acl command to specify BGP route filtering policy based
on AS path list for a peer/peer group.
Use the undo peer as-path-acl command to cancel the existing configuration.
Syntax peer { group-name | peer-address } as-path-acl number import
undo peer { group-name | peer-address } as-path-acl number import
peer group-name as-path-acl number export
undo peer group-name as-path-acl number export
Parameters group-name
Specifies the name of the peer group.
peer-address
Specifies the IP address of the peer.
aspath-acl-number
Specifies the filtering list number of an AS regular
expression. Valid values are 1 to 199.
import
Distribution list for received routes.
export
Distribution list for advertised routes.
Default By default, a peer/peer group has no AS path list associated.
Example Set the AS path ACL for peer group test.
[3Com -bgp] peer test as-number 100
[3Com -bgp] peer test as-path-acl 3 export
View This command can be used in the following views:
BGP view
VPNv4 view
VPN Instance view