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.
domain-tag
• Use to set the VPN route tag for an OSPF VRF on a PE router.
• The default value is a 32-bit number based on the AS number of the BGP/MPLS VPN
backbone, with the first 16 bits set to 1110 0000 0000 0000, followed by the 16 bits
representing the AS number.
• Example
host1:default:ospf2(config-router)#domain-tag 1200
• Use the no version to restore the default value.
• See domain-tag.
Configuring VPLS
You can configure one or more instances of the Virtual Private LAN Service (VPLS),
referred to as VPLS instances, on the router. VPLS is a BGP-MPLS application that has
much in common with BGP/MPLS VPNs. VPLS employs a layer 2 virtual private network
(VPN) to connect multiple individual LANs across a service provider’s MPLS core network.
The geographically dispersed multiple LANs functions as a single virtual LAN.
For details about configuring and using VPLS, see “Configuring VPLS” on page 589.
Configuring L2VPNs
You can configure one or more instances of a Layer 2 Virtual Private Network (L2VPN),
referred to as L2VPN instances, on the router. An L2VPN, sometimes referred to as Virtual
Private Wire Service (VPWS), is a BGP-MPLS application that has much in common with
BGP/MPLS VPNs. L2VPNs employ layer 2 services over MPLS to build a topology of
Copyright © 2010, Juniper Networks, Inc.486
JunosE 11.2.x BGP and MPLS Configuration Guide