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

SD-WAN Policy based routing (Route Policy)

Hamidreza
Level 1
Level 1

Hi,

I would like to create a PBR and apply it to an interface. I have created the route policy below and also a localized policy. I added the route policy to the localized policy and finally included the localized policy in a device template. However, according to Cisco's website, I should also add my route policy directly to an interface.

When I opened a feature template for an interface, I couldn't find any field where I could enter the route policy. Can you please advise me on how to apply my route policy to an interface, (similar to how we apply a route map to an Interface)?

Hamidreza_0-1715614641105.png

 

1 Accepted Solution

Accepted Solutions

Hi,

Policy based routing (PBR) and route-policy are two different things. PBR is related to data plane, route-policy is related to control plane.

PBR is to redirect traffic while you override routing table. Routing table shows next-hop_A, you send traffic to next-hop_B via PBR.

Route policy is used with routing protocols (e.g OSPF/BGP) which manipulates routes (change attributes, deny - filter route etc.).

Whatever you have in picture is route policy which is created and added to localized policy and then localized policy is attached to device template (as you described too).

If you want to do traditional PBR, you need to do it via CLI add-on template. As in traditional routes OS, you need to have route-map (with match&set commands) and this route-map is attached to interface using "ip policy route-map [RM name]" command.

https://www.cisco.com/c/en/us/td/docs/routers/sdwan/command/iosxe/qualified-cli-command-reference-guide/m-interface-commands.html?bookSearch=true#GUID-0F7F0DDD-B1A0-42A9-B661-52C4392606E0

ePBR which is mentioned also is different - advanced version of PBR where you may redirect traffic towards next hop within different VRF (as shown below in usage example):

https://www.cisco.com/c/en/us/td/docs/routers/sdwan/configuration/policies/ios-xe-17/policies-book-xe/epbr-cisco-sdwan.html#Cisco_Concept.dita_3c640b72-7f89-4018-be69-c6ae54749204

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

View solution in original post

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

the screenshot is not clear - but i suggest different method check below guides (Hope that help you)

check some ePBR steps :

https://www.cisco.com/c/en/us/td/docs/routers/sdwan/configuration/policies/ios-xe-17/policies-book-xe/epbr-cisco-sdwan.html

You can also do policy to manipulate path :

https://www.cisco.com/c/en/us/td/docs/routers/sdwan/configuration/policies/vedge-20-x/policies-book/centralized-policy.html

BB

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

How to Ask The Cisco Community for Help

Hi,

Policy based routing (PBR) and route-policy are two different things. PBR is related to data plane, route-policy is related to control plane.

PBR is to redirect traffic while you override routing table. Routing table shows next-hop_A, you send traffic to next-hop_B via PBR.

Route policy is used with routing protocols (e.g OSPF/BGP) which manipulates routes (change attributes, deny - filter route etc.).

Whatever you have in picture is route policy which is created and added to localized policy and then localized policy is attached to device template (as you described too).

If you want to do traditional PBR, you need to do it via CLI add-on template. As in traditional routes OS, you need to have route-map (with match&set commands) and this route-map is attached to interface using "ip policy route-map [RM name]" command.

https://www.cisco.com/c/en/us/td/docs/routers/sdwan/command/iosxe/qualified-cli-command-reference-guide/m-interface-commands.html?bookSearch=true#GUID-0F7F0DDD-B1A0-42A9-B661-52C4392606E0

ePBR which is mentioned also is different - advanced version of PBR where you may redirect traffic towards next hop within different VRF (as shown below in usage example):

https://www.cisco.com/c/en/us/td/docs/routers/sdwan/configuration/policies/ios-xe-17/policies-book-xe/epbr-cisco-sdwan.html#Cisco_Concept.dita_3c640b72-7f89-4018-be69-c6ae54749204

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.