3Com S7902E Command Reference Manual - page 1642
1-30
filter-policy export (BGP-VPNv4 subaddress family view)
Syntax
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
export
[
direct
|
isis
process-id
|
ospf
process-id
|
rip
process-id
|
static
]
undo filter-policy
export
[
direct
|
isis
process-id
|
ospf
process-id
|
rip
process-id
|
static
]
View
BGP-VPNv4 subaddress family view
Default Level
2: System level
Parameters
acl-number
: IP ACL number, in the range 2000 to 3999.
ip-prefix-name
: IP address prefix list name, a string of 1 to 19 characters.
direct
: Filters direct routes to be advertised.
isis process-id
: Filters ISIS routes to be advertised that are from a specified ISIS process. The
process-id
argument is in the range 1 to 65535.
ospf process-id
: Filters OSPF routes to be advertised that are from a specified OSPF process. The
process-id
argument is in the range 1 to 65535.
rip process-id
: Filters RIP routes to be advertised that are from a specified RIP process. The
process-id
argument is in the range 1 to 65535.
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] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] filter-policy 2555 export