![background image](http://html.mh-extra.com/html/hp/6125g/6125g_command-reference-manual_164189208.webp)
196
ospf
process-id
: Filters outgoing routes redistributed from the OSPF process. The process ID is in the
range of 1 to 65535.
rip
process-id
: Filters outgoing routes redistributed from a RIP process. The process ID is in the range of
1 to 65535.
static
: Filters static routes.
Description
Use
filter-policy export
to configure the filtering of outgoing routes.
Use
undo filter-policy export
to remove the filtering.
By default, the filtering is not configured.
If no routing protocol is specified, all redistributed routes are filtered.
Examples
# In IPv4 MBGP address family view, reference ACL 2000 to filter all outgoing routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] filter-policy 2000 export
filter-policy import (MBGP address family view)
Syntax
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
import
undo filter-policy import
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
acl-number
: Specifies the number of an ACL used to filter incoming routing information, in the range of
2000 to 3999.
ip-prefix-name
: Specifies the name of an IP prefix list used to filter incoming routing information, a string
of 1 to 19 characters.
Description
Use
filter-policy import
to configure the filtering of incoming routing information.
Use
undo filter-policy import
to disable the filtering.
By default, incoming routing information is not filtered.
Examples
# In IPv4 MBGP address family view, reference ACL 2000 to filter incoming routing information.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] filter-policy 2000 import