3com 8807 Guia De Referência

Página de 1099
668
C
HAPTER
 38: MBGP M
ULTICAST
 E
XTENSION
 C
ONFIGURATION
 C
OMMANDS
View
IPv4 multicast sub-address family view
Parameter
group-name: Name of the peer group.
peer-address: IP address of the peer; uses dotted decimal notation.
acl-number: Filter list number of an AS regular expression, In the range of 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 importip 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.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] bgp 100
 
[3Com-bgp] ipv4-family multicast
 
[3Com-bgp-af-mul] peer test as-path-acl 2 export 
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: Name of the peer group.
peer-address: IP address of the peer.
acl-number: Filter list number of an AS regular expression, in the range 1 to 199.
import: Uses the AS path list to filter the received routes.