set policy-options policy-statement Export-RI1 term Direct from protocol direct set policy-options policy-statement Export-RI1 term Direct then accept set policy-options policy-statement Export-RI1 term Reject then reject set policy-options policy-statement Export-RI2 term Direct from protocol direct set policy-options policy-statement Export-RI2 term Direct then accept set policy-options policy-statement Export-RI2 term BGP from protocol bgp set policy-options policy-statement Export-RI2 term BGP then accept set policy-options policy-statement Export-RI2 term Reject then reject set policy-options policy-statement Export-RI3 term Direct from protocol direct set policy-options policy-statement Export-RI3 term Direct then accept set policy-options policy-statement Export-RI3 term BGP from protocol bgp set policy-options policy-statement Export-RI3 term BGP then accept set policy-options policy-statement Export-RI3 term Reject then reject set policy-options policy-statement Export-RI4 term Direct from protocol direct set policy-options policy-statement Export-RI4 term Direct then accept set policy-options policy-statement Export-RI4 term Reject then reject set routing-instances RI1 interface em7.0 set routing-instances RI1 interface lo0.1 set routing-instances RI1 routing-options router-id 10.1.1.1 set routing-instances RI1 routing-options autonomous-system 65501 set routing-instances RI1 protocols bgp export Export-RI1 set routing-instances RI1 protocols bgp group RI2 type internal set routing-instances RI1 protocols bgp group RI2 local-address 12.12.12.1 set routing-instances RI1 protocols bgp group RI2 neighbor 12.12.12.2 set routing-instances RI2 interface em5.0 set routing-instances RI2 interface em6.0 set routing-instances RI2 interface lo0.2 set routing-instances RI2 routing-options router-id 10.2.2.2 set routing-instances RI2 routing-options autonomous-system 65501 set routing-instances RI2 protocols bgp export Export-RI2 set routing-instances RI2 protocols bgp group RI1 type internal set routing-instances RI2 protocols bgp group RI1 local-address 12.12.12.2 set routing-instances RI2 protocols bgp group RI1 neighbor 12.12.12.1 set routing-instances RI2 protocols bgp group RI3 type internal set routing-instances RI2 protocols bgp group RI3 local-address 23.23.23.2 set routing-instances RI2 protocols bgp group RI3 neighbor 23.23.23.3 set routing-instances RI3 interface em3.0 set routing-instances RI3 interface em4.0 set routing-instances RI3 interface lo0.3 set routing-instances RI3 routing-options router-id 3.3.3.3 set routing-instances RI3 routing-options autonomous-system 65501 set routing-instances RI3 protocols bgp export Export-RI3 set routing-instances RI3 protocols bgp cluster 3.3.3.3 set routing-instances RI3 protocols bgp group RI2 type internal set routing-instances RI3 protocols bgp group RI2 local-address 23.23.23.3 set routing-instances RI3 protocols bgp group RI2 no-client-reflect set routing-instances RI3 protocols bgp group RI2 neighbor 23.23.23.2 set routing-instances RI3 protocols bgp group RI4 type internal set routing-instances RI3 protocols bgp group RI4 local-address 34.34.34.3 set routing-instances RI3 protocols bgp group RI4 neighbor 34.34.34.4 set routing-instances RI4 interface em2.0 set routing-instances RI4 interface lo0.4 set routing-instances RI4 routing-options router-id 10.4.4.4 set routing-instances RI4 routing-options autonomous-system 65501 set routing-instances RI4 protocols bgp export Export-RI4 set routing-instances RI4 protocols bgp group RI3 type internal set routing-instances RI4 protocols bgp group RI3 local-address 34.34.34.4 set routing-instances RI4 protocols bgp group RI3 neighbor 34.34.34.3 admin@MX> show route protocol direct table RI1 terse RI1.inet.0: 44 destinations, 61 routes (44 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path * 10.1.1.0/24 D 0 >lo0.1 * 10.1.2.0/24 D 0 >lo0.1 * 10.1.3.0/24 D 0 >lo0.1 * 10.1.4.0/24 D 0 >lo0.1 * 12.12.12.0/24 D 0 >em7.0 * 172.16.100.0/24 D 0 >lo0.1 * 172.16.101.0/24 D 0 >lo0.1 * 172.16.102.0/24 D 0 >lo0.1 * 172.16.103.0/24 D 0 >lo0.1 * 192.168.100.0/24 D 0 >lo0.1 * 192.168.101.0/24 D 0 >lo0.1 * 192.168.102.0/24 D 0 >lo0.1 * 192.168.103.0/24 D 0 >lo0.1 admin@MX> show route advertising-protocol bgp 12.12.12.2 RI1.inet.0: 44 destinations, 61 routes (44 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path * 10.1.1.0/24 Self 100 I * 10.1.2.0/24 Self 100 I * 10.1.3.0/24 Self 100 I * 10.1.4.0/24 Self 100 I * 12.12.12.0/24 Self 100 I * 172.16.100.0/24 Self 100 I * 172.16.101.0/24 Self 100 I * 172.16.102.0/24 Self 100 I * 172.16.103.0/24 Self 100 I * 192.168.100.0/24 Self 100 I * 192.168.101.0/24 Self 100 I * 192.168.102.0/24 Self 100 I * 192.168.103.0/24 Self 100 I admin@MX> show route protocol direct table RI2 terse RI2.inet.0: 59 destinations, 77 routes (59 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path * 10.2.1.0/24 D 0 >lo0.2 * 10.2.2.0/24 D 0 >lo0.2 * 10.2.3.0/24 D 0 >lo0.2 * 10.2.4.0/24 D 0 >lo0.2 * 12.12.12.0/24 D 0 >em6.0 * 23.23.23.0/24 D 0 >em5.0 * 172.17.100.0/24 D 0 >lo0.2 * 172.17.101.0/24 D 0 >lo0.2 * 172.17.102.0/24 D 0 >lo0.2 * 172.17.103.0/24 D 0 >lo0.2 * 192.168.104.0/24 D 0 >lo0.2 * 192.168.105.0/24 D 0 >lo0.2 * 192.168.106.0/24 D 0 >lo0.2 * 192.168.107.0/24 D 0 >lo0.2 admin@MX> show route advertising-protocol bgp 23.23.23.3 RI2.inet.0: 59 destinations, 77 routes (59 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path * 10.2.1.0/24 Self 100 I * 10.2.2.0/24 Self 100 I * 10.2.3.0/24 Self 100 I * 10.2.4.0/24 Self 100 I * 12.12.12.0/24 Self 100 I * 23.23.23.0/24 Self 100 I * 172.17.100.0/24 Self 100 I * 172.17.101.0/24 Self 100 I * 172.17.102.0/24 Self 100 I * 172.17.103.0/24 Self 100 I * 192.168.104.0/24 Self 100 I * 192.168.105.0/24 Self 100 I * 192.168.106.0/24 Self 100 I * 192.168.107.0/24 Self 100 I admin@MX> show route advertising-protocol bgp 12.12.12.1 RI2.inet.0: 59 destinations, 77 routes (59 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path * 10.2.1.0/24 Self 100 I * 10.2.2.0/24 Self 100 I * 10.2.3.0/24 Self 100 I * 10.2.4.0/24 Self 100 I * 12.12.12.0/24 Self 100 I * 23.23.23.0/24 Self 100 I * 172.17.100.0/24 Self 100 I * 172.17.101.0/24 Self 100 I * 172.17.102.0/24 Self 100 I * 172.17.103.0/24 Self 100 I * 192.168.104.0/24 Self 100 I * 192.168.105.0/24 Self 100 I * 192.168.106.0/24 Self 100 I * 192.168.107.0/24 Self 100 I admin@MX> show route receive-protocol bgp 12.12.12.1 RI2.inet.0: 59 destinations, 77 routes (59 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path 10.1.1.0/24 12.12.12.1 100 I 10.1.2.0/24 12.12.12.1 100 I 10.1.3.0/24 12.12.12.1 100 I 10.1.4.0/24 12.12.12.1 100 I 12.12.12.0/24 12.12.12.1 100 I 172.16.100.0/24 12.12.12.1 100 I 172.16.101.0/24 12.12.12.1 100 I 172.16.102.0/24 12.12.12.1 100 I 172.16.103.0/24 12.12.12.1 100 I 192.168.100.0/24 12.12.12.1 100 I 192.168.101.0/24 12.12.12.1 100 I 192.168.102.0/24 12.12.12.1 100 I 192.168.103.0/24 12.12.12.1 100 I admin@MX> show route receive-protocol bgp 23.23.23.3 RI2.inet.0: 59 destinations, 77 routes (59 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path * 10.3.1.0/24 23.23.23.3 100 I * 10.3.2.0/24 23.23.23.3 100 I * 10.3.3.0/24 23.23.23.3 100 I * 10.3.4.0/24 23.23.23.3 100 I 23.23.23.0/24 23.23.23.3 100 I * 34.34.34.0/24 23.23.23.3 100 I * 172.18.100.0/24 23.23.23.3 100 I * 172.18.101.0/24 23.23.23.3 100 I * 172.18.102.0/24 23.23.23.3 100 I * 172.18.103.0/24 23.23.23.3 100 I * 192.168.108.0/24 23.23.23.3 100 I * 192.168.109.0/24 23.23.23.3 100 I * 192.168.110.0/24 23.23.23.3 100 I * 192.168.111.0/24 23.23.23.3 100 I RI3.inet.0: 55 destinations, 59 routes (55 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path * 10.3.1.0/24 D 0 >lo0.3 * 10.3.2.0/24 D 0 >lo0.3 * 10.3.3.0/24 D 0 >lo0.3 * 10.3.4.0/24 D 0 >lo0.3 * 23.23.23.0/24 D 0 >em4.0 * 34.34.34.0/24 D 0 >em3.0 * 172.18.100.0/24 D 0 >lo0.3 * 172.18.101.0/24 D 0 >lo0.3 * 172.18.102.0/24 D 0 >lo0.3 * 172.18.103.0/24 D 0 >lo0.3 * 192.168.108.0/24 D 0 >lo0.3 * 192.168.109.0/24 D 0 >lo0.3 * 192.168.110.0/24 D 0 >lo0.3 * 192.168.111.0/24 D 0 >lo0.3 admin@MX> show route advertising-protocol bgp 23.23.23.2 RI3.inet.0: 55 destinations, 59 routes (55 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path * 10.3.1.0/24 Self 100 I * 10.3.2.0/24 Self 100 I * 10.3.3.0/24 Self 100 I * 10.3.4.0/24 Self 100 I * 23.23.23.0/24 Self 100 I * 34.34.34.0/24 Self 100 I * 172.18.100.0/24 Self 100 I * 172.18.101.0/24 Self 100 I * 172.18.102.0/24 Self 100 I * 172.18.103.0/24 Self 100 I * 192.168.108.0/24 Self 100 I * 192.168.109.0/24 Self 100 I * 192.168.110.0/24 Self 100 I * 192.168.111.0/24 Self 100 I admin@MX> show route advertising-protocol bgp 34.34.34.4 RI3.inet.0: 55 destinations, 59 routes (55 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path * 10.2.1.0/24 23.23.23.2 100 I * 10.2.2.0/24 23.23.23.2 100 I * 10.2.3.0/24 23.23.23.2 100 I * 10.2.4.0/24 23.23.23.2 100 I * 10.3.1.0/24 Self 100 I * 10.3.2.0/24 Self 100 I * 10.3.3.0/24 Self 100 I * 10.3.4.0/24 Self 100 I * 12.12.12.0/24 23.23.23.2 100 I * 23.23.23.0/24 Self 100 I * 34.34.34.0/24 Self 100 I * 172.17.100.0/24 23.23.23.2 100 I * 172.17.101.0/24 23.23.23.2 100 I * 172.17.102.0/24 23.23.23.2 100 I * 172.17.103.0/24 23.23.23.2 100 I * 172.18.100.0/24 Self 100 I * 172.18.101.0/24 Self 100 I * 172.18.102.0/24 Self 100 I * 172.18.103.0/24 Self 100 I * 192.168.104.0/24 23.23.23.2 100 I * 192.168.105.0/24 23.23.23.2 100 I * 192.168.106.0/24 23.23.23.2 100 I * 192.168.107.0/24 23.23.23.2 100 I * 192.168.108.0/24 Self 100 I * 192.168.109.0/24 Self 100 I * 192.168.110.0/24 Self 100 I * 192.168.111.0/24 Self 100 I admin@MX> show route receive-protocol bgp 23.23.23.2 RI3.inet.0: 55 destinations, 59 routes (55 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path * 10.2.1.0/24 23.23.23.2 100 I * 10.2.2.0/24 23.23.23.2 100 I * 10.2.3.0/24 23.23.23.2 100 I * 10.2.4.0/24 23.23.23.2 100 I * 12.12.12.0/24 23.23.23.2 100 I 23.23.23.0/24 23.23.23.2 100 I * 172.17.100.0/24 23.23.23.2 100 I * 172.17.101.0/24 23.23.23.2 100 I * 172.17.102.0/24 23.23.23.2 100 I * 172.17.103.0/24 23.23.23.2 100 I * 192.168.104.0/24 23.23.23.2 100 I * 192.168.105.0/24 23.23.23.2 100 I * 192.168.106.0/24 23.23.23.2 100 I * 192.168.107.0/24 23.23.23.2 100 I admin@MX> show route receive-protocol bgp 34.34.34.3 RI4.inet.0: 54 destinations, 55 routes (54 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path * 10.2.1.0/24 23.23.23.2 100 I * 10.2.2.0/24 23.23.23.2 100 I * 10.2.3.0/24 23.23.23.2 100 I * 10.2.4.0/24 23.23.23.2 100 I * 10.3.1.0/24 34.34.34.3 100 I * 10.3.2.0/24 34.34.34.3 100 I * 10.3.3.0/24 34.34.34.3 100 I * 10.3.4.0/24 34.34.34.3 100 I * 12.12.12.0/24 23.23.23.2 100 I * 23.23.23.0/24 34.34.34.3 100 I 34.34.34.0/24 34.34.34.3 100 I * 172.17.100.0/24 23.23.23.2 100 I * 172.17.101.0/24 23.23.23.2 100 I * 172.17.102.0/24 23.23.23.2 100 I * 172.17.103.0/24 23.23.23.2 100 I * 172.18.100.0/24 34.34.34.3 100 I * 172.18.101.0/24 34.34.34.3 100 I * 172.18.102.0/24 34.34.34.3 100 I * 172.18.103.0/24 34.34.34.3 100 I * 192.168.104.0/24 23.23.23.2 100 I * 192.168.105.0/24 23.23.23.2 100 I * 192.168.106.0/24 23.23.23.2 100 I * 192.168.107.0/24 23.23.23.2 100 I * 192.168.108.0/24 34.34.34.3 100 I * 192.168.109.0/24 34.34.34.3 100 I * 192.168.110.0/24 34.34.34.3 100 I * 192.168.111.0/24 34.34.34.3 100 I admin@MX# delete protocols bgp group RI2 no-client-reflect [edit routing-instances RI3] admin@MX# commit and-quit commit complete Exiting configuration mode admin@MX> show route advertising-protocol bgp 23.23.23.2 RI3.inet.0: 55 destinations, 59 routes (55 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path * 10.3.1.0/24 Self 100 I * 10.3.2.0/24 Self 100 I * 10.3.3.0/24 Self 100 I * 10.3.4.0/24 Self 100 I * 10.4.1.0/24 34.34.34.4 100 I * 10.4.2.0/24 34.34.34.4 100 I * 10.4.3.0/24 34.34.34.4 100 I * 10.4.4.0/24 34.34.34.4 100 I * 23.23.23.0/24 Self 100 I * 34.34.34.0/24 Self 100 I * 172.18.100.0/24 Self 100 I * 172.18.101.0/24 Self 100 I * 172.18.102.0/24 Self 100 I * 172.18.103.0/24 Self 100 I * 172.19.100.0/24 34.34.34.4 100 I * 172.19.101.0/24 34.34.34.4 100 I * 172.19.102.0/24 34.34.34.4 100 I * 172.19.103.0/24 34.34.34.4 100 I * 192.168.108.0/24 Self 100 I * 192.168.109.0/24 Self 100 I * 192.168.110.0/24 Self 100 I * 192.168.111.0/24 Self 100 I * 192.168.114.0/24 34.34.34.4 100 I * 192.168.115.0/24 34.34.34.4 100 I admin@MX> show route receive-protocol bgp 23.23.23.3 RI2.inet.0: 69 destinations, 73 routes (69 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path * 10.3.1.0/24 23.23.23.3 100 I * 10.3.2.0/24 23.23.23.3 100 I * 10.3.3.0/24 23.23.23.3 100 I * 10.3.4.0/24 23.23.23.3 100 I * 10.4.1.0/24 34.34.34.4 100 I * 10.4.2.0/24 34.34.34.4 100 I * 10.4.3.0/24 34.34.34.4 100 I * 10.4.4.0/24 34.34.34.4 100 I 23.23.23.0/24 23.23.23.3 100 I * 34.34.34.0/24 23.23.23.3 100 I * 172.18.100.0/24 23.23.23.3 100 I * 172.18.101.0/24 23.23.23.3 100 I * 172.18.102.0/24 23.23.23.3 100 I * 172.18.103.0/24 23.23.23.3 100 I * 172.19.100.0/24 34.34.34.4 100 I * 172.19.101.0/24 34.34.34.4 100 I * 172.19.102.0/24 34.34.34.4 100 I * 172.19.103.0/24 34.34.34.4 100 I * 192.168.108.0/24 23.23.23.3 100 I * 192.168.109.0/24 23.23.23.3 100 I * 192.168.110.0/24 23.23.23.3 100 I * 192.168.111.0/24 23.23.23.3 100 I * 192.168.114.0/24 34.34.34.4 100 I * 192.168.115.0/24 34.34.34.4 100 I