host1(config)#
ip vrf ospf2
Proceed with new VRF creation? [confirm]
host1(config-vrf)#
rd 100:85
host1(config-vrf)#
exit
2.
Start OSPF on the VRF, either from the parent VR or directly from the VRF.
From the parent VR:
host1(config)#
router ospf 5 vrf ospf2
From the VRF:
host1(config)#
virtual-router :ospf2
host1:default:ospf2(config)#
router ospf 5
The command prompts in the remaining steps reflect using the latter method
for starting OSPF.
3.
Configure the OSPF domain ID.
host1:default:ospf2(config-router)#
domain-id 45
4.
Configure the VPN route tag.
host1:default:ospf2(config-router)#
domain-tag 1200
5.
Redistribute routes learned from other PE routers back into OSPF.
host1:default:ospf2(config-router)#
redistribute bgp
6.
Create an address family in BGP.
host1:default(config)#
router bgp 100
host1:default(config-router)#
address-family ipv4 unicast vrf ospf2
7.
Redistribute OSPF routes into BGP.
host1:default(config-router)#
redistribute ospf
domain-id
■
Use to set the OSPF domain ID for an OSPF VRF on a PE router; the default value
is zero.
■
Use the same domain ID for all OSPF VRFs in a given OSPF domain.
■
When the value is zero, MP-BGP does not attach an OSPF domain identifier
attribute when it converts an OSPF route to an MP-BGP route to cross the
BGP/MPLS VPN.
■
Example
host1:default:ospf2(config-router)#
domain-id 45
■
Use the
no
version to restore the default value.
■
See domain-id.
480
■
OSPF and BGP/MPLS VPNs
JUNOSe 11.0.x BGP and MPLS Configuration Guide
Summary of Contents for JUNOSE
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Page 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 719: ...Part 6 Index Index on page 685 Index 683...
Page 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...