Network Engineering Stack Exchange is a question and answer site for network engineers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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 '14 at 2:11

Your Answer


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.