version 14.1R1.10; groups { LDP-Link_Protect { protocols { 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 vMX5; 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.5.2/30; } family mpls; } } ge-0/0/1 { unit 0 { family inet { address 1.3.5.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; } } ge-0/0/3 { vlan-tagging; unit 0 { vlan-id 200; family inet { address 6.6.6.1/24; } } } lo0 { unit 0 { family inet { address 192.168.1.5/32; } } } } routing-options { router-id 192.168.1.5; autonomous-system 1; } protocols { rsvp { interface ge-0/0/0.0; interface ge-0/0/1.0; } mpls { traffic-engineering mpls-forwarding; label-switched-path vMX5-to-vMX6 { to 192.168.1.6; } label-switched-path vMX5-to-vMX7 { to 192.168.1.7; } interface ge-0/0/0.0; interface ge-0/0/1.0; } bgp { group ibgp { type internal; local-address 192.168.1.5; family inet { unicast; } family inet-vpn { unicast; } family l2vpn { signaling; } family evpn { signaling; } neighbor 192.168.1.6; neighbor 192.168.1.7; } } ospf { apply-groups LDP-Link_Protect; 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 { traceoptions { file protocol size 10k files 4; flag egress-protection; flag error; flag connections; } neighbor 192.168.1.6; neighbor 192.168.1.7 { interface ge-0/0/2.513 { virtual-circuit-id 1200001203; } } } 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-PC2_to_PC1 { 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 2; interface ge-0/0/2.0; } } } } }