3com 8807 Reference Guide

Page of 1099
LDP Configuration Commands
737
In BGP view and VPN-instance sub-address family view, when adding a peer to an 
external group out of an AS, you need to specify an AS number. When adding a 
peer to an internal group or an external group in an AS, the AS number is not 
needed.
A peer must have been added in a group in BGP view before it can be added to 
another group in multicast sub-address family view or VPNv4 sub-address family 
view.
In different address families, one peer can be in different groups and one group 
may have different peers.
Example
# Add the peer with IP address 10.1.1.1 to the peer group test. In this example, 
the peer group is IBGP peer by default, thus you need not to specify the AS 
number when adding peers.
[3Com-bgp] ipv4-family vpnv4
 
[3Com-bgp-af-vpn] peer 10.1.1.1 group test 
peer ip-prefix export
Syntax
peer group-name ip-prefix prefixname export
undo peer group-name ip-prefix prefixname 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.
prefixname: Name of prefix list, a string of one to 19 characters.
Description
Use the peer ip-prefix export command to apply the routing filtering policy 
based on IP prefix list to advertised routing information for peer groups.
Use the undo peer ip-prefix export command to cancel the setting.
By default, the peer group does not perform the routing filtering policy.
you can only configure the peer ip-prefix export command to the peer group.
Related command: peer ip-prefix import.
Example
# Configure the peer group group1 to filter the advertised routing information 
with the IP prefix list list1.
[3Com-bgp] ipv4-family vpnv4
 
[3Com-bgp-af-vpn] peer group1 ip-prefix list1 export