Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches Chapter 2 RIP Configuration Commands
Huawei Technologies Proprietary
2-6
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: Access control list number used for filtering the destination addresses of
the routing information.
ip-prefix-name: Name of address prefix list used for filtering the destination addresses
of the routing information. The length of ip-prefix-name ranges from 1 to 19 character
string.
gateway ip-prefix-name: Name of address prefix list used for filtering the addresses of
the neighboring routers advertising the routing information. The length of
ip-prefix-name ranges from 1 to 19 character string.
route-policy-name: Route policy name that filters routing information. After enabling
RIP protocol, you can determine which routes are to be sent/received based on
acl/cost/interface/ip/ip-prefix/tag fields. The length of route-policy-name parameter
ranges from 1 to 16 character string.
Description
Using filter-policy gateway import command, you can configure to filter the received
routing information distributed from the specified address. Using undo filter-policy
gateway import command, you can configure not to filter the received routing
information distributed from the specified address.
Using filter-policy import command, you can configure the filtering to the received
global routing information. Using undo filter-policy import command, you can disable
filtering to the received global routing information
By default, RIP does not filter the received routing information.
For the related commands, see acl, filter-policy export, ip ip-prefix.
Example
# Configure the filtering of the global routing information according to acl 2000.
[Quidway-rip] filter-policy 2000 import
2.1.7 host-route
Syntax
host-route
undo host-route