Solved

POLICY ROUTING

Posted on 2010-11-25
5
333 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…
Suggested Courses
Course of the Month8 days, 5 hours left to enroll

617 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