Wired Intelligent Edge

 View Only
  • 1.  OSPF Filter static routes

    Posted Apr 19, 2021 12:57 PM
    Hello

    I really thought i had posted that a few days ago, but dont find it anymore...... Im sorry if its a double post.

    How can i filter only certain static routes  from being distributed by ospf.
    I always get all or nothing. (8320 TL.10.06.0110)

    ip route 10.1.76.0/24 10.0.1.7
    ip route 10.1.77.0/24 10.0.1.7  << want to filter that one

    Create a prefix-list
    ip prefix-list route-prefixes seq 10 deny 10.1.77.0/24

    Create a route-map
    route-map NoDist deny seq 10
    match ip address prefix-list route-prefixes

    Use the route-map on the router
    redistribute static route-map NoDist

    This, however, blocks all static routes from being distributed.

    Thanks for your help
    Andreas



    ------------------------------
    Meyer Marius
    ------------------------------


  • 2.  RE: OSPF Filter static routes

    Posted Apr 19, 2021 03:02 PM
    Edited by ktakodra Apr 19, 2021 03:02 PM
    This question is posted twice >>>> see my reply here
    https://community.arubanetworks.com/community-home/digestviewer/viewthread?MessageKey=2959dd7c-ef09-480e-8d6c-c62c9bc31f3a&CommunityKey=22dc38ea-a1e1-4059-b55e-a622fedecf32&tab=digestviewer


    ------------------------------
    Kamal Takodra
    If my post was useful accept solution and/or give kudos
    ------------------------------