Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 2 RIP Configuration Commands
Huawei Technologies Proprietary
2-6
filter-policy
route-policy route-policy-name
export
undo
filter-policy
{
acl-number
|
ip-prefix ip-prefix-name
}
export
[
routing-protocol
]
undo
filter-policy
route-policy route-policy-name
export
View
RIP view
Parameter
acl-number
: Number of the basic or advanced ACL used to filter routing information by
destination address.
ip-prefix-name
: Name of the address ip-prefix list used to filter routing information by
destination address.
route-policy-name
: Name of the route-policy used to filter routing information. A
route-policy can enable RIP to determine which routes are to be sent/received based
on such fields as acl/cost/interface/ip/ip-prefix/tag.
routing-protocol:
Routing protocol whose routing information is to be filtered. Currently,
this can be
direct
,
ospf
,
ospf-ase
,
ospf-nssa
, or
static
.
Description
Use the
filter-policy export
command to enable RIP to filter the routing information to
be advertised.
Use the
undo filter-policy export
command to cancel the filtering of the routing
information to be advertised.
By default, RIP does not filter routing information before advertising.
Related command:
acl
,
filter-policy import
,
ip ip
-
prefix
.
Example
# Configure to filter route information by ACL 2000 before the information is advertised.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] rip
[Quidway-rip] filter-policy 2000 export
2.1.7 filter-policy import
Syntax
filter-policy gateway
ip-prefix-name import
undo filter-policy gateway
ip-prefix-name import