04-06-2022 03:25 PM
Hello All,
R1 and R3 are XR routers and iBGP is running between them. And I am trying to set the local preference of the routes on R1 received from R3.
R1----R3
On R1:
router bgp 13
neighbor 3.3.3.3
remote-as 13
update-source Loopback0
address-family ipv4 unicast
route-policy increaseLocalPref in
next-hop-self
I have created a route-policy increaseLocalPref.
If I use 'destination-prefix' in route-policy then the local pref on R1 is not set 200.
route-policy increaseLocalPref
if destination-prefix in (4.4.4.4/32) then
set local-preference 200
endif
end-policy
But if I use 'destination' in route-policy then the local pref on R1 is set 200.
route-policy increaseLocalPref
if destination in (4.4.4.4/32) then
set local-preference 200
endif
end-policy
What is the difference between 'destination-prefix' and 'destination'?
Thanks,
Sachin
Solved! Go to Solution.
04-06-2022 07:40 PM
Hi @sachin30720041 ,
destination-prefix is used specifically in the FlowSpec context.
Please refer to the following document for more information:
Regards,
04-06-2022 07:40 PM
Hi @sachin30720041 ,
destination-prefix is used specifically in the FlowSpec context.
Please refer to the following document for more information:
Regards,
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