bgp configuration on juniper
set protocols bgp group bb2dr type internal
set protocols bgp group bb2dr local-address 172.16.1.1
set protocols bgp group bb2dr import pol-bb2dr-in
set protocols bgp group bb2dr import pol-reject-any
set protocols bgp group bb2dr family inet unicast
set protocols bgp group bb2dr export pol-advertise-default
set protocols bgp group bb2dr export pol-reject-any
set protocols bgp group bb2dr neighbor 172.16.1.3 description dr01
set protocols bgp group bb2dr neighbor 172.16.1.3 peer-as 12345
ospf juniper
set protocols ospf area 0.0.48.57 interface ge-1/2/1.0 interface-type p2p
set protocols ospf area 0.0.48.57 interface ge-1/2/1.0 priority 1
set protocols ospf area 0.0.48.57 interface ge-1/2/1.0 retransmit-interval 5
set protocols ospf area 0.0.48.57 interface ge-1/2/1.0 transit-delay 1
set protocols ospf area 0.0.48.57 interface ge-1/2/1.0 hello-interval 10
set protocols ospf area 0.0.48.57 interface ge-1/2/1.0 dead-interval 40
set protocols ospf export pol-ospf-export-static
set protocols ospf export pol-ospf-export-direct
set protocols ospf import pol-ospf-import
bgp configugation on linux
set protocols bgp 12345 neighbor 172.16.1.1 remote-as 12345
set protocols bgp 12345 neighbor 172.16.1.1 soft-reconfiguration inbound
set protocols bgp 12345 parameters router-id 172.16.1.3
ospf configuration linux
set protocols ospf area 12345 area-type normal
set protocols ospf area 12345 network 172.16.0.4/30
set protocols ospf area 12345 network 172.16.1.3/32
set protocols ospf parameters abr-type cisco
set protocols ospf parameters router-id 172.16.1.3
set protocols ospf passive-interface default
set protocols ospf passive-interface-exclude eth6
ospf process on juniper
Address Interface State ID Pri Dead
172.16.0.6 ge-1/2/1.0 Full 172.16.1.3 1 38
ospf process on linux
Neighbor ID Pri State Dead Time Address Interface Instance ID
172.16.0.1 1 Full/ - 00:00:33 172.16.0.5 eth6 0