USD ($)
$
United States Dollar
India Rupee

OSPF ABR vs ASBR: Differences Insight

Created by Gautam Sharma in Articles 26 Oct 2024
Share
«OSPF States in Networking Explained

In OSPF (Open Shortest Path First) routing, understanding the differences between Area Border Routers (ABRs) and Autonomous System Boundary Routers (ASBRs) is crucial for effective network design and is taught in every IT infrastructure course.

ABR is a router that connects different OSPF areas, facilitating communication between them and the backbone area (Area 0). They summarize and distribute routing information, helping maintain the OSPF network's hierarchy and efficiency.

Today we will discuss what is the difference between Area border router (ABR) and Autonomous system border router (ASBR).

What are the Differences Between ABR and ASBR?

The ABR and ASBR comparison table below shows the key differences between Area Border Routers (ABR) and Autonomous System Boundary Routers (ASBRs).

FeatureOSPF ABR (Area Border Router)OSPF ASBR (Autonomous System Boundary Router)
FunctionConnects OSPF areas to the backbone (Area 0) and manages intra-area routing.Connects OSPF to external networks and manages inter-domain routing.
Routing InformationSummarizes and distributes routing information between OSPF areas.Imports and exports routing information between OSPF and non-OSPF networks.
LSA TypesGenerates Type 3 LSAs (Summary LSAs) for inter-area routing.Generates Type 5 LSAs (External LSAs) for routes to external networks.
Location in OSPFFound within the OSPF domain, specifically at area boundaries.Found at the edge of the OSPF domain, connecting to other routing protocols or the internet.
Role in OSPFMaintains OSPF hierarchy and reduces routing table size through summarization.Facilitates communication between OSPF and external routing protocols, enabling broader connectivity.

Let us now look at ABR and ASBR in detail and understand their work.

To learn more about routers check out our wide variety of courses on Cisco Enterprise training

Area border router (ABR)

An area border router (ABR) is a router that connects one or more areas to the OSPF backbone. When a router is located near the border between one or more Open Shortest Path First (OSPF) areas, such type of router is known as Area border router (ABR).

It stores and operates different routing information related to the topology of the area to which it is attached or to the backbone, as ABR is the member of both the particular areas it is connected and to the main backbone.

To make a connection between the OSPF areas and backbone networks, ABR is used. You can define the area ID as a dotted decimal number (i.e., 0.0.0.0) or a standard number (i.e., 0).


CCNP Enterprise Live Training CourseGet CCNP Enterprise Live Training Class with Certification.Explore course
custom banner static image

To show the path to all networks the ABR will only send one router i.e. the default gateway route outside the area. ABR doesn’t send full route updates to other routers which will be time time-consuming and complex process.

banner image

Given below is an example to check whether a router is an area border router or not.

Command: show ip protocols

Ex. As it is clear from the above diagram Router R2 is ABR

R2(config)#do show ip protocols

***IP Routing is NSF aware***

Routing Protocol is “OSPF”

Outing update filter list for all interfaces is not set

Incoming update filter list for all interfaces is not set

Router ID 2.2.2.2

It is an area border router

Number of areas in this router is 2.2 normal 0 stub 0 nssa

Maximum path: 4

Routing for Network:

12.0.0.0 0.0.0.255 area 0

23.0.0.0 0.0.0.255 area 1

Routing Information Sources:

Gateway           Distance           Last update

1.1.1.1                110                   00:01:30

Distance: (default is 110)

If you seek to achieve the certification and live CCIE Enterprise training online then feel free to contact our learning advisors. 


banner image

Autonomous system border router (ASBR)

Autonomous system border router (ASBR): A router that is usually connected through an exterior routing protocol like BGP to one or more logical entities (AS).

The major work of ABRs is to brief sub-networks found throughout the OSPF system. It stores many copies of its link-state database and provides the path to the router.

ASBR is a router that is attached to other OSPF areas, followed by other routing protocols like IS-IS, IGRP, BGP, EIGRP, RIP, and Static.

Given below is an example to check whether a router is an area border router or not Command: show ip protocols

Ex. As it is clear from the above diagram Router R3 is ASBR

R3(config)#router ospf 3

R3(config-router)#redistribute eigrp 1 subnets

R3(config-router)#ex

R3(config)#do show ip protocols

***IP Routing is NSF aware***

Routing Protocol is “ospf 3”

Outing update filter list for all interfaces is not set

Incoming update filter list for all interfaces is not set

Router ID 3.3.3.3

It is an autonomous system boundary router

Redistributing External Routers from,

eigrp 1, includes subnets in redistribution

Number of areas in this router is 1.1 normal 0 stub 0 nssa

Maximum path: 4

Routing for Network:

23.0.0.0 0.0.0.255 area 1

Routing Information Sources:

Gateway           Distance           Last update

2.2.2.2                110                   00:09:52

Distance: (default is 110)

Get a Better Understanding of Network Port Numbers & Protocols

Conclusion

In conclusion, Area Border Routers (ABRs) is a router that connects multiple OSPF areas, including at least one backbone area (Area 0). Autonomous System Boundary Routers (ASBRs) is a router that connects an OSPF network to other networks.

ABRs connect different OSPF areas, facilitating routing information exchange and generating summary LSAs to optimize inter-area communication. They also filter routes to enhance network performance.

Conversely, ASBRs connect OSPF networks to external routing domains, managing the import and export of routes between OSPF and other protocols. Understanding these roles is crucial for optimizing the OSPF network.

OSPF LSA Types Explained»
Gautam Sharma

This is Gautam's biography

More... | Author`s Bog | Book a Meeting

Related Articles

#Explore latest news and articles

OSPF MD5 Authentication: Securing OSPF 11 Nov 2024

OSPF MD5 Authentication: Securing OSPF

Dive into OSPF MD5 authentication and troubleshooting steps. Discover the importance and setup of OSPF authentication in networks.
Understanding OSPF LSA Type 4 16 Nov 2024

Understanding OSPF LSA Type 4

Overview of OSPF LSA Types and deep dive into OSPF LSA Type 4

FAQ

An Autonomous System Boundary Router (ASBR) in OSPF is responsible for connecting OSPF networks to external routing domains, allowing for the exchange and redistribution of routing information between different protocols.
An Area Border Router (ABR) in OSPF connects multiple OSPF areas, facilitating inter-area communication. It summarizes and filters routing information, ensuring efficient data flow between different areas within the OSPF network.
ASBRs are used to manage the import and export of routes between OSPF and external routing protocols, enabling OSPF networks to communicate with other routing domains and ensuring seamless connectivity across diverse networks.
Yes, a router can function as both an Area Border Router (ABR) and an Autonomous System Boundary Router (ASBR) simultaneously, allowing it to connect different OSPF areas while also interfacing with external networks.

Comments (0)

Share

Share this post with others

Contact learning advisor

Captcha image
Join Cisco ACI Live Training – Starting 7th December! Enroll Now to Master ACI.
Join Cisco ACI Live Training – Starting 7th December! Enroll Now to Master ACI.
Expert-Led Cisco ACI Training with Lab Access.
Day
Hr
Min
Sec
Register Now