Wired Intelligent Edge

 View Only
  • 1.  OSPF Route Filtering

    Posted May 17, 2019 09:25 AM

    Has anyone attempted Route Filtering on the Aruba Switch OS? I am running into an issue described below.


    I have a Routing VLAN created, say VLAN 1000. This VLAN is configured with a /30 and is used as a "point to point" to establish OSPF neighbor relationship with another device. 

     

    I created a prefix list for all the VLAN's and interfaces such as loopback to advertise by doing a prefix-list like below:

     

    ip prefix-list "OSPFRouteFilter" seq 5 permit 10.1.1.0 255.255.255.0 ge 24 le 24

     

    I then create a route map and use the route map in OSPF by running the below commands:

     

    route-map OSPFRouteFilterList permit seq 5

    match ip address prefix-list OSPFRouteFilterMapList

     

    router ospf

    redistribute connected route-map OSPFRouteFilterMap

     

    While this works by allowing the User VLAN/Loopbacks to be advertised. I am still seeing the Routing VLAN advertised which I do not want. In Cisco and even the HP Comware switches this is handled by simpling using the network statement to match what subnets I want to advertise. 


    How do I accomplish this with Aruba Switch OS?



  • 2.  RE: OSPF Route Filtering

    Posted Jun 04, 2019 12:57 PM

     

    Did you make this work?  I have the opposite problem: I have a VSX stack, and I want to prevent my heartbeat vlan from being advertised, but however I make the route-map it blocks redistribution of routes to all local connections.



  • 3.  RE: OSPF Route Filtering

    Posted Jun 04, 2019 03:05 PM

    Place you heartbeat VLAN in a different VRF.

    Also don't use redistributed connected but enable OSPF for each (VLAN) interface and set the interfaces to OSPF passive.