Command Manual – Multicast Protocol
Quidway S8500 Series Routing Switches
Chapter 7 MBGP Multicast Extension
Configuration Commands
Huawei Technologies Proprietary
7-16
<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 1.1.1.1 allow-as-loop 2
7.1.24 peer as-path-acl export
Syntax
peer group-name as-path-acl acl-number export
undo peer group-name as-path-acl acl-number export
View
IPv4 multicast sub-address family view
Parameter
group-name: Specifies name of the peer group.
acl-number: Specifies the filter list number of an AS regular expression. The range is 1
to 199.
export: Uses the AS path list to filter the advertised routes.
Description
Use the peer as-path-acl export command to configure filtering Policy of MBGP
advertised routes based on AS path list.
Use the undo peer as-path-acl command to cancel the existing configuration.
By default, the peer group has no AS path list.
This command can only be configured on peer group.
Related command: peer as-path-acl import, ip as-path-acl (refer to the “Routing
Protocol” part).
Example
# Configure the peer group test to use AS path list 2 to filter the advertised 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 2 export