Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-28
View
VPNv4 subaddress family view, VPN-instance subaddress family view
Parameter
group-name
: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric
characters.
acl-number
: AS regular expression ACL number, ranging 1 to 199.
Description
Use the
peer as-path-acl export
command to apply the routing filtering policy based
on AS path list to the advertised routing information.
Use the
undo peer as-path-acl export
command to cancel the configuration.
By default, there is no filtering policy based on AS path list.
You can only use the
peer as-path-acl export
command in the peer group.
Related command:
peer as-path-acl import
.
Example
# Configure the test peer group to filter the advertised routing information with the AS
path ACL 3.
[Quidway-bgp] ipv4-family vpnv4
[Quidway-bgp-af-vpn] peer test as-path-acl 3 export
2.1.31 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
VPNv4 subaddress family view, VPN-instance subaddress family view
Parameter
group-name
: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric
characters.
peer-address
: IP address of the peer group in dotted decimal format.
acl-number
: AS regular expression ACL number, ranging 1 to 199.
import
: Filters the received routes with AS path list.