K
K
kirillrabinovich2014-08-07 17:27:45
Cisco
kirillrabinovich, 2014-08-07 17:27:45

What traffic is route-map applied to on the interface?

Sorry for the stupid question, but I couldn't google anything.
The principle of application of route-map is not clear.
Suppose route-map_A is used on the vlan_A interface, route-map_B is used on vlan_B.
When a host from vlan_A contacts a host from vlan_B, will the packet be processed only by route-map_A or by route-map_B too? Roughly speaking, route-map_B only applies to packets coming from vlan_B or packets going to vlan_B too?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
throughtheether, 2014-08-07
@kirillrabinovich

Suppose route-map_A is used on the vlan_A interface, route-map_B is used on vlan_B
If we are talking about Policy-based routing, then, as far as I know, the route map in the case of PBR is applied to incoming traffic on the interface relevant to the PBR settings.
Policy-based routing is applied to incoming packets. All packets received on an interface with policy-based routing enabled are considered for policy-based routing. The router passes the packets through enhanced packet filters called route maps. Based on the criteria defined in the route maps, packets are forwarded/routed to the appropriate next hop.
Read more .
You can check it yourself by generating the traffic you are interested in and observing the output of commands
show route-map(the Policy routing matches line ; the command can be used on a working network) and debug ip policy(like any debug command, this command should be used with caution; turning off the debug mode - undebug all ) .

D
dubidrubi, 2014-08-14
@dubidrubi

If we are talking about Policy-based routing, then, as far as I know, the route map in the case of PBR is applied to incoming traffic on the interface relevant to the PBR settings.

That's right, only in this context it is also necessary to take into account that this is true for SVI interfaces. That is, only L3 switches.
In this case, incoming traffic to vlan_A SVI will be processed by route-map_A, and incoming traffic to vlan_B SVI will be processed by route-map_B.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question