Solved

POLICY ROUTING

Posted on 2010-11-25
5
329 Views
Last Modified: 2012-06-27
When policy based routing is applied to an interface does this policy affect both incoming and outgoing traffic or just incoming.

#ip access-list extended tcp
#permit tcp any any

#route-map tcp permit 10
#match ip address tcp
#set next hop 10.0.0.2

#int fa 0/0
#ip policy route-map tcp


0
Comment
Question by:sectel
  • 2
  • 2
5 Comments
 
LVL 16

Accepted Solution

by:
btassure earned 500 total points
ID: 34216050
It will only apply to traffic in the direction that it is already flowing based on routing rules. Your example will obviously affect all traffic on that interface as it states any any.

If it was host-a host-b it would only affect traffic entering that interface from host-a to host-b.

Equally the return traffic would not be affected as it has already been routed when it gets to the interface egress stage.
0
 
LVL 28

Expert Comment

by:asavener
ID: 34229983
Just incoming.
0
 

Author Comment

by:sectel
ID: 34231222
Asavener

You are stating that only traffic that is external to the router and is entering the router will be affected by the (#ip policy route map) statement???

J.
0
 
LVL 28

Expert Comment

by:asavener
ID: 34232763
Yes, that's how policy-based routing works.

0
 

Author Comment

by:sectel
ID: 34232826
Thanks

J.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Eigrp Router 5 74
VirtualBOX on GNS3 11 113
Packet Tracer Router to Router 10 75
Two IPV6 prefixes have same meaning under prefix-set in ASR9K? 2 22
I have seen some questions on problems with SSH/telnet access to Cisco routers that may occur despite the fact that from a PC connected to your LAN, Internet connectivity is in place and users can access Internet sites without any issues.  There are…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now