3com 8807 Reference Guide

Page of 1099
LDP Configuration Commands
735
Example
# Enable the peer group 168.
[3Com-bgp] ipv4-family vpnv4
 
[3Com-bgp-af-vpn] peer 168 enable 
peer filter-policy export
Syntax
peer group-name filter-policy acl-number export
undo peer group-name filter-policy 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.
acl-number: IP ACL number ranging from 2000 to 3999. That is, you can use basic 
ACL or advanced ACL.
export: Uses the filtering policy for the advertised route and this policy is only 
effective for peer groups.
Description
Use the peer filter-policy export command to apply the ACL-based filtering 
policy to the advertised route for the peer group.
Use the undo peer filter-policy export command to cancel the configuration.
By default, there is no ACL-based filtering policy.
You can only use the peer filter-policy export command to configure peer 
group.
Related command: ip as-path-aclpeer as-path-acl and peer filter-policy 
export
.
Example
# Configure the test peer group to filter the advertised route with ACL 3000.
[3Com-bgp] ipv4-family vpnv4
 
[3Com-bgp-af-vpn] peer test filter-policy 3000 export 
peer filter-policy import
Syntax
peer { group-name | peer-address } filter-policy acl-number import
undo peer { group-name | peer-address } filter-policy acl-number import
View
VPNv4 sub-address family view, VPN-instance sub-address family view