Routing

last person joined: 2 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  Redistributing default route to OSPF with cost

    Posted 05-14-2013 05:37

    Hi all,

     

    I have redistributed static route to OSPF with this commands:

     

    set policy-options policy-statement ospf-default term 1 from route-filter 0.0.0.0/0 exact accept
    set protocols ospf export ospf-default

     

    But how to also add cost to redistributed routes (and define them as E1 type) ?

     

    Thanks



  • 2.  RE: Redistributing default route to OSPF with cost
    Best Answer

     
    Posted 05-14-2013 06:20

    remove "accept" action after exact in the from clause

     

    add:

    set policy-options policy-statement ospf-default term 1 then metric 10
    set policy-options policy-statement ospf-default term 1 then external type 1

    set policy-options policy-statement ospf-default term 1 then accept 

     

     



  • 3.  RE: Redistributing default route to OSPF with cost

    Posted 05-14-2013 06:48

    Thanks Krasi