I have a defualt route coming into ospf from BGP but then ospf needs to redistribute all routes to BGP to go out to internet.
All ospf routess are in routing table of router but for some reason its not been advertised to BGP.
show configuration | display set | match injectpolicy1
set protocols bgp group ISP export injectpolicy1
set policy-options policy-statement injectpolicy1 term injectterm1 from protocol ospf
set policy-options policy-statement injectpolicy1 term injectterm1 then accept
show configuration protocols bgp
group ISP{
type external;
family inet {
unicast;
}
export [ connected-static injectpolicy1 ];
peer-as *****;
local-as 65500;
neighbor 172.31.255.1;
}
None of the ospf routes are showing up in BGP table.