Juniper BGP - CONFIGURATION GUIDE V 11.1.X Configuration Manual page 522

Junose software for e series routing platforms
Table of Contents

Advertisement

JUNOSe 11.1.x BGP and MPLS Configuration Guide
2.
3.
4.
5.
6.
7.
domain-id
486
OSPF and BGP/MPLS VPNs
host1(config)#ip vrf ospf2
Proceed with new VRF creation? [confirm]
host1(config-vrf)#rd 100:85
host1(config-vrf)#exit
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.
Configure the OSPF domain ID.
host1:default:ospf2(config-router)#domain-id 45
Configure the VPN route tag.
host1:default:ospf2(config-router)#domain-tag 1200
Redistribute routes learned from other PE routers back into OSPF.
host1:default:ospf2(config-router)#redistribute bgp
Create an address family in BGP.
host1:default(config)#router bgp 100
host1:default(config-router)#address-family ipv4 unicast vrf ospf2
Redistribute OSPF routes into BGP.
host1:default(config-router)#redistribute ospf
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.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1.x bgp and mplsBgpMpls

Table of Contents