R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide
313
Default command level
2: System level
Parameters
acl-number: Specifies an IP ACL number in the range of 2000 to 3999.
ip-prefix ip-prefix-name: Specifies an IP address prefix list by its name, a string of 1 to 19 characters.
Usage guidelines
Only routes that survive the filtering are added into the BGP routing table.
Examples
# In BGP-VPNv4 subaddress family view, use ACL 2255 to filter received routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] filter-policy 2255 import
import route-policy (VPN instance view/IPv4 VPN view)
Use import route-policy to apply a routing policy to filter incoming routes for the VPN instance. Such a
routing policy is referred to as an import routing policy.
Use undo import route-policy to remove the application.
Syntax
import route-policy route-policy
undo import route-policy
Default
All routes matching the import target attribute are accepted.
Views
VPN instance view, IPv4 VPN view
Default command level
2: System level
Parameters
route-policy: Specifies the name of a routing policy, a case-sensitive string of 1 to 63 characters.
Usage guidelines
You can specify an import routing policy when the route redistribution control provided by the extended
community attributes is not enough.
An import routing policy specified in VPN instance view applies to both the IPv4 VPN and IPv6 VPN.
An import routing policy specified in IPv4 VPN view applies to only the IPv4 VPN.
An import routing policy specified in IPv4 VPN view takes precedence over that specified in VPN
instance view. If you specify an import routing policy in both IPv4 VPN view and VPN instance view, the
IPv4 VPN uses the policy specified in IPv4 VPN view.










