3com 8807 Guia De Referência
730
C
HAPTER
40: BGP/MPLS VPN C
ONFIGURATION
C
OMMANDS
Example
# Set the opposite AS number of a specified peer (group) to 100.
[3Com-bgp] ipv4-family vpn-instance test
[3Com-bgp-af-vpn-instance] peer test as-number 100
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
VPNv4 sub-address family view, VPN-instance sub-address family view
Parameter
group-name: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric
characters.
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.
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.
the AS path ACL 3.
[3Com-bgp] ipv4-family vpnv4
[3Com-bgp-af-vpn] peer test as-path-acl 3 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
VPNv4 sub-address family view, VPN-instance sub-address family view
Parameter
group-name: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric
characters.
characters.
peer-address: IP address of the peer group in dotted decimal notation.