R1
## Last commit: 2011-06-23 16:10:40 UTC by root
version 10.0R3.10;
system {
host-name R1;
root-authentication {
encrypted-password "$1$Le7q3/yU$l2sBlzemteXJhXQBnqnFX."; ## SECRET-DATA
}
services {
ssh {
root-login allow;
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em1 {
unit 0 {
family inet {
address 192.168.1.1/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 1.1.1.1/32;
}
}
}
}
routing-options {
router-id 1.1.1.1;
autonomous-system 2222;
}
protocols {
bgp {
group expo {
type external;
export export_bgp;
peer-as 65010;
neighbor 192.168.1.2;
}
}
}
policy-options {
policy-statement export_bgp {
then accept;
}
}
R2
root@R2# run show configuration
## Last commit: 2011-06-23 16:19:34 UTC by root
version 10.0R3.10;
system {
host-name R2;
root-authentication {
encrypted-password "$1$Le7q3/yU$l2sBlzemteXJhXQBnqnFX."; ## SECRET-DATA
}
services {
ssh {
root-login allow;
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em0 {
unit 0 {
family inet {
address 192.168.10.2/32;
}
}
}
em1 {
unit 0 {
family inet {
address 192.168.2.2/24;
}
}
}
em2 {
unit 0 {
family inet {
address 192.168.3.2/24;
}
}
}
em3 {
unit 0 {
family inet {
address 192.168.1.2/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 1.1.1.2/32;
}
}
}
}
routing-options {
router-id 1.1.1.2;
autonomous-system 65010;
}
protocols {
bgp {
group internal-peers {
type internal;
export export_bgp;
neighbor 192.168.2.3;
}
group external-peers {
type external;
export export_bgp;
neighbor 192.168.1.1 {
peer-as 2222;
}
}
}
ospf {
area 0.0.0.0 {
interface em1.0;
interface lo0.0;
interface em0.0;
}
}
}
policy-options {
policy-statement export_bgp {
then accept;
}
}
R3
## Last commit: 2011-06-23 18:19:36 UTC by root
version 10.0R3.10;
system {
host-name R3;
root-authentication {
encrypted-password "$1$Le7q3/yU$l2sBlzemteXJhXQBnqnFX."; ## SECRET-DATA
}
services {
ssh {
root-login allow;
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em0 {
unit 0 {
family inet {
address 192.168.13.1/32;
}
}
}
em1 {
unit 0 {
family inet {
address 192.168.2.3/24;
}
}
}
em2 {
unit 0 {
family inet {
address 192.168.4.3/24;
}
}
}
em3 {
unit 0 {
family inet {
address 192.168.5.3/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 1.1.1.3/32;
}
}
}
}
routing-options {
router-id 1.1.1.3;
autonomous-system 65010;
}
protocols {
bgp {
group internal-peers {
type internal;
cluster 10.10.10.3;
neighbor 192.168.2.2;
neighbor 192.168.5.4;
}
group R3-R6 {
type internal;
export export_bgp;
cluster 10.10.10.36;
neighbor 192.168.4.6;
}
}
ospf {
export export_bgp;
area 0.0.0.0 {
interface em1.0;
interface em3.0;
interface lo0.0;
interface em0.0;
}
}
}
policy-options {
policy-statement export_bgp {
then accept;
}
}
R4
## Last commit: 2011-06-23 16:23:13 UTC by root
version 10.0R3.10;
system {
host-name R4;
root-authentication {
encrypted-password "$1$Le7q3/yU$l2sBlzemteXJhXQBnqnFX."; ## SECRET-DATA
}
services {
ssh {
root-login allow;
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em0 {
unit 0 {
family inet {
address 192.168.10.4/32;
}
}
}
em1 {
unit 0 {
family inet {
address 192.168.3.4/24;
}
}
}
em2 {
unit 0 {
family inet {
address 192.168.5.4/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 1.1.1.4/32;
}
}
}
}
routing-options {
router-id 1.1.1.4;
autonomous-system 65010;
}
protocols {
bgp {
group internal-peers {
type internal;
neighbor 192.168.5.3;
}
}
ospf {
area 0.0.0.0 {
interface em2.0;
interface lo0.0;
interface em0.0;
}
}
}
R5
## Last commit: 2011-06-23 17:59:52 UTC by root
version 10.0R3.10;
system {
host-name R5;
root-authentication {
encrypted-password "$1$Le7q3/yU$l2sBlzemteXJhXQBnqnFX."; ## SECRET-DATA
}
services {
ssh {
root-login allow;
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em1 {
unit 0 {
family inet {
address 192.168.8.5/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 1.1.1.5/32;
}
}
}
}
routing-options {
router-id 1.1.1.5;
autonomous-system 3333;
}
protocols {
bgp {
group external {
type external;
export export_bgp;
peer-as 65010;
neighbor 192.168.8.7;
}
}
}
policy-options {
policy-statement export_bgp {
then accept;
}
}
R6
## Last commit: 2011-06-23 18:17:11 UTC by root
version 10.0R3.10;
system {
host-name R6;
root-authentication {
encrypted-password "$1$Le7q3/yU$l2sBlzemteXJhXQBnqnFX."; ## SECRET-DATA
}
services {
ssh {
root-login allow;
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em1 {
unit 0 {
family inet {
address 192.168.4.6/24;
}
}
}
em2 {
unit 0 {
family inet {
address 192.168.7.6/24;
}
}
}
em3 {
unit 0 {
family inet {
address 192.168.9.6/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 1.1.1.6/32;
}
}
}
}
routing-options {
router-id 1.1.1.6;
autonomous-system 65010;
}
protocols {
bgp {
export export;
group R3-R6 {
type internal;
neighbor 192.168.4.3;
}
group internal-peers {
type internal;
cluster 10.10.10.6;
neighbor 192.168.9.8;
neighbor 192.168.7.7;
}
}
rip {
group test {
export export;
neighbor em3.0;
neighbor em2.0;
neighbor lo0.0;
}
}
}
policy-options {
policy-statement export {
then accept;
}
}
R7
## Last commit: 2011-06-23 18:12:57 UTC by root
version 10.0R3.10;
system {
host-name R7;
root-authentication {
encrypted-password "$1$Le7q3/yU$l2sBlzemteXJhXQBnqnFX."; ## SECRET-DATA
}
services {
ssh {
root-login allow;
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em1 {
unit 0 {
family inet {
address 192.168.7.7/24;
}
}
}
em2 {
unit 0 {
family inet {
address 192.168.6.7/24;
}
}
}
em3 {
unit 0 {
family inet {
address 192.168.8.7/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 1.1.1.7/32;
}
}
}
}
routing-options {
router-id 1.1.1.7;
autonomous-system 65010;
}
protocols {
bgp {
export export;
group internal-peers {
type internal;
neighbor 192.168.7.6;
}
group external {
type external;
peer-as 3333;
neighbor 192.168.8.5;
}
}
rip {
group test {
neighbor em1.0;
neighbor lo0.0;
}
}
}
policy-options {
policy-statement export {
then accept;
}
}
R8
## Last commit: 2011-06-23 18:06:28 UTC by root
version 10.0R3.10;
system {
host-name R8;
root-authentication {
encrypted-password "$1$Le7q3/yU$l2sBlzemteXJhXQBnqnFX."; ## SECRET-DATA
}
services {
ssh {
root-login allow;
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em1 {
unit 0 {
family inet {
address 192.168.9.8/24;
}
}
}
em2 {
unit 0 {
family inet {
address 192.168.6.8/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 1.1.1.8/32;
}
}
}
}
routing-options {
router-id 1.1.1.8;
autonomous-system 65010;
}
protocols {
bgp {
export export;
group internal-peers {
type internal;
neighbor 192.168.9.6;
}
}
rip {
group test {
neighbor em1.0;
neighbor lo0.0;
}
}
}
policy-options {
policy-statement export {
then accept;
}
}