cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
767
Views
0
Helpful
2
Replies

Cisco PBR - Which behavior with "match" and no set command

Map23
Level 1
Level 1

Dear forum,

I have a little question about behavior of PBR in case of configured PBR without set command configured. For example:

route-map Test-match permit 10

match ip address to-particular-nets

route-map Test-match permit 20

match ip address test-PBR

set ip next-hop 192.168.0.1

On this configuration ACL "to-particular-nets" is a sub-group of "test-PBR". I want to treat this sub-group with global table.

If what I think is right, with this conf traffic matched  on permit 10 is managed on global table instead traffic matched on permit 20 is sent to next hop 192.168.0.1

Is it right ?

Thank you for help

Marcello

1 Accepted Solution

Accepted Solutions

Peter Paluch
Cisco Employee
Cisco Employee

Hi Marcello,

If what I think is right, with this conf traffic matched  on permit  10 is managed on global table instead traffic matched on permit 20 is  sent to next hop 192.168.0.1

Is it right ?

Yes, you are right. With PBR, route-map sections without set commands cause the packets to be routed using the routing table.

Best regards,

Peter

View solution in original post

2 Replies 2

Peter Paluch
Cisco Employee
Cisco Employee

Hi Marcello,

If what I think is right, with this conf traffic matched  on permit  10 is managed on global table instead traffic matched on permit 20 is  sent to next hop 192.168.0.1

Is it right ?

Yes, you are right. With PBR, route-map sections without set commands cause the packets to be routed using the routing table.

Best regards,

Peter

Thank you Peter

Regards,

Marcello

Review Cisco Networking products for a $25 gift card