set version 12.1R1.9 set system root-authentication encrypted-password "$1$v338CZP6$3r9/0HVRQaWBHjGoSbK6W0" set system services telnet 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 interfaces em0 unit 0 family inet address 10.1.1.1/30 set interfaces em0 unit 0 family iso set interfaces em0 unit 0 family mpls set interfaces em3 unit 0 description "** To CE-1 **" set interfaces em3 unit 0 family inet address 30.1.1.1/30 set interfaces em3 unit 0 family inet6 set interfaces lo0 unit 0 family inet address 1.1.1.1/32 set interfaces lo0 unit 0 family iso address 49.0001.0100.0100.0100.00 set routing-options router-id 1.1.1.1 set routing-options autonomous-system 1 set protocols mpls ipv6-tunneling set protocols mpls interface em0.0 set protocols bgp group CORE-MPLS type internal set protocols bgp group CORE-MPLS local-address 1.1.1.1 set protocols bgp group CORE-MPLS family inet any set protocols bgp group CORE-MPLS family inet-vpn any set protocols bgp group CORE-MPLS family inet6 any set protocols bgp group CORE-MPLS family inet6-vpn any set protocols bgp group CORE-MPLS neighbor 2.2.2.2 set protocols isis interface em0.0 level 1 disable set protocols isis interface lo0.0 level 1 disable set protocols ldp interface em0.0 set policy-options policy-statement VPN-EXPORT term 10 from protocol direct set policy-options policy-statement VPN-EXPORT term 10 from protocol static set policy-options policy-statement VPN-EXPORT term 10 from protocol ospf3 set policy-options policy-statement VPN-EXPORT term 10 then metric 10 set policy-options policy-statement VPN-EXPORT term 10 then community add SET-EXTCOM-RT-1:2888 set policy-options policy-statement VPN-EXPORT term 10 then accept set policy-options policy-statement VPN-EXPORT then reject set policy-options policy-statement VPN-IMPORT term 10 from protocol bgp set policy-options policy-statement VPN-IMPORT term 10 from community MATCH-EXTCOM-RT-1:2888 set policy-options policy-statement VPN-IMPORT term 10 then metric add 10 set policy-options policy-statement VPN-IMPORT term 10 then accept set policy-options policy-statement VPN-IMPORT then reject set policy-options policy-statement OSPF-EXPORT term 10 from protocol bgp set policy-options policy-statement OSPF-EXPORT term 10 then tag 65532 set policy-options policy-statement OSPF-EXPORT term 10 then accept set policy-options policy-statement OSPF-IMPORT term 10 from protocol ospf3 set policy-options policy-statement OSPF-IMPORT term 10 from tag 65532 set policy-options policy-statement OSPF-IMPORT term 10 then reject set policy-options policy-statement OSPF-IMPORT then accept set policy-options community MATCH-EXTCOM-RT-1:2888 members target:1:2888 set policy-options community SET-EXTCOM-RT-1:2888 members target:1:2888 set routing-instances VRF-OSPF description LAB-OSPF set routing-instances VRF-OSPF instance-type vrf set routing-instances VRF-OSPF interface em3.0 set routing-instances VRF-OSPF route-distinguisher 1:3 set routing-instances VRF-OSPF vrf-import VPN-IMPORT set routing-instances VRF-OSPF vrf-export VPN-EXPORT set routing-instances VRF-OSPF vrf-table-label set routing-instances VRF-OSPF routing-options auto-export set routing-instances VRF-OSPF protocols ospf3 realm ipv4-unicast area 0.0.0.0 interface em3.0 set routing-instances VRF-OSPF protocols ospf3 export OSPF-EXPORT set routing-instances VRF-OSPF protocols ospf3 import OSPF-IMPORT set routing-instances VRF-OSPF protocols ospf3 area 0.0.0.0 interface em3.0