Command Manual – Multicast Protocol 
Quidway S8500 Series Routing Switches 
Chapter 7  MBGP Multicast Extension
 Configuration Commands
 
Huawei Technologies Proprietary 
7-17 
7.1.25  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 
IPv4 multicast sub-address family view 
Parameter 
group-name: Specifies name of the peer group.  
peer-address: Specifies IP address of the peer. 
acl-number: Specifies the filter list number of an AS regular expression. The range is 1 
to 199.  
import: Uses the AS path list to filter the received routes. 
Description 
Use the peer as-path-acl  import command to configure filtering Policy of MBGP 
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 inbound filter policy configured for the peer takes precedence over the 
configurations for the peer group. 
Related command: peer as-path-acl export, ip as-path-acl (refer to the “Routing 
Protocol” part). 
Example 
# Set the AS path ACL of the peer group test to filter BGP received routes. 
<Quidway> system-view 
System View: return to User View with Ctrl+Z. 
[Quidway] bgp 100 
[Quidway-bgp] ipv4-family multicast 
[Quidway-bgp-af-mul] peer test as-path-acl 3 import 
7.1.26  peer enable 
Syntax 
peer group-name enable 
undo peer group-name enable