R3303-HP HSR6800 Routers MPLS Command Reference
312
isis process-id: Filters ISIS routes to be advertised that are from a specific ISIS process. The process-id
argument is in the range of 1 to 65535.
ospf process-id: Filters OSPF routes to be advertised that are from a specific OSPF process. The process-id
argument is in the range of 1 to 65535.
rip process-id: Filters RIP routes to be advertised that are from a specific RIP process. The process-id
argument is in the range of 1 to 65535.
static: Filters static routes to be advertised.
Usage guidelines
If you specify no routing protocol parameters for the filter-policy export command, all routes to be
advertised will be filtered.
Only routes that survive the filtering are advertised by MP-BGP.
Examples
# In BGP-VPNv4 subaddress family view, use ACL 2555 to filter routes to be advertised by MP-BGP.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] filter-policy 2555 export
filter-policy import (BGP-VPNv4 subaddress family view)
Use filter-policy import to filter received routes.
Use undo filter-policy import to remove the configuration.
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: 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










