JUNOS – redistribute static routes into OSPF
Saturday, July 3rd, 2010policy-options {
policy-statement static_2_ospf {
term 1 {
from protocol static;
then accept;
}
}
}
# edit policy-options policy-statement static_2_ospf
set term 1 from protocol static
set term 1 then accept
# top
# set protocols ospf export static_2_ospf
# show | compare
[edit protocols ospf]
+ export static-into-ospf;
[edit policy-options]
+ policy-statement static_2_ospf {
+ term 1 {
+ from protocol static;
+ then accept;
+ }
+ }