OSPF route filtering

Latest reply: Dec 26, 2018 07:32:01 155 5 8 0

OSPF route filtering is divided into two aspects: One is pure routing entries, and the other is LSA routing based on SPF calculation. Therefore, the most thorough filtering is to filter LSAs. In the following six types of filtering, only the first type of filter-policy import is used to filter routes, and the latter is used to filter LSAs.

OSPF filtering

1. Filter-policy import (configured in the OSPF process)

This command can only suppress the generation of routes. Therefore, you can filter the routes regardless of the routes to be generated. The LSA flooding, however, cannot be prevented.

[R3-ospf-1]undo filter-policy ip-prefix 1 import

2. Filter-policy export (configured in the OSPF process)

This command is used to filter the ASE/NSSA on the ASBR. This command is used to suppress the generation of LSAs. Once the LSA is generated, this command is useless. In addition, this command can be configured only on the ASBR and is not used on other routes, the LSA has been generated.

[R1-ospf-1]undo filter-policy ip-prefix 1 export

3. Asbr-summary not-advertise (configured in the OSPF process)

This command is used to filter the ASE/NSSA generated by itself on the ASBR. In fact, the is suppressed. The local LSDB does not contain the related LSA..

[R1-ospf-1]undo asbr-summary 11.11.11.11 255.255.255.255

4. Filter import/export (configured in the region)

This command is used to filter the three types of LSAs on an ABR, regardless of whether the three types of LSAs are generated by the ABR or received by other routers. It is invalid for Type 5 LSAs.

[R3-ospf-1-area-0.0.0.0]undo filter ip-prefix 1 export

[R3-ospf-1-area-0.0.0.200]undo filter ip-prefix 2 import

5. Abr-summary not-advertise (configured in the region)

This command is used to filter the three types of LSAs on an ABR. Only the three types of LSAs generated by the ABR can be filtered. The three types of LSAs received from other devices cannot be filtered. (The reason is that this command is an aggregation command. Currently, the aggregation commands of the VRP and IOS only aggregate the routes of the local area but not the inter-area routes. Therefore, the abr-summary not-advertise command is used to filter the intra-area routes of the local area.)

6. Ospf filter-lsa-out () is configured on the interface.)

You can filter out any type of LSA. After the configuration is complete, you need to clear the process.

  • x
  • convention:

dagui
Created Dec 25, 2018 10:00:15 Helpful(0) Helpful(0)

This command is used to filter the three types of LSAs on an ABR, regardless of whether the three types of LSAs are generated by the ABR or received by other routers. It is invalid for Type 5 LSAs.Can you provide a more detailed explanation?
  • x
  • convention:

yiyi0519
Created Dec 25, 2018 10:03:01 Helpful(0) Helpful(0)

OSPF is one IGP protocol, all the device will have same LSDB, to filter the routing, you can set the route policy
  • x
  • convention:

Mysterious.color
MVE Created Dec 25, 2018 13:39:01 Helpful(0) Helpful(0)

using the route policy you can do it
  • x
  • convention:

Core%20Engineer%2C%20Technical%20Department.%20High%20experience%20in%20Networking
user_2915719
Created Dec 26, 2018 02:42:45 Helpful(0) Helpful(0)

Are these policies are designed to work on different scenarios? I haven't understand that.
  • x
  • convention:

wissal
MVE Created Dec 26, 2018 07:32:01 Helpful(0) Helpful(0)

Thanks
  • x
  • convention:

Telecommunications%20engineer%2C%20currently%20senior%20project%20manager%20at%20an%20operator%2C%20partner%20of%20Huawei%2C%20in%20the%20radio%20access%20network%20department%2C%20for%2020%20years%20I%20managed%20several%20types%20of%20projects%2C%20for%20the%20different%20nodes%20of%20the%20network.

Reply

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login