
Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 2 RIP Configuration Commands
Huawei Technologies Proprietary
2-7
filter-policy
{
acl-number
|
ip-prefix ip-prefix-name
[
gateway
ip-prefix-name
] |
route-policy route-policy-name
}
import
undo filter-policy
{
acl-number
|
ip-prefix ip-prefix-name
[
gateway
ip-prefix-name
] |
route-policy route-policy-name
}
import
View
RIP view
Parameter
acl-number:
Number of the ACL used to filter routing information by destination
address.
ip-prefix-name
: Name of the address prefix list used to filter routing information by
destination address.
gateway
ip-prefix-name:
Name of the address prefix list used to filter routing
information by the address of the neighbor router advertising the information.
route-policy-name
: Name of the route-policy that filters 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.
Description
Use the
filter-policy gateway
command to enable RIP to filter received routing
information by a specified address so that the routing information advertised by the
address can pass the filter.
Use the
undo filter-policy gateway
command to disable the above filtering.
Use the
filter-policy import
command to enable RIP to filter the received global
routing information.
Use the
undo filter-policy import
command to disable the above filtering.
By default, RIP does not filter the received routing information.
You can control the range of routes received by RIP by specifying an ACL and ip-prefix
list.
Related command:
acl
,
filter-policy export
,
ip ip-prefix
.
Example
# Configure to filter incoming routing information by acl 2000.
<Quidway>system-view
System View: return to User View with Ctrl+Z.
[Quidway] rip
[Quidway-rip] filter-policy 2000 import