edit load factory-defaultset version 21.1R1.11 set system host-name PE1 set system root-authentication encrypted-password "$6$iV87lLLH$J5PgOILA3bCKA8wp4hBeNoK7QS6tb/MP9Z9iJlpuDD0gbgmgmdRrA2pIVIMfxhirrQGcZlvKGqUJYWfKgGPHZ." set system scripts language python3 set system login user jcluser uid 2000 set system login user jcluser class super-user set system login user jcluser authentication encrypted-password "$6$w/7lX5wK$dToen.eIS.Zh6zKaDVfLBfw4vaUJgbM6l0.EP7D.l6WPO3eTmKxoQiNe2mx00ANM799O4gJbQGbIgA6UUzYl4." set system services ssh root-login allow set system services netconf ssh set system services rest http port 3000 set system services rest enable-explorer set system time-zone America/Montreal 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 pic 0 number-of-ports 8 set chassis fpc 0 lite-mode set interfaces ge-0/0/0 unit 0 description "Link from PE1 to CE1" set interfaces ge-0/0/0 unit 0 family inet address 192.168.200.1/30 set interfaces ge-0/0/0 unit 0 family iso set interfaces ge-0/0/1 unit 0 description "Link from PE1 to P" set interfaces ge-0/0/1 unit 0 family inet address 192.168.211.2/30 set interfaces ge-0/0/1 unit 0 family iso set interfaces ge-0/0/1 unit 0 family mpls set interfaces fxp0 unit 0 family inet address 100.123.1.1/16 set interfaces lo0 unit 0 family inet address 192.168.2.2/32 set interfaces lo0 unit 0 family inet address 192.168.2.22/32 set interfaces lo0 unit 0 family iso address 49.0001.1921.6800.2002.00 set policy-options prefix-list pre-DEFAULTRTE 10.0.0.0/8 set policy-options prefix-list pre-DEFAULTRTE 172.16.0.0/16 set policy-options prefix-list pre-CUST 10.1.0.0/24 set policy-options prefix-list pre-CUST 10.1.1.0/24 set policy-options prefix-list pre-CUST 10.1.2.0/24 set policy-options prefix-list pre-CUST 10.1.3.0/24 set policy-options prefix-list pre-CUST 192.168.200.0/30 set policy-options policy-statement DEFAULT-RTE term term-ALLOW from prefix-list pre-DEFAULTRTE set policy-options policy-statement DEFAULT-RTE term term-ALLOW then accept set policy-options policy-statement DEFAULT-RTE term term-ELSE then reject set policy-options policy-statement EGRESS_LDP term EXPORT from protocol direct set policy-options policy-statement EGRESS_LDP term EXPORT then accept set policy-options policy-statement pol-CUST term term-CUST from prefix-list pre-CUST set policy-options policy-statement pol-CUST term term-CUST then next-hop self set policy-options policy-statement pol-CUST term term-CUST then accept set policy-options policy-statement pol-CUST term term-REST then reject set protocols bgp group CUST type external set protocols bgp group CUST local-address 192.168.200.1 set protocols bgp group CUST export DEFAULT-RTE set protocols bgp group CUST peer-as 65501 set protocols bgp group CUST local-as 65500 set protocols bgp group CUST neighbor 192.168.200.2 set protocols bgp group ISP type internal set protocols bgp group ISP local-address 192.168.2.2 set protocols bgp group ISP export pol-CUST set protocols bgp group ISP peer-as 65500 set protocols bgp group ISP local-as 65500 set protocols bgp group ISP neighbor 192.168.2.4 set protocols isis interface ge-0/0/0.0 passive set protocols isis interface ge-0/0/1.0 level 1 disable set protocols isis interface lo0.0 set protocols ldp egress-policy EGRESS_LDP set protocols ldp transport-address 192.168.2.2 set protocols ldp interface ge-0/0/1.0 link-protection set protocols mpls interface ge-0/0/1.0 set routing-options router-id 192.168.2.2 set routing-options autonomous-system 65500 set routing-options static route 0.0.0.0/0 next-hop 100.123.0.1 set routing-options static route 172.16.0.0/16 discard set routing-options static route 10.0.0.0/8 discard run clear log messages commi confi 1