Juniper Route Redistribution
#juniper#route#redistribution
set routing-options static route 0.0.0.0/0 next-hop 202.53.163.113
**redistribute connected routes
set policy-options policy-statement into-ospf term connected from protocol direct
set policy-options policy-statement into-ospf term connected then accept
**redistribute static routes
set policy-options policy-statement into-ospf term static from protocol static
set policy-options policy-statement into-ospf term static then accept
**redistribute bgp routes
set policy-options policy-statement into-ospf term BGP from protocol bgp
set policy-options policy-statement into-ospf term BGP then accept
**redistribute default routes
set policy-options policy-statement into-ospf term default from route-filter 0.0.0.0/0
**redistribute connected,static,bgp,default routes into ospf
set protocols ospf export into-ospf