Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Policy Base Routing / Static Routing

I am having trouble configuring my switches to go to different gateways


1. Internet traffic hit

2. internal mpls traffic hit

I have cisco 3750 switches and ip routing is enabled on it.

I tried the simplest way static routing

ip route

I tried with the route map but could not able to apply to a route as I dont have a router.

I need some kind of global packet routing configration

Any help would really be appreciated


Re: Policy Base Routing / Static Routing

I'm not sure if I understand you.

I see traffic with the destination need to go to; all others should go to

where is the problem with static routing?

You need interfaces of course in both subnets 120.x and 20.x


New Member

Re: Policy Base Routing / Static Routing

Problem is that the 2 vlan



needs to communicate to each other which is happening but seperating the traffic is not happening

all of my clients will be in 120 network

tunnel traffic will go through the 120 network

but HTTP traffic needs to go through 20 network but it does not work.

All the 20 needs to go through with their on gateway.

I don't know how to route the traffic accordingly

Both T1 are connected to different routers



Re: Policy Base Routing / Static Routing

Hello Athar!

I think you should use policy-based routing

First create an access-list to match the www traffic

(config)#ip access-list extended Routing-www

(config-...)#permit tcp any eq www

NEXT configure policy-based routing

(config)#route-map Routing-www

(config...)#match ip address Routing-www

(config...)#set ip next-hop

I think this would help you but i never check it before. Only whith normal routing and not only for www.

reference (last topic)Configuring Policy-Based Routing :

hope this help..

New Member

Re: Policy Base Routing / Static Routing

Hi S.helmer,

Thanks buddy but I got stuck to a problem that policy needs to be applied to an interface and I dont have interface as my routing is done through the 3750 and I might be mixing the interface with the physical interface

Any help is appreciated

Re: Policy Base Routing / Static Routing

I'm confused...if you don't have interfaces you can't route...or? The situation is not clear for me or it is to early in the mornging ;-)...sorry...

Take a look on the policy routing options maybe onother helpy you. e.g. not nex-hop you will use out of this interface, vlan, else...

New Member

Re: Policy Base Routing / Static Routing

wouldnt you route via SVI meaning on interfac e Ex: fa0/# no switchport access

give interface name Ex: Vlan#

ip address x.x.x.x y.y.y.y

ip default-gateway z.z.z.z

Does the switch have some sort of Sup-3 module for access routing that way you can

1) Define access-list based on srv traffic

2) Define Set cmd to match interface for orouting. HTH

New Member

Re: Policy Base Routing / Static Routing

So basically when you create interfaces --> VLan's

1) Permit line to read 10,20,etc

2) Then set an access list for 192.168.20.x via WWW, .120 for MPLS

3) Based on access list on the match clause you would integrate them into a set clause for interface ex:--- Vlan interfaces you created via SVI