11-02-2024 06:16 AM - edited 11-02-2024 06:16 AM
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
Solved! Go to Solution.
11-02-2024 11:19 AM
If this is ASR and IOS XR then based on required you can use Redirect.
Look at the examples :
11-02-2024 06:31 AM
QoS use redirect !!
I dont think this policy for QoS it for routing
MHM
11-02-2024 07:27 AM
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.
As per i know Redirect - if you looking to use enhancedPBR on the redirection of the services based on the marking.
11-02-2024 07:33 AM
The context is for use with Flowspec. Does that help clarify which one I should use?
11-02-2024 11:19 AM
If this is ASR and IOS XR then based on required you can use Redirect.
Look at the examples :
11-04-2024 12:59 AM
Bgp flowspec for security as I know not for QoS
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide