vroot@PE1> show configuration | display set | no-more set version 17.4R2.4 set system host-name PE1 set system root-authentication encrypted-password "$6$qJUzx5OW$LJ0HtDLNZkUsxolQie6fozLmYD.8GQ3LR7RmAmMKot1NCEFo69PGtDZceNx.JldI/XJ3XWPs4gDK8ZikuJo9.." # jnpr123 set system syslog user * any emergency set system syslog file messages any notice set system syslog file messages authorization info set system syslog file interactive-commands interactive-commands any set chassis fpc 0 lite-mode set interfaces ge-0/0/1 unit 0 description P1-Fa1/0 set interfaces ge-0/0/1 unit 0 family inet address 10.0.101.2/24 set interfaces ge-0/0/1 unit 0 family iso set interfaces ge-0/0/1 unit 0 family inet6 address ::d:10:0:101:2/64 set interfaces ge-0/0/1 unit 0 family mpls set interfaces ge-0/0/2 unit 0 description P2-Fa1/0 set interfaces ge-0/0/2 unit 0 family inet address 10.0.201.2/24 set interfaces ge-0/0/2 unit 0 family iso set interfaces ge-0/0/2 unit 0 family inet6 address ::a:10:0:201:2/64 set interfaces ge-0/0/2 unit 0 family mpls set interfaces ge-0/0/3 description CPE1-Fa0/0 set interfaces ge-0/0/3 vlan-tagging set interfaces ge-0/0/3 encapsulation flexible-ethernet-services set interfaces ge-0/0/3 unit 10 vlan-id 10 set interfaces ge-0/0/3 unit 10 family inet address 192.168.1.1/24 set interfaces ge-0/0/3 unit 10 family inet6 address ::65:192:168:1:1/64 set interfaces lo0 unit 0 family inet address 10.255.1.1/32 set interfaces lo0 unit 0 family iso address 49.0001.0102.5500.1001.00 set interfaces lo0 unit 0 family inet6 address ::ffff:10:255:1:1/128 set routing-options router-id 10.255.1.1 set routing-options autonomous-system 65000 set protocols rsvp interface ge-0/0/1.0 set protocols rsvp interface ge-0/0/2.0 set protocols mpls optimize-adaptive-teardown p2p # Enable make-before-break set protocols mpls ipv6-tunneling # Required for 6PE/6vPE set protocols mpls icmp-tunneling # Show P/PE nodes in ICMP traceroutes for debugging set protocols mpls label-switched-path PE1>PE2 to 10.255.1.2 set protocols mpls label-switched-path PE1>PE2 install 10.255.1.2/32 active set protocols mpls label-switched-path PE1>PE2 record set protocols mpls label-switched-path PE1>PE2 primary PE1_P1_P2_PE2 set protocols mpls label-switched-path PE1>PE2 secondary PE2 set protocols mpls path PE2 10.255.1.2 loose # Without the "loose" keyword this won't work as 10.255.1.2 isn't directly connected to any interface set protocols mpls path PE1_P1_P2_PE2 10.0.101.1 strict set protocols mpls path PE1_P1_P2_PE2 10.1.12.2 strict set protocols mpls path PE1_P1_P2_PE2 10.0.202.2 strict set protocols mpls path PE1_P1_P2_PE2 10.255.1.2 strict set protocols mpls interface ge-0/0/1.0 set protocols mpls interface ge-0/0/2.0 set protocols bgp advertise-from-main-vpn-tables set protocols bgp vpn-apply-export set protocols bgp group RRs type internal set protocols bgp group RRs import PASS_ALL set protocols bgp group RRs family inet-vpn unicast set protocols bgp group RRs family inet6-vpn unicast set protocols bgp group RRs export PASS_ALL set protocols bgp group RRs peer-as 65000 set protocols bgp group RRs neighbor 10.255.0.254 description RR1 set protocols bgp group RRs neighbor 10.255.0.253 description RR2 set protocols isis level 2 wide-metrics-only # Must use wide metrics for TE set protocols isis level 1 disable set protocols isis interface ge-0/0/1.0 point-to-point set protocols isis interface ge-0/0/1.0 level 1 disable set protocols isis interface ge-0/0/2.0 point-to-point set protocols isis interface ge-0/0/2.0 level 1 disable set protocols isis interface lo0.0 passive set policy-options policy-statement PASS_ALL term 1 then accept set routing-instances CPE1 instance-type vrf set routing-instances CPE1 interface ge-0/0/3.10 set routing-instances CPE1 route-distinguisher 10.255.1.1:1 set routing-instances CPE1 vrf-target import target:65001:1 set routing-instances CPE1 vrf-target export target:65001:1 set routing-instances CPE1 vrf-table-label # Default mode for L3VPN is to assign no label set routing-instances CPE1 routing-options rib CPE1.inet6.0 aggregate route ::0/0 # Generate default v4 and v6 routes to the CPE set routing-instances CPE1 routing-options aggregate route 0.0.0.0/0 as-path path 65000 # Aggregate included CPE/peer-as in the path without this set routing-instances CPE1 protocols bgp group CPE1 type external set routing-instances CPE1 protocols bgp group CPE1 import PASS_ALL set routing-instances CPE1 protocols bgp group CPE1 export PASS_ALL set routing-instances CPE1 protocols bgp group CPE1 peer-as 65001 set routing-instances CPE1 protocols bgp group CPE1 as-override set routing-instances CPE1 protocols bgp group CPE1 neighbor 192.168.1.2 description CPE1 set routing-instances CPE1 protocols bgp group CPE1 neighbor ::65:192:168:1:2 description CPE1