Huawei Quidway S8500 Series Command Manual page 353

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
Description
Use the filter-policy import command to configure the OSPF rules of filtering the
routing information received.
Use the undo filter-policy import command to cancel the filtering of the routing
information received.
By default, no filtering of the received routing information is performed.
In some cases, it may be required that only the routing information meeting some
conditions can be received. Then, the filter-policy command can be used to set the
filtering conditions for the routing information to be received. Only the routing
information passing the filtration can be received.
The filter-policy import command is used to filter the routes calculated by OSPF. Only
the routes that pass the filter are added into the routing table. The command can filter
the routes by next hop or by destination address.
Because OSPF is a link state-based dynamic routing protocol, its routing information is
hidden in LSAs. OSPF, however, cannot filter advertised and received LSAs.
Compared with the case with vector-based routing protocols, the use of this command
is rather limited with OSPF.
Example
# Filter the received routing information according to the rule defined by the access
control list 2000.
[Quidway] acl number 2000
[Quidway-acl-basic-2000] rule permit source 20.0.0.0 0.255.255.255
[Quidway-acl-basic-2000] rule deny source any
[Quidway-ospf-1] filter-policy 2000 import
3.1.31 filter-policy import
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name } import
undo filter-policy { acl-number | ip-prefix ip-prefix-name } import
View
OSPF area view
Parameter
acl-number: Specifies the number of the basic or advanced ACL used for filtering
Type-3 LSAs.
ip-prefix-name: Specifies the name of the address prefix list used for filtering Type-3
LSAs.
Huawei Technologies Proprietary
3-33
Chapter 3 OSPF Configuration Commands

Advertisement

Table of Contents
loading

Table of Contents