Comware

 View Only
Expand all | Collapse all

Policy-Based Routing or Route-map

This thread has been viewed 9 times
  • 1.  Policy-Based Routing or Route-map

    Posted Feb 26, 2015 08:29 AM

    I need to get policy-based routing in our HP ProCurve 8206zl core switch to work, but I do not quite get it.

     

    This is what I would like achieve, all addresses on the 192.168.25.0/24 network except 192.168.25.10 is going to the default route on 192.168.1.35, and the lonely poor guy going out on 10.99.0.170, it is possible to fix in any simple way?

    I did try to make a route-map, but nothing happened, guess I have missed something.

     

    ip prefix-list "LUL" seq 5 permit 192.168.25.10 255.255.255.255 ge 24 le 24

     

    route-map LUL-VID permit 10
    match ip address prefix-list LUL
    set ip next-hop 10.99.0.170
    ex

     

    Cheers



  • 2.  RE: Policy-Based Routing or Route-map

    Posted Feb 26, 2015 05:14 PM

    Not route-maps.

     

    Weirdly, Policy-Based Routing (PBR) isn't in the Routing config guide - it's in the ATM.

     

    You need something like:

     

    class ipv4 Lonely
      match ip 192.168.25.10/32
    policy pbr Route_Lonely
      class ipv4 Lonely
        action ip next-hop 10.99.0.170
    vlan 25
      service-policy Route_Lonely in