R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
308
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name } import
undo filter-policy import
Default
Received routes are not filtered.
Views
BGP-VPNv4 subaddress family view
Default command level
2: System level
Parameters
acl-number: 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: Name of a routing policy, a case-sensitive string of 1 to 63 characters.










