OSPF - Autonomous System Boundary Router (ASBR)
In OSPF an Autonomous System Boundary Router (ASBR) is a router that connects an OSPF autonomous system (AS) to other routing domains, such as another OSPF area, a different routing protocol (e.g., EIGRP, BGP), or an external network. The role of an ASBR is to import or redistribute external routes into the OSPF domain.
Key Points About ASBRs
-
Route Redistribution: ASBRs are used to inject routes learned from outside the OSPF domain into the OSPF network. This process is called route redistribution.
-
External Routes: These redistributed routes are known as OSPF External Routes and are classified as either Type 1 (E1) or Type 2 (E2):
- E1 routes consider both the external metric (from the other protocol) and the internal OSPF path cost.
- E2 routes use only the external metric, making the internal OSPF path cost irrelevant.
-
LSA Type 5 (External LSA): An ASBR generates Type 5 LSAs to advertise these external routes throughout the OSPF domain, except for stub areas.
-
Location in the Network: ASBRs can be located in any OSPF area (e.g., backbone area, standard area, or even NSSA areas), but the types of LSAs and area types dictate how external routes are handled and propagated.
Example Use Case:
If an OSPF network needs to learn routes from a BGP network or a static route to an external subnet, the ASBR will import these routes into the OSPF network, allowing OSPF routers to reach destinations outside their autonomous system.
Links
Links to this page:
- ASBR Behavior with External Type 2 OSPF Routes
- MPLS - OSPF redistributed routes appear as O IA
- OSPF - ASBR E-bit in an LSA
- OSPF - Database Example
- OSPF - Identifying the router type
- OSPF - Link ID and ADV Router in the OSPF database
- OSPF - NSSA no automatic default route
- OSPF - Type 5 LSA filtering on an ASBR
- OSPF - route summarization
- OSPF - summary-address nssa-only on an ABR
- OSPF E1 E2 N1 N2 routes
- OSPF NSSA ABR advertises default route
- OSPF Route Filtering
- OSPF Type 4 LSA
- OSPF Type 5 LSA
- OSPF Type 7 LSA