## Last commit: 2015-09-12 17:39:25 UTC by admin version 12.1R1.9; system { host-name JU-PE; root-authentication { encrypted-password "$1$1H5aTFS0$IkaPgQFQ7a//oUN8NORJ80"; ## SECRET-DATA } login { user admin { uid 2000; class super-user; authentication { encrypted-password "$1$UuKb89J8$DzylIClmLh90GNiWdJox50"; ## SECRET-DATA } } } services { telnet { connection-limit 250; } } syslog { user * { any emergency; } file messages { any notice; authorization info; } file interactive-commands { interactive-commands any; } } } interfaces { em0 { unit 0 { family inet { address 10.1.12.2/30; } family mpls; } } em1 { unit 0 { family inet { address 10.1.11.2/30; } family mpls; } } em2 { vlan-tagging; unit 2 { vlan-id 2; family inet { address 10.1.14.1/24; } } unit 3 { vlan-id 3; family inet { address 10.1.13.1/24; } family mpls; } } lo0 { unit 0 { family inet { address 100.1.1.1/32; } family mpls; } } } routing-options { router-id 100.1.1.1; autonomous-system 100; } protocols { bgp { group 1 { type internal; family inet { unicast; } export [ bgp-export-local-routes bgp-nhs ]; vpn-apply-export; neighbor 100.1.1.99 { local-address 100.1.1.1; peer-as 100; } neighbor 100.1.1.2 { local-address 100.1.1.1; family inet { unicast; } family inet-vpn { unicast; } peer-as 100; } neighbor 100.1.1.3 { local-address 100.1.1.1; family inet { unicast; } family inet-vpn { unicast; } cluster 1.1.1.1; peer-as 100; } } } ospf { area 0.0.0.0 { interface em0.0; interface em1.0; interface lo0.0; } } ldp { interface em0.0; interface em1.0; interface em2.3; interface lo0.0; } } policy-options { policy-statement bgp-export-local-routes { from { route-filter 10.1.13.0/24 exact; } then accept; } policy-statement bgp-nhs { term 1 { from protocol bgp; then { next-hop self; } } } policy-statement vrfa-export { term 1 { from protocol bgp; then { community add vrfa; accept; } } term 2 { from protocol static; then { community add vrfa; accept; } } term 3 { from protocol direct; then { community add vrfa; accept; } } } policy-statement vrfa-import { from { protocol bgp; community vrfa; } then accept; } community vrfa members target:200.1.1.1:1; } routing-instances { vrfa { instance-type vrf; interface em2.2; route-distinguisher 200.1.1.1:1; vrf-import vrfa-import; vrf-export vrfa-export; vrf-table-label; routing-options { static { route 5.5.5.5/32 discard; } } } } admin@JU-PE>