Date created: 01/11/16 10:29:35. Last modified: 11/13/17 16:58:49

L3VPN PE Example

# P-facing core interface
set interfaces ge-0/0/47 mtu 9192
set interfaces ge-0/0/47 unit 0 family inet address 10.101.14.118/30
set interfaces ge-0/0/47 unit 0 family mpls

# Enable LDP on the P/Core facing interface
set protocols ldp interface ge-0/0/47.0

# Core loopback
set interfaces lo0 unit 0 family inet address 10.101.12.245/32

# IGP routing
set protocols ospf area 0.0.0.1 interface lo0.0
set protocols ospf area 0.0.0.1 interface ge-0/0/47.0

# MP-iBGP label signalling between PE's
set protocols bgp group ibgp type internal
set protocols bgp group ibgp local-address 10.101.12.245
set protocols bgp group ibgp mtu-discovery
set protocols bgp group ibgp authentication-key "abc123"
set protocols bgp group ibgp peer-as 123456
set protocols bgp group ibgp family inet-vpn unicast
set protocols bgp group ibgp neighbor 10.101.0.254 description core-pe-2

# PE-CE test interface
set interfaces lo0 unit 1 family inet address 1.2.3.4/32

# MPLS L3VPN config
set routing-instances one instance-type vrf
set routing-instances one interface lo0.1
set routing-instances one route-distinguisher 10.101.12.245:1
set routing-instances one vrf-target import target:1:1
set routing-instances one vrf-target export target:1:1
set routing-instances one vrf-table-label