3Com Router 3000 Ethernet Family
Configuration Guide
6.2.17 Configuring the Repeating Times of Local AS Number
This command can be used to configure the repeating times of local AS number.
Perform the following configuration in BGP view, VPNv4 view and VPN instance view.
Table 6-38 Configure the repeating times of AS-path
Configure the repeating times of local
AS number
Remove the repeating times of local AS
number
By default, the value of the number argument is 3.
6.2.18 Defining ACL, AS Path List, and route-policy
ACL, AS path list, and route-policy can all be the conditions for BGP filtering.
I. Defining the ACL
Refer to "Firewall Configuration" in module "Security" of this manual.
II. Defining the AS path list
The routing information packet of the BGP includes an autonomous system path
domain. The as-path-acl can be used to match with the autonomous system path
domain of the BGP routing information so as to filter the routing information, which does
not conform to the requirements. For the same list number, the user can define multiple
pieces of as-path-acl. In other words, a list number stands for a group of AS path ACLs.
Each AS path list is identified with digits.
Perform the following configuration in system view.
Table 6-39 Configure regular expression of an AS
Configure regular expression of an AS
Remove
expression
By default, no AS regular expression is defined.
During the matching, the relationship of F "Or" is available between the members
(acl-number) of the ACLs, i.e., when the routing information passes through one piece
Operation
Operation
the
configured
regular
3Com Corporation
6-22
Chapter 6 BGP Configuration
Command
peer { group-name | peer-address }
allow-as-loop [ number ]
undo
peer
{
peer-address } allow-as-loop
Command
ip
as-path-acl
aspath-acl-number
{ permit | deny } as-regular-expression
undo ip as-path-acl aspath-acl-number
group-name
|