Ospf Route Type Attribute; Distributing Ospf Routes From Pe Router To Ce Router; Table 66: Route Types And Route Origins - Juniper BGP - CONFIGURATION GUIDE V 11.1.X Configuration Manual

Junose software for e series routing platforms
Table of Contents

Advertisement

OSPF Route Type Attribute

The route type attribute carries the OSPF area ID and LSA type, as indicated in Table
66 on page 481:

Table 66: Route Types and Route Origins

MP-BGP uses the route type conveyed by this extended community attribute to
determine the best OSPF route when it installs the routes in the VRF forwarding table
on the destination PE router.

Distributing OSPF Routes from PE Router to CE Router

At the remote PE site, MP-BGP converts the OSPF routes to BGP VPN-IPv4 routes
and sends them across the BGP/MPLS VPN backbone. At the destination PE router,
MP-BGP must redistribute the BGP VPN-IPv4 routes back into OSPF IPv4 routes. The
PE OSPF router becomes the originator of the routes, which are either type 5 external
routes or type 3 internal routes. The PE router can announce the OSPF routes to the
appropriate CE router through its directly connected PE-CE OSPF link.
If the route has a route type of inter or intra, it is redistributed as a type 3 summary
interarea route and the destination PE router generates a type 3 LSA for it.
A route is redistributed as an external route if the route:
In the first case, the PE router advertises the route as an external type 2 route. In
the second case, the PE router advertises the route as an external type 2 route if the
least-significant bit is set in the option byte in the route type extended community
attribute; otherwise the PE router advertises the route as external type 1 route.
Type of Route
1 – intra-area route
2 – intra-area route
3 – interarea summary route
5 – external route (area ID = 0)
7 – external route (area ID = 0)
Originates in an OSPF domain that is different from that of the destination PE
router.
Has a route type of 5 or 7, both of which indicate an external route.
Chapter 5: Configuring BGP-MPLS Applications
Origin of Route
Type 1 LSA
Type 2 LSA
Type 3 LSA
Type 5 LSA
Type 7 LSA
OSPF and BGP/MPLS VPNs
481

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1.x bgp and mplsBgpMpls

Table of Contents