Wired Intelligent Edge

last person joined: 22 hours ago 

Bring performance and reliability to your network with the Aruba Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of the ArubaOS-Switch and ArubaOS-CX devices, and find ways to improve security across your network to bring together a mobile first solution.
Expand all | Collapse all

Policy-based routing question

Jump to Best Answer
This thread has been viewed 24 times
  • 1.  Policy-based routing question

    Posted Oct 13, 2021 07:20 AM
    Is it possible to create a policy-based routing entry on an HP 5406r2 L3 switch that:

    1) Routes a certain set of source addresses/clients (this is possible)
    2) Routes ANY IP traffic from these sources to a specific IP gateway (this is possible as well)
    3) Has a lower metric than the normal static route entries in the L3 switch? (can't seem to figure this one out)

    Any help is much appreciated.

    /Rasmus

    ------------------------------
    Rasmus Teglgaard
    ------------------------------


  • 2.  RE: Policy-based routing question

    Posted Oct 13, 2021 03:33 PM
    PBR should override the routing table for the matched traffic even if there is a static route.

    ------------------------------
    Dustin Burns
    Lead Mobility Engineer @WEI

    ACCX 1271| ACMX 509| ACSP | ACDA | MVP Guru 2021
    If my post was useful accept solution and/or give kudos
    ------------------------------



  • 3.  RE: Policy-based routing question

    Posted Oct 13, 2021 03:54 PM
    And there is no way around that?

    /Rasmus

    ------------------------------
    Rasmus Teglgaard
    ------------------------------



  • 4.  RE: Policy-based routing question

    Posted Oct 14, 2021 03:49 AM
    Hi Rasmus, since you're speaking about Routing Metric (path cost), the lower number represents the better route. You asked if the PBR routing has "lower metric" than (so precedence over) the normal static routing entries in the L3 switch...it means that the reason you're asking that is because you want that PBR routing takes precedence over the static routing. Isn't it? or are you asking for the contrary?

    If so, as Dustin explained, PBR will do exactly that...and - looking at the reason PBR should be implemented (as a mechanism to override normal routing matching particular conditions) - it looks pretty reasonable to me too. Doesn't it seem reasonable to you too?


    ------------------------------
    Davide Poletto
    ------------------------------



  • 5.  RE: Policy-based routing question

    Posted Oct 14, 2021 07:20 AM
    I want to use the static routes on the switch and AFTER that (it there's no matches) use the PBR. Isn't that possible?

    /Rasmus

    ------------------------------
    Rasmus Teglgaard
    ------------------------------



  • 6.  RE: Policy-based routing question
    Best Answer

    Posted Oct 15, 2021 05:01 AM
    Hi Rasmus,

    As Davide and Dustin already explained, PBR is looked at before examining the RIB. In this way PBR is taking precedence over the static routes.
    So I believe that the answer of your question is: No, it is not possible. 


    ------------------------------
    Stanislav Naydenov
    ------------------------------