![H3C S9500 Series Command Manual Download Page 295](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036295.webp)
Command Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L3VPN Configuration Commands
1-32
direct
: Filters direct routes to be advertised.
isis process-id
: Filters ISIS routes to be advertised that are from a specified ISIS
process.
ospf process-id
: Filters OSPF routes to be advertised that are from a specified OSPF
process..
rip process-id
: Filters RIP routes to be advertised that are from a specified RIP
process.
static
: Filters static routes to be advertised.
Description
Use the
filter-policy export
command to specify to filter all or certain types of routes to
be advertised.
Use the
undo filter-policy export
command to remove the configuration.
If you specify no routing protocol parameters for the
filter-policy export
command, all
routes to be advertised will be filtered.
By default, MP-BGP does not filter routes to be advertised.
Only routes that survive the filtering are advertised by MP-BGP.
Examples
# In BGP-VPNv4 subaddress family view, specify to filter routes to be advertised by
MP-BGP using ACL 2555.
<Sysname> system-view
[Sysname] bgp 100
[Sysname] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] filter-policy 2555 export
1.1.22 filter-policy import (BGP-VPNv4 subaddress family view)
Syntax
filter-policy
{
acl-number
|
ip-prefix ip-prefix-name
}
import
undo filter-policy import
View
BGP-VPNv4 subaddress family view
Default Level
2: System level
Parameters
acl-number
: IP ACL number.