version 14.1R1.10; groups { LDP-Link_Protect { protocols { mpls { label-switched-path <*> { ldp-tunneling; least-fill; node-link-protection; adaptive; } } ospf { area 0.0.0.0 { interface <*> { metric 1; } } } ldp { make-before-break { timeout 10; switchover-delay 30; } interface <*> { link-protection { dynamic-rsvp-lsp; } } } } } } system { host-name vMX7; time-zone America/Denver; root-authentication { encrypted-password "$1$9xL2shzU$g/Q69VyerfSQi.FG.MJKw0"; ## SECRET-DATA } services { ssh; } syslog { user * { any emergency; } file messages { any notice; authorization info; } file interactive-commands { interactive-commands any; } } } interfaces { ge-0/0/0 { unit 0 { family inet { address 1.1.7.2/30; } family mpls; } } ge-0/0/1 { unit 0 { family inet { address 1.2.7.2/30; } family mpls; } } ge-0/0/2 { flexible-vlan-tagging; encapsulation flexible-ethernet-services; unit 0 { encapsulation vlan-vpls; vlan-id 512; family vpls; } unit 513 { encapsulation vlan-ccc; vlan-id 513; input-vlan-map pop; output-vlan-map push; family ccc; } } lo0 { unit 0 { family inet { address 192.168.1.7/32; } } } } routing-options { router-id 192.168.1.7; autonomous-system 1; } protocols { apply-groups LDP-Link_Protect; rsvp { interface ge-0/0/0.0; interface ge-0/0/1.0; } mpls { traffic-engineering mpls-forwarding; label-switched-path vMX7-to-vMX5 { to 192.168.1.5; } label-switched-path vMX7-to-vMX6 { to 192.168.1.6; } interface ge-0/0/0.0; interface ge-0/0/1.0; } bgp { group ibgp { type internal; local-address 192.168.1.7; family inet { unicast; } family inet-vpn { unicast; } family l2vpn { signaling; } family evpn { signaling; } neighbor 192.168.1.5; neighbor 192.168.1.6; } } ospf { traffic-engineering; export OSPF_Export; area 0.0.0.0 { interface ge-0/0/0.0; interface ge-0/0/1.0; interface lo0.0; } } l2circuit { neighbor 192.168.1.5 { interface ge-0/0/2.513 { virtual-circuit-id 1200001203; } } neighbor 192.168.1.6; } lldp { interface all; } } policy-options { policy-statement OSPF_Export { term 1 { from protocol direct; then accept; } term 2 { from protocol static; then accept; } } } routing-instances { VPLS-Instance { instance-type vpls; vlan-id all; interface ge-0/0/2.0; route-distinguisher 1:10001; vrf-target { import target:1:10001; export target:1:10001; } protocols { vpls { interface ge-0/0/2.0; no-tunnel-services; site vMX6 { site-identifier 3; interface ge-0/0/2.0; } } } } }