3com 8807 Reference Guide
738
C
HAPTER
40: BGP/MPLS VPN C
ONFIGURATION
C
OMMANDS
peer ip-prefix import
Syntax
peer { group-name | peer-addess } ip-prefix prefixname import
undo peer { group-name | peer-addess } ip-prefix prefixname 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: Peer IP address in dotted decimal notation.
prefixname: Name of the prefix list, a string of one to 19 characters.
Description
Use the peer ip-prefix import command to apply the filtering policy based on IP
prefix list to the advertised route for peer groups.
prefix list to the advertised route for peer groups.
Use the undo peer ip-prefix import command to cancel the configuration.
By default, the peer dose not use the routing filtering policy.
The incoming filtering policy configured for peers take precedence over the
configuration for peer groups.
configuration for peer groups.
Related command: peer ip-prefix export.
Example
# Configure the peer group group1 to filter the received route with the IP prefix
list 1.
list 1.
[3Com-bgp] ipv4-family vpnv4
[3Com-bgp-af-vpn] peer group1 ip-prefix list1 import
peer
label-route-capability
Syntax
peer group-name label-route-capability
undo peer group-name label-route-capability
View
BGP view
Parameter
group-name: Name of a neighbor peer group.
Description
Use the peer label-route-capability command to enable a peer group to handle
the label-carried IPv4 routes.
the label-carried IPv4 routes.