OSPF adds routes to the VRF’s forwarding table at the PE router side with routes learned
from the CE router.
Distributing Routes Between PE Routers
The OSPF routes in the VRF forwarding table are OSPF IPv4 routes, but BGP/MPLS VPNs
distribute VPN-IPv4 routes by means of MP-BGP. You must configure the VRF to
redistribute the OSPF routes into MP-BGP. MP-BGP converts each imported OSPF route
to a VPN-IPv4 route, applies export policy to the route, and then propagates the route
to a remote PE site by means of the MPLS/VPN backbone. At the destination PE router,
MP-BGP places each route in the appropriate VRF forwarding table based on the import
policy for each VRF and the route target associated with the route.
Preserving OSPF Routing Information Across the MPLS/VPN Backbone
MP-BGP attaches two new extended community attributes to the routes redistributed
from OSPF:
•
OSPF domain identifier extended community attribute
•
OSPF route type extended community attribute
MP-BGP uses these attributes and the MED to preserve OSPF routing information across
the BGP/MPLS VPN backbone.
OSPF Domain Identifier Attribute
The OSPF domain identifier attribute uniquely identifies the OSPF domain from which a
route was redistributed into MP-BGP.
You must configure an OSPF domain ID for the VRFs on the PE router with the
domain-id
command. All VRFs that belong to a given OSPF domain must be configured with the
same domain ID. If not configured, the domain ID defaults to zero. If you configure a value
of zero, MP-BGP does not attach an OSPF domain identifier attribute.
If the OSPF domain ID for the destination PE router differs from the originating PE router,
MP-BGP redistributes the route into OSPF as an OSPF type 5 external route.
OSPF Route Type Attribute
The route type attribute carries the OSPF area ID and LSA type, as indicated in Table 93
on page 480:
Table 93: Route Types and Route Origins
Origin of Route
Type of Route
Type 1 LSA
1 – intra-area route
Type 2 LSA
2 – intra-area route
Type 3 LSA
3 – interarea summary route
Type 5 LSA
5 – external route (area ID = 0)
Copyright © 2010, Juniper Networks, Inc.
480
JunosE 11.2.x BGP and MPLS Configuration Guide
Содержание JUNOSE 11.2.X BGP AND MPLS
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Страница 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...