R3303-HP HSR6800 Routers MPLS Command Reference
369
Syntax
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ direct | isisv6 process-id | ospfv3
process-id | ripng process-id | static ]
undo filter-policy export [ direct | isisv6 process-id | ospfv3 process-id | ripng process-id | static ]
Default
MP-BGP does not filter routes to be advertised.
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.
direct: Filters direct routes to be advertised.
isisv6 process-id: Filters IPv6 ISIS routes to be advertised that are from a specific IPv6 ISIS process. The
process-id argument is in the range of 1 to 65535.
ospfv3 process-id: Filters OSPFv3 routes to be advertised that are from a specific OSPFv3 process. The
process-id argument is in the range of 1 to 65535.
ripng process-id: Filters RIPng routes to be advertised that are from a specific RIPng process. The
process-id argument is in the range of 1 to 65535.
static: Filters static routes to be advertised.
Usage guidelines
Only routes that survive the filtering are advertised by MP-BGP.
If you specify no routing protocol parameters for the filter-policy export command, all routes to be
advertised are filtered.
Examples
# In BGP-VPNv6 subaddress family view, use ACL 2555 to filter routes to be advertised by MP-BGP.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6
[Sysname-bgp-af-vpnv6] filter-policy 2555 export
filter-policy import (BGP-VPNv6 subaddress family view)
Use filter-policy import to filter received routes.
Use undo filter-policy import to remove the configuration.
Syntax
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import
undo filter-policy import










