OSPF Advanced Concepts - Part 3
Kevin Wallace Training, LLC

OSPF Advanced Concepts - Part 3

In our previous article, we examined how OSPF can automatically filter routes through the use of special areas and LSA Types. But what about your options for manually filtering routes in OSPF? In this post, we will examine techniques that you can use at various points in the topology.

Filtering at the ASBR

One simple and effective method of filtering at the ASBR is the use of a distribute list. Here, we define the rules for route identification with an access list, and then reference this access list in the distribute list. 

No alt text provided for this image

Figure 1 - OSPF Topology

In this example, our Area 1 is configured as a normal, non-backbone area. You can clearly see this when you examine the routing table on ORL.

No alt text provided for this image

Note the two prefixes (E2) of 192.168.10.0 and 192.168.20.0. Let’s filter 192.168.10.0 at the ASBR of ATL.

No alt text provided for this image

Note how simple this configuration is. Let’s see if it worked by examining the route table of ORL once again:

No alt text provided for this image

The configuration worked perfectly and 192.168.10.0 is no longer available at ORL. 

Another simple method is to use the summary-address command on the ASBR and use the not-advertise keyword.

Here is an example in our topology. Note that I have removed the previous distribute list from the configuration of ATL prior to this configuration here:

No alt text provided for this image

Verification on ORL proves another successful filter of the 192.168.10.0 network.

No alt text provided for this image

It is no real surprise that you can use a route map approach to filtering at the ASBR. After all, route maps are so incredibly useful and flexible. 

Here, we will define the rules with access list (once again), and use this in the route map logic:

No alt text provided for this image

As you might guess, the verification at ORL works perfectly.

No alt text provided for this image

Filtering at the ABR

You can also filter at the ABR. The most common method is to use a prefix list as shown here:

No alt text provided for this image
No alt text provided for this image

Once again, we filter the prefix of 192.168.10.0, but we do it at the ABR and we are filtering on the Type 3 here. This contrasts with the filtering of Type 5 (for the same prefix!) we did earlier at the ASBR.

Filtering within a Router

Keep in mind that you can easily filter on any OSPF speaker within your router itself. For example, you can configure a distribute list approach and filter inbound using it.

In this example, we will once again pick on 192.168.10.0. We will block it in an ACL and use this ACL in the distribute list.

Notice we are on ORL performing this.

No alt text provided for this image

Once again, we reach our desired verification:

No alt text provided for this image

That wraps up our look at manual filtering within OSPF. Next time, in the final part of our OSPF series, we'll examine default routes, and we'll compare OSPFv2 with OSPFv3. Until then, take good care.

For additional information, visit our website for Cisco Certified Systems training courses, special courses on IT networking and more.

Jay Martinez

Sr Support Network Engineer at Tailored Brands, Inc

3 年

I can’t get enough of these, keep them coming Kevin.

回复
Motshedisi Rose Korir

Motshedisi Rose Korir

3 年

Brilliant indeed

Motshedisi Rose Korir

Motshedisi Rose Korir

3 年

This will help me

回复

要查看或添加评论,请登录

Kevin Wallace的更多文章

  • Cisco's ENCOR v1.1 Exam Drops Sept. 20th. Here's What's New!

    Cisco's ENCOR v1.1 Exam Drops Sept. 20th. Here's What's New!

    Cisco's ENCOR (350-401) exam is one of the most popular Cisco exams out there. Just check out some of the…

    11 条评论
  • Career Catalyst – Igniting Your IT Success Journey

    Career Catalyst – Igniting Your IT Success Journey

    Whether you’re an aspiring IT professional or whether you’ve already begun your IT career, there’s always a “next…

  • I Took Cisco's CCST Networking Exam - Here's My Review

    I Took Cisco's CCST Networking Exam - Here's My Review

    in January of 2023 Cisco announced the CCST Networking certification, where CCST stands for Cisco Certified Support…

    18 条评论
  • Lessons I Learned from Disney – Part 1 (When to Praise – When to Coach)

    Lessons I Learned from Disney – Part 1 (When to Praise – When to Coach)

    Anyone that knows my family and me, knows that we are huge fans of all things Disney. Besides just being a guest at…

  • Understanding EIGRP - Part 6

    Understanding EIGRP - Part 6

    This post wraps up our series on Understanding EIGRP by discussing two final topics: The EIGRP Router ID EIGRP's…

    6 条评论
  • Understanding EIGRP - Part 5

    Understanding EIGRP - Part 5

    Typically, an EIGRP-speaking router dynamically discovers its neighbors, by sending multicast Hello messages. However…

    4 条评论
  • Understanding EIGRP - Part 4

    Understanding EIGRP - Part 4

    Sometimes, we might want a router interface to participate in an EIGRP routing process (in order to advertise that…

    1 条评论
  • Understanding EIGRP - Part 3

    Understanding EIGRP - Part 3

    Once of EIGRP’s claims to fame is its fast convergence in the event of a link failure. However, one thing that might…

  • Understanding EIGRP - Part 2

    Understanding EIGRP - Part 2

    In the first article in our Understanding EIGRP series, we were introduced to EIGRP’s features, in addition to a basic…

    1 条评论
  • Understanding EIGRP - Part 1

    Understanding EIGRP - Part 1

    I used to work as a Network Design Specialist at Walt Disney World, in Florida. Their massive network contained over…

    6 条评论

社区洞察

其他会员也浏览了