![H3C S9500 Series Command Manual Download Page 296](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036296.webp)
Command Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L3VPN Configuration Commands
1-33
ip-prefix-name
: IP address prefix list name.
Description
Use the
filter-policy import
command to specify to filter received routes.
Use the
undo filter-policy import
command to remove the configuration.
By default, received routes are not filtered.
Only routes that survive the filtering are added into the BGP routing table.
Examples
# In BGP-VPNv4 subaddress family view, specify to use ACL 2255 to filter received
routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] filter-policy 2255 import
1.1.23 import route-policy
Syntax
import route-policy
route-policy
undo import route-policy
View
VPN instance view
Default Level
2: System level
Parameters
route-policy
: Name of the import routing policy for the VPN instance.
Description
Use the
import route-policy
command to apply an import routing policy to a VPN
instance.
Use the
undo import route-policy
command to remove the application.
You can configure an import routing policy when a finer control on the routes to be
redistributed into a VPN instance is required, that is, when the control provided by the
extended community attributes is not enough. An import routing policy may deny routes
that are permitted by the import target attribute.