cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
492
Views
0
Helpful
3
Replies

Policy Based Routing on Nexus 7k

bradleyordner
Level 3
Level 3

Hi 

When doing PBR, if you PBR on an incoming VLAN and then point it to a next hop which is accessible from another VLAN do you need to do PBR there as well?

 

For instance, traffic comes in on VDC#1 - VLAN 1600 and the next hop is via VDC#1 VLAN1100 (the IP is at the other end of this VLAN on VDC#2) do you need to PBR again on VLAN1100? I wouldn't think so as the switch has already done the PBR and sent the traffic outbound towards VDC2?

 

Thanks

 

Brad

 

 

1 Accepted Solution

Accepted Solutions

Hello

Correct you would not need to PBR again .

just like to add to @Jaderson Pessoa comments 

A caveat in using the set ip default is it will not work if the DIP relies just on a default route in the rib - in this case PBR will ignore the rib and use the set IP address instead.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

3 Replies 3

Jaderson Pessoa
VIP Alumni
VIP Alumni

@bradleyordner  Hello,

 

If you need that a PBR redirect traffic for some address without consulting routing table.  You need use a PBR set ip address

next-hop x.x.x.x

 

If you need that a PBR redirect traffic for some address but is necessary consulting routing table before and if there match on routing table, PBR isnt used. You need use a PBR set ip default address next-hop  x.x.x.x

 

 

 

 

Jaderson Pessoa
*** Rate All Helpful Responses ***

Hello

Correct you would not need to PBR again .

just like to add to @Jaderson Pessoa comments 

A caveat in using the set ip default is it will not work if the DIP relies just on a default route in the rib - in this case PBR will ignore the rib and use the set IP address instead.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

I did a test in a LAB of Cisco Routers and indeed we don't need the PBR on that VLAN. Something is different in our environment nd I am going to have to explore. 

 

Brad

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card