If you are
not
in the context of the virtual router that has the VRF, you access the
VRF as follows:
host1(config)#
virtual-router boston:vrfa
host1:boston:vrfa(config)#
The following commands illustrate one way to configure OSPF; you can configure
RIP and IS-IS similarly:
host1(config)#
ip vrf vrfa
host1(config-vrf)#
rd 100:5
host1(config-vrf)#
route-target both 100:5
host1(config-vrf)#
exit
host1(config)#
virtual-router :vrfa
host1:default:vrfa(config)#
router ospf 100
host1:default:vrfa(config-router)#
redistribute bgp
At this point you proceed with the IGP configuration for the VRF.
Configuring the IGP Outside the VRF Context
The RIP and OSPF protocols also enable you to specify a VRF and configure the
protocol without actually entering the VRF context.
For example, for OSPF you might issue the following command and then complete
OSPF configuration tasks for VRF A:
host1(config)#
router ospf 100 vrf vrfa
For RIP, you create the RIP process, specify the address family for the VRF, and
specify redistribution of BGP routes for VRF A:
host1(config)#
router rip 100
host1(config-router)#
address-family ipv4 vrf vrfa
host1(config-router-af)#
redistribute bgp
At this point you proceed with RIP configuration for the VRF. For information about
configuring IS-IS, OSPF, or RIP as the IGP, see the
JUNOSe IP, IPv6, and IGP
Configuration Guide
. For information about configuring BGP as the IGP, see
“Configuring BGP Routing” on page 3.
virtual-router
■
Use to access a VRF to configure it with an IGP to learn routes from a CE router.
■
To access the VRF from its VR context (in this example, the default VR):
host1(config)#
virtual-router :vrfsouthie
host1:default:southie(config)#
■
To access the VRF from the context of a different VR:
host1(config)#
virtual-router boston:southie
host1:boston:southie(config)#
Configuring BGP VPN Services
■
431
Chapter 5: Configuring BGP-MPLS Applications
Содержание JUNOSE
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Страница 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 346: ...310 Example Traffic Class Configuration for Differentiated Services JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 535: ...There is no no version See undebug ip mbgp Monitoring BGP MPLS VPNs 499 Chapter 5 Configuring BGP MPLS Applications...
Страница 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 592: ...556 Multiple ATM Virtual Circuits over a Single Pseudowire Example JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 642: ...606 VPLS Configuration Example with LDP Signaling JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 719: ...Part 6 Index Index on page 685 Index 683...
Страница 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...