in the parent VR that is used for BGP peering with the CE router. To achieve this
configuration, you must do both of the following:
1.
In the parent VR, create a shared IP interface for the PE-CE interface and point a
static route to the loopback of the CE router to the shared interface.
2.
Use a global import map in the VRF to import into the VRF the route to the loopback
interface in the parent VR.
Figure 104: BGP Session Between CE Router and Parent VR
The following commands configure a shared IP interface in the parent VR and point a
static route for the loopback in the CE router to it:
host1(config)#
virtual-router pe1
host1:pe1(config)#
interface ip ce1-cust
host1:pe1(config-if)#
ip share-interface atm2/0.1
host1:pe1(config-if)#
ip address 10.1.1.3 255.255.255.255
host1:pe1(config-if)#
exit
host1:pe1(config)#
ip route 10.4.4.4 255.255.255.255 ip ce1-cust
The following commands make the loopback in the parent VR reachable from the VRF
by means of a global import map:
host1(config)#
virtual-router pe1
host1:pe1(config)#
prefix-list VRloop permit 10.2.2.2/32
host1:pe1(config)#
route-map globimaploop
host1:pe1(config-route-map)#
match ip address prefix-list VRloop
host1:pe1(config-route-map)#
exit
host1:pe1(config)#
ip vrf pe11
host1:pe1(config-vrf)#
rd 100:1
host1:pe1(config-vrf)#
route-target both 100:1
host1:pe1(config-vrf)#
global import map globimaploop
The following commands create a BGP session between the CE router and the parent
VR.
On host 1, VR PE 1:
Copyright © 2010, Juniper Networks, Inc.
466
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...