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

cisco XR RPL destination vs destination-prefix

sachin30720041
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Harold Ritter
Spotlight
Spotlight

Hi @sachin30720041 ,

 

destination-prefix is used specifically in the FlowSpec context. 

 

Please refer to the following document for more information:

 

https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r6-4/routing/command/reference/b-routing-cr-asr9000-64x/b-routing-cr-asr9000-64x_chapter_010.html#reference_CABDBAC2DE284EC0BCC4CBE7BEC9A312

 

Regards, 

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

View solution in original post

1 Reply 1

Harold Ritter
Spotlight
Spotlight

Hi @sachin30720041 ,

 

destination-prefix is used specifically in the FlowSpec context. 

 

Please refer to the following document for more information:

 

https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r6-4/routing/command/reference/b-routing-cr-asr9000-64x/b-routing-cr-asr9000-64x_chapter_010.html#reference_CABDBAC2DE284EC0BCC4CBE7BEC9A312

 

Regards, 

Regards,
Harold Ritter, CCIE #4168 (EI, SP)