Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches
Chapter 5 BGP Configuration Commands
Huawei Technologies Proprietary
5-33
View
BGP view
Parameter
group-name
: Specify name of the peer group.
acl-number
: Specify the filter list number of an AS regular expression. The range is 1 to
199.
export
: For the advertised routes.
Description
Using
peer as-path-acl
export
command, you can configure filtering Policy of BGP
advertised routes based on AS path list. Using
undo peer as-path-acl
command, you
can cancel the existing configuration.
By default, the peer group has no AS path list.
This command can only be configured on peer group.
For the related commands, see
peer as-path-acl import
.
Example
# Set the AS path ACL of the peer group test.
[Quidway-bgp] peer test as-path-acl 3 export
5.1.37 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
: Specify name of the peer group.
peer-address
: Specify IP address of the peer.
acl-number
: Specify the filter list number of an AS regular expression. The range is 1 to
199.
import
: For the received routes.