version 7.2R2.4; system { host-name P4A; root-authentication { encrypted-password ; ## SECRET-DATA } login { user ws { full-name Workshop; uid 2000; class super-user; authentication { encrypted-password ; ## SECRET-DATA } } } services { ssh; telnet; } syslog { user * { any emergency; } file messages { any notice; authorization info; } } } interfaces { fe-0/0/0 { description "To P1 - Border B fa0/0"; unit 0 { family inet { address 206.244.201.17/30; } family inet6 { address 2001:468:1104:2::2/64; } } } fe-0/0/1 { description "To P4 - Core C fa0/0"; unit 0 { family inet { address 206.244.204.25/30; } family inet6 { address 2001:468:1104::2/64; } } } fe-0/0/3 { description "EXTERNAL INTERFACE"; unit 0 { family inet { address 206.244.205.14/30; } } } fxp0 { disable; } lo0 { description "P4 - Border A"; unit 0 { family inet { address 206.244.204.1/32; } family inet6 { address 2001:468:1104:5::1/128; } } } } routing-options { rib inet.0 { aggregate { route 206.244.204.0/24; } } rib inet6.0 { static { route 2001:468:1104::/48 { reject; install; readvertise; } } } static { route 0.0.0.0/0 next-hop 206.244.205.13; } router-id 192.168.5.2; autonomous-system 65504; } protocols { router-advertisement { interface fe-0/0/1.0 { prefix 2001:468:1104::/64; } } bgp { group iBGP-mesh { type internal; local-address 206.244.204.1; export set-nexthop-self; local-as 65504; neighbor 206.244.204.2; neighbor 206.244.204.3; } group external-peers { type external; import transit-others; export [ announce-our-block transit-others ]; local-as 65504; neighbor 206.244.201.18 { description "Pod 1 Border B"; local-address 206.244.201.17; peer-as 65501; } } group iBGP6-mesh { type internal; local-address 2001:468:1104:5::1; export set-nexthop-self; local-as 65504; neighbor 2001:468:1104:5::2; neighbor 2001:468:1104:5::3; } group external6-peers { type external; description "Pod 1 Border B"; local-address 2001:468:1104:2::2; import transit-others; export [ announce-our-block transit-others ]; peer-as 65501; local-as 65504; neighbor 2001:468:1104:2::3; } } ospf { export default-into-ospf; area 0.0.0.0 { interface fe-0/0/1.0; interface lo0.0 { passive; } interface fe-0/0/0.0 { passive; } interface fe-0/0/3.0 { passive; } } } ospf3 { area 0.0.0.0 { interface fe-0/0/1.0; } } } policy-options { policy-statement default-into-ospf { term default { from { protocol static; route-filter 0.0.0.0/0 exact; } then accept; } term nope { then reject; } } policy-statement set-nexthop-self { then { next-hop self; accept; } } policy-statement announce-our-block { term announce-204 { from { protocol aggregate; route-filter 206.244.204.0/24 exact; } then accept; } } policy-statement transit-others { term 1 { from { protocol bgp; route-filter 206.244.201.0/24 orlonger; route-filter 206.244.202.0/24 orlonger; route-filter 206.244.203.0/24 orlonger; } then accept; } term reject-other { then reject; } } policy-statement reject-all { then reject; } } ws@P4A>