LDP Configuration Commands 737In BGP view and VPN-instance sub-address family view, when adding a peer to anexternal group out of an AS, you need to specify an AS number. When adding apeer to an internal group or an external group in an AS, the AS number is notneeded.A peer must have been added in a group in BGP view before it can be added toanother group in multicast sub-address family view or VPNv4 sub-address familyview.In different address families, one peer can be in different groups and one groupmay 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 ASnumber when adding peers.[3Com-bgp] ipv4-family vpnv4[3Com-bgp-af-vpn] peer 10.1.1.1 group testpeer ip-prefix export Syntaxpeer group-name ip-prefix prefixname exportundo peer group-name ip-prefix prefixname exportViewVPNv4 sub-address family view, VPN-instance sub-address family viewParametergroup-name: Name of a neighbor peer group, consisting of 1 to 47 alphanumericcharacters.prefixname: Name of prefix list, a string of one to 19 characters.DescriptionUse the peer ip-prefix export command to apply the routing filtering policybased 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 informationwith the IP prefix list list1.[3Com-bgp] ipv4-family vpnv4[3Com-bgp-af-vpn] peer group1 ip-prefix list1 export