use Cisco class map as main traffic route

Hi, how do i tell the cisco 6509 to use the leased line as primary line and use secondary WAN via MPLS when an email traffic from exchange is seen?

I got two 6509 on two sites and i placed a leased line in between, which is where the traffic should run for email only. first site is using static IP route the second site is using eigrp. the catch is there is an ip conflict if i open the whole network that is why i should only pass email traffic and block all the rest as it should use the existing WAN (a NAT is being used elsewhere to prevent the ip conflict). Also, would it be possible to tell the router or switch to use the WAN as secondary link in case the leased line fails?  
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Why would you want to do it that way?

harbor235 ;}
edongskiuAuthor Commented:
Speed up the email traffic and response as the traffic goes around the world.  

i cannot directly configure the routers in leased line to use EIGRP and static route as a VRF is running in the main site to prevent IP conflict (IP migration is on-going).

i can't find a way for the email server only to pass the routers as the primary line and use the WAN as secondary line in case the primary fails.

You can use policy based routing to match the traffic you want then your can set the next hop to the appropriate gateway.

harbor235 ;}

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.