Filter-Policy Import - Huawei Quidway S6500 Series Command Manual

Ethernet switches release 3000 series
Hide thumbs Also See for Quidway S6500 Series:
Table of Contents

Advertisement

Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches
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.
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.
routing-protocol: Routing protocol whose routing information is to be filtered, including
direct, isis, bgp, ospf, ospf-ase, ospf-nssa and static at present.
Description
Using filter-policy export command, you can configure to filter the advertised routing
information by RIP. Using undo filter-policy export command, you can configure not
to filter the advertised routing information.
By default, RIP does not filter the advertised routing information.
In some cases, it may be required that only the routing information meeting some
conditions can be advertised. Then, the filter-policy command can be used to set the
filtering conditions for the routing information to be advertised. Only the routing
information passing the filtration can be advertised.
For the related commands, see acl, filter-policy import, ip ip-prefix.
Example
# Filter the advertised route information according to ACL 2000.
[Quidway-rip] filter-policy 2000 export

2.1.6 filter-policy import

Syntax
filter-policy gateway ip-prefix-name import
undo filter-policy gateway ip-prefix-name import
filter-policy { acl-number | ip-prefix ip-prefix-name [ gateway ip-prefix-name ] |
route-policy route-policy-name } import
Huawei Technologies Proprietary
2-5
Chapter 2 RIP Configuration Commands

Advertisement

Table of Contents
loading

Table of Contents