root@ISP-A> show configuration ## Last commit: 2017-09-19 21:02:31 UTC by root version 14.1R1.10; system { host-name ISP-A; root-authentication { encrypted-password "$1$1kUuiDb4$IRjw6lHPlxnsSKSi7.OxJ0"; ## SECRET-DATA } syslog { user * { any emergency; } file messages { any notice; authorization info; } file interactive-commands { interactive-commands any; } } } logical-systems { vGW-Customer-A { interfaces { ge-0/0/0 { unit 0; } lt-0/0/10 { unit 12; unit 13; } lo0 { unit 0; } } protocols { bgp { group Customer-A { export [ INTERNAL INTERCO ]; peer-as 65501; neighbor 10.0.0.1; } inactive: group iBGP { type internal; local-address 192.168.0.1; export nhs; neighbor 192.168.0.3; } } ospf { export REMOTE; area 0.0.0.0 { interface lo0.0 { passive; } interface lt-0/0/10.12; interface lt-0/0/10.13; } } } policy-options { prefix-list LAN { 10.15.0.0/16; } prefix-list LOOPBACK { 192.168.0.0/24; } prefix-list INTERCO { 10.0.0.0/30; } policy-statement INTERCO { from { protocol direct; prefix-list INTERCO; } then accept; } policy-statement INTERNAL { from { protocol direct; prefix-list LAN; prefix-list LOOPBACK; } then accept; } policy-statement REMOTE { from protocol bgp; then accept; } policy-statement nhs { then { next-hop self; } } } routing-options { autonomous-system 65502; } } vGW-ISP-B { interfaces { ge-0/0/1 { unit 0; } lt-0/0/10 { unit 21; unit 23; } lo0 { unit 1; } } protocols { bgp { group ISP-B { export [ EXPORT_INTERCO EXPORT_INTERNAL ]; peer-as 65503; neighbor 10.0.5.2; } inactive: group iBGP { type internal; local-address 192.168.0.2; neighbor 192.168.0.3; } } ospf { export EXPORT_REMOTE; area 0.0.0.0 { interface lo0.1 { passive; } interface lt-0/0/10.21; interface lt-0/0/10.23; } } } policy-options { prefix-list INTERCO { 10.0.5.0/30; } prefix-list INTERNAL { 10.15.0.0/16; 192.168.0.0/24; } policy-statement EXPORT_INTERCO { from { protocol direct; prefix-list INTERCO; } then accept; } policy-statement EXPORT_INTERNAL { from { protocol aggregate; prefix-list INTERNAL; } then accept; } policy-statement EXPORT_REMOTE { from protocol bgp; then accept; } policy-statement update_aggregate { from protocol aggregate; then accept; } } routing-options { aggregate { route 10.15.0.0/16; route 192.168.0.0/24; } autonomous-system 65502; } } vR1 { interfaces { lt-0/0/10 { unit 31; unit 32; } lo0 { unit 2; } } protocols { bgp { inactive: group iBGP { type internal; local-address 192.168.0.3; export nhs; cluster 192.168.0.3; neighbor 192.168.0.1; neighbor 192.168.0.2; } } ospf { area 0.0.0.0 { interface lo0.2 { passive; } interface lt-0/0/10.31; interface lt-0/0/10.32; } } } policy-options { policy-statement nhs { then { next-hop self; } } } routing-options { autonomous-system 65502; } } } chassis { fpc 0 { pic 0 { tunnel-services { bandwidth 1g; } } } } interfaces { ge-0/0/0 { description ISP-A->Customer-A; unit 0 { family inet { address 10.0.0.2/30; } } } ge-0/0/1 { description ISP-A->ISP-B; unit 0 { family inet { address 10.0.5.1/30; } } } lt-0/0/10 { unit 12 { description vGW-Customer-A->vGW-ISP-B; encapsulation ethernet; peer-unit 21; family inet { address 10.15.0.1/30; } } unit 13 { description vGW-Customer-A->vR1; encapsulation ethernet; peer-unit 31; family inet { address 10.15.5.1/30; } } unit 21 { description vGW-ISP-B->vGW-Customer-A; encapsulation ethernet; peer-unit 12; family inet { address 10.15.0.2/30; } } unit 23 { description vGW-ISP-B->vR1; encapsulation ethernet; peer-unit 32; family inet { address 10.15.10.1/30; } } unit 31 { description vR1->vGW-Customer-A; encapsulation ethernet; peer-unit 13; family inet { address 10.15.5.2/30; } } unit 32 { description vR1->vGW-ISP-B; encapsulation ethernet; peer-unit 23; family inet { address 10.15.10.2/30; } } } lo0 { unit 0 { family inet { address 192.168.0.1/32; } } unit 1 { family inet { address 192.168.0.2/32; } } unit 2 { family inet { address 192.168.0.3/32; } } } } root@ISP-A>