Routing

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



  • 1.  Redistribution of static routes in VR configuration into OSPF

    Posted 03-23-2016 09:44

    Hi,

     

    my config looks like this:

    set routing-instances VR_Office routing-options static route 10.14.0.0/16 next-hop 10.181.101.249

    set routing-instances VR_Office routing-options static route 10.14.0.0/16 tag 513

    set routing-instances VR_Office protocols ospf export export-static-tag-513

    set policy-options policy-statement export-static-tag-513 term term-1 from protocol static

    set policy-options policy-statement export-static-tag-513 term term-1 from tag 513

    set policy-options policy-statement export-static-tag-513 term term-1 then accept

    set policy-options policy-statement export-static-tag-513 then reject

     

    I can see the static route in the respective routing table:

     

    {master}
    router> show route table VR_Office.inet.0 10.14.0.0/16 detail

    VR_Office.inet.0: 3264 destinations, 3264 routes (3264 active, 0 holddown, 0 hidden)
    10.14.0.0/16 (1 entry, 1 announced)
    *Static Preference: 5
    Next hop type: Router, Next hop index: 10384
    Address: 0xaf7e234
    Next-hop reference count: 7
    Next hop: 10.181.101.249 via irb.101, selected
    Session Id: 0x28
    State: <Active Int Ext>
    Age: 25:50
    Validation State: unverified
    Tag: 513
    Task: RT
    Announcement bits (3): 0-RT 2-KRT 3-Resolve tree 4
    AS path: I
    AS path: Recorded

    {master}
    router>

     

    But it does not appear in the ospf database:

    {master}
    router> show ospf database instance VR_Office | grep 10.14.0.0

    {master}
    router>

     

    What am I missing?

     

    Thx,

    Stefan


    #mx
    #virtual-router
    #Export
    #static
    #VR
    #ospf


  • 2.  RE: Redistribution of static routes in VR configuration into OSPF
    Best Answer

    Posted 03-24-2016 06:46

    Stefan,

     

    in my environment your configuration works as expected. So, either software bug or something else in the configuration (e.g. stub area?).

     

    Cheers,

    Carsten



  • 3.  RE: Redistribution of static routes in VR configuration into OSPF

    Posted 03-27-2016 08:36

    Thinking helps... sometimes. No external LSAs in stub areas. 🙂