Take the 2-minute tour ×
Network Engineering Stack Exchange is a question and answer site for network engineers. It's 100% free, no registration required.

I can't understand some details of route-map working.

Example: on interface vlan_A I use route-map_A, on interface vlan_B - route-map_B.

When host from vlan_A send packet to host from vlan_B what route-maps applied to packet: just route-map_A or route-map_A and route-map_B?

In other words: route-map on vlan interface aplied on all traffic going through interface or just on traffic going from vlan?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Route-maps applied to an interface are always applied in the incoming direction, meaning as the packet enters the first L3 interface and is about to get routed. In your example only the route-map route-map_A would be applied.

For packets not matching the route-map, normal forwarding will take place. There are usually some restrictions as well for PBR such as:

  • Correct SDM template
  • Only unicast packets are subject to PBR
  • No deny statements allowed in route-map
  • Software must support it such as IP services
  • VRF and PBR on interface are mutually exclusive

An example of configuration and restrictions for the Catalyst 3560 is available here.

share|improve this answer
    
For net newbies who stumble upon this answer later, please clarify the direction of "incoming". –  generalnetworkerror Aug 9 at 2:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.