No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


AR Router Troubleshooting Guide

This Product Documentation provides guidance for maintaining AR Enterprise Router, covering common information collection and fault diagnostic commands, typical fault troubleshooting guide, and troubleshooting.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
How to Configure OSPF Route Filtering

How to Configure OSPF Route Filtering


  1. Before configuring OSPF route filtering, configure a route filtering rule. For example, configure an ACL to permit data packets with the source IP address

    <Huawei> system-view
    [Huawei] acl 2000
    [Huawei-acl-basic-2000] rule permit source 
    [Huawei-acl-basic-2000] quit
  2. Configure OSPF to filter the imported RIP routes according to the filtering policy.

    <Huawei> system-view
    [Huawei] ospf 100
    [Huawei-ospf-100] import-route rip
    [Huawei-ospf-100] filter-policy 2000 export
  3. Configure OSPF to filter received routes.

    <Huawei> system-view
    [Huawei] ospf 100
    [Huawei-ospf-100] filter-policy 2000 import
  4. Configure OSPF to filter outgoing Type 3 LSAs.

    <Huawei> system-view
    [Huawei] ospf 100
    [Huawei-ospf-100] area 1
    [Huawei-ospf-100-area-] filter 2000 export
  5. Configure OSPF to filter incoming Type 3 LSAs.

    <Huawei> system-view
    [Huawei] ospf 100
    [Huawei-ospf-100] area 1
    [Huawei-ospf-100-area-] filter 2000 import

More Information

OSPF route filtering involves routes calculated by OSPF and intra-area Type 3 LSAs.

  • Filtering routes calculated by OSPF includes filtering imported routes to be advertised and filtering received routes.

    Filtering imported routes to be advertised can be configured only on ASBRs.

  • Filtering intra-area Type 3 LSAs includes filtering intra-area outgoing and incoming Type 3 LSAs.

    Filtering intra-area Type 3 LSAs can be configured only on ABRs.

Updated: 2019-08-09

Document ID: EDOC1000079719

Views: 490207

Downloads: 4514

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next