Policy Option

I am more familiar with Junos than with Cisco. On our switches we implement this policy to our OSPF.

set protocols ospf export OSPF-REDISTRIBUTES
set policy-options policy-statement OSPF-REDISTRIBUTES from protocol direct
set policy-options policy-statement OSPF-REDISTRIBUTES from protocol static
set policy-options policy-statement OSPF-REDISTRIBUTES then accept

On the cnMatrix, within the router ospf, I did find the command “redistribute static” and “redistribute connect”. Would this be considered the same as the junos policy option or is there a different way of setting it up?

Hello,

You are correct! The commands “redistribute static”, and “redistribute connect” is to advertise static routes and direct interfaces (local vlan interfaces) respectively into OSPF routing domain.

Thanks.

1 Like