cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
247
Views
1
Helpful
5
Replies

QoS | set nexthop vs redirect

Hey everyone,

If I'm configuring a policy-map, what is the difference between setting the next hop for something versus redirecting something?

My config seems to take both so I'm assuming they're different somehow...

 

policy-map type pbr POLICY1
 class type traffic CLASS1 
  set destination-address ipv4 1.2.3.4
  redirect ipv4 nexthop 1.2.3.4

 

 

1 Accepted Solution
5 Replies 5

QoS use redirect !!
I dont think this policy for QoS it for  routing 

MHM

balaji.bandi
Hall of Fame
Hall of Fame

what is the use case here, and what platform or hardware you deploying this and what code running.

Different platform have syntax changes based on the code running.

The set ip next-hop command verifies the existence of the next hop specified, and:

  • if the next hop exists in the routing table, then the command policy routes the packet to the next hop.

  • if the next hop does not exist in the routing table, the command uses the normal routing table to forward the packet.

As per i know Redirect -  if you looking to use enhancedPBR on the redirection of the services based on the marking.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

The context is for use with Flowspec. Does that help clarify which one I should use? 

Bgp flowspec for security as I know not for QoS

MHM