cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
721
Views
20
Helpful
4
Replies

wccp redirection doubt

panayiotiscy
Level 4
Level 4

Hello all,

I'm in a doubth whether to use redirect in or redirect out.

I have concluded to the following:

1)Redirect in: Redirecting the traffic when the traffic is ingressed to the wan interface

2)Redirect out: Redirecting the traffic when the traffic is egressed to the web server interface.

But(!), which one is supposed to be chosen each time?Is there any rule of thumb as to when to use either redirect in or redirect out?

Thanking you

1 Accepted Solution

Accepted Solutions

Fabrizio Pedracini
Cisco Employee
Cisco Employee

Hi Panayiotis,

that is correct.

"redirect in" means redirect the traffic coming in on an interface

"redirect out" means redirect what is routed out of an interface

In your case I believe you have a cache engine where you want to redirect the http requests to. In that case you should use "redirect out" on the interface where traffic is routed out to reach the web servers (towards the WAN for example). This will automatically redirect all the requests coming from the clients to the cache engine.

You could also configure "redirect in" on the client interface, but you need to make sure you do it on all the client interfaces (in case there is more then one).

here you can find more info on this topic:

http://www.cisco.com/en/US/docs/app_ntwk_services/waas/acns/v55_13/configuration/local/guide/exdeploy.html#wp1103992

http://www.cisco.com/en/US/docs/app_ntwk_services/waas/acns/v52/configuration/local/guide/wccpch.html#wp1262001

hope this helps,

Fabrizio

View solution in original post

4 Replies 4

Fabrizio Pedracini
Cisco Employee
Cisco Employee

Hi Panayiotis,

that is correct.

"redirect in" means redirect the traffic coming in on an interface

"redirect out" means redirect what is routed out of an interface

In your case I believe you have a cache engine where you want to redirect the http requests to. In that case you should use "redirect out" on the interface where traffic is routed out to reach the web servers (towards the WAN for example). This will automatically redirect all the requests coming from the clients to the cache engine.

You could also configure "redirect in" on the client interface, but you need to make sure you do it on all the client interfaces (in case there is more then one).

here you can find more info on this topic:

http://www.cisco.com/en/US/docs/app_ntwk_services/waas/acns/v55_13/configuration/local/guide/exdeploy.html#wp1103992

http://www.cisco.com/en/US/docs/app_ntwk_services/waas/acns/v52/configuration/local/guide/wccpch.html#wp1262001

hope this helps,

Fabrizio

Hi Panayiotis,

to add something to what Fabrizio wrote above, you need also to take into consideration on which platform you are configuring wccp.

If you have a Cat6500 or 7600 you need to use ingress redirection to make use of full hardware support or else, if you use egress redirection, the redirected traffic will be handled in software by the CPU.

BR,

Riccardo

panayiotiscy
Level 4
Level 4

Hello Fabrizio and Riccardo,

I would like to thank you both for your replies.

So,as to conclude, by configuring the redirect out and redirect in at the proper interfaces is like creating a virtual path (if i may use this term) for the desired wccp service to reach the caching engine???

is this a a correct assumption?

Hi Panayiotis,

the redirect statement takes care of redirecting the specific traffic defined in the wccp service number to another device. If you are redirecting to a tcp optimizer box like WAAS, you need to redirect both directions of the flow using 2 redirection statements (tipically one on the LAN sice and another on the WAN interface). If you redirect to a web-cache device you need only one redirect statement which intercepts the client web requests and sends them to the web-cache.

The wccp service number which can be well-known or custom, defines what tipe of traffic you're intercepting.

hope this answers your question.

cheers,

Fabrizio

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco