R3303-HP HSR6800 Routers MPLS Command Reference

370
Default
Received routes are not filtered.
Views
BGP-VPNv6 subaddress family view
Default command level
2: System level
Parameters
acl6-number: Specifies an IPv6 ACL number in the range of 2000 to 3999.
ipv6-prefix ipv6-prefix-name: Specifies an IPv6 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-VPNv6 subaddress family view, use ACL 2255 to filter received routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6
[Sysname-bgp-af-vpnv6] filter-policy 2255 import
import route-policy (VPN instance view/IPv6 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, IPv6 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.