Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

GRE and PBR

Can I use GRE and PBR in conjunction.

Here is my scenario

---1

rtr1 --- rtr2 ---2 rtr3

---3

There is a GRE tunnel between rtr1 and rtr2. One the packet lands on rtr2 to reach rtr3 it should take path 3.

After the packet lands on rtr2, Where will I match the packets?

can I do it on the GRE tunnel at rtr2?

-Sai.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: GRE and PBR

Yes PBR can be applied to GRE Tunnel interface to influnce the routing path/next-hop.

For example:

Access-list 100 permit ip host S.S.S.S host D.D.D.D

route-map TUNNEL-PBR

match ip address 100

set ip next-hop 3.3.3.3

interface tun1

ip policy route-map TUNNEL-PBR

Best Regards,

Mounir Mohamed

4 REPLIES
New Member

Re: GRE and PBR

Oops the schematic got distorted.

from rtr2 there are 3 paths to reach rtr3

-Sai.

Bronze

Re: GRE and PBR

is there a tunnel between rt2 and rt3 or its normal connection..??

if normal can do it at rt2.Just classify ur packets for the destination using access-list and set the next-hop as your path 3.

For ur ref::

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos_c/fqcprt1/qcfpbr.htm

Re: GRE and PBR

Yes PBR can be applied to GRE Tunnel interface to influnce the routing path/next-hop.

For example:

Access-list 100 permit ip host S.S.S.S host D.D.D.D

route-map TUNNEL-PBR

match ip address 100

set ip next-hop 3.3.3.3

interface tun1

ip policy route-map TUNNEL-PBR

Best Regards,

Mounir Mohamed

New Member

Re: GRE and PBR

That did the magic. thank you so much..

1520
Views
0
Helpful
4
Replies
CreatePlease to create content