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

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

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started.

New Member

Policy Based Routing

Hi

How do I tell my router to send traffic from a particular VLAN (146) out through a particular interface.

The data from VLAN146 is replication data. At present it goes out through interface 8/0/0 I want it to go through interface 9/0/0 all other traffic should go via 8/0/0.

Any help would be great.

Gav

  • WAN Routing and Switching
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Policy Based Routing

Gavin,

Not a problem.

Let us know how you did with it :-)

Good Luck!

-Sundar

9 REPLIES

Re: Policy Based Routing

Hi Gavin,

Please see the below link for help in configuring this

http://www.cisco.com/en/US/products/hw/switches/ps4324/products_configuration_guide_chapter09186a00801cddc5.html#1001052

In Summary what you need to do is

1. Create an access list matching source IP of VLAN 146.

2. In a route map match this ACL

3. Set next hop as your 9/0/0 interface

All the remaining traffic will not be a match so it will be routed as per the default route or routing table

New Member

Re: Policy Based Routing

Thanks for your help on this...

I understand that the interface the route map should be configured on is the inbound interface from VLAN144. I am configuring the route map on a 6509 in Hybrid mode. I take it I go into the VLAN144 interface on the 6509 and configure the route map here.

Am I right?

Gavin

Re: Policy Based Routing

Do you have a router connecting to the LAN and want to forward traffic through this router or you are routing the traffic from the switch itself.

New Member

Re: Policy Based Routing

Hi,

See the diagram that I have included. VLAN 144 is active on the MSFC. There are many others! I want to route anything form VLAN 144 over the 34Mbps link to London BCP then onward from London BCP to London! At the moment the the traffic is just routed across the 34Mbps Link from Belfast to London.

So to answer your question the traffic is routed from the 6509 switch.

Hall of Fame Super Silver

Re: Policy Based Routing

Gavin

Yes, if you want to alter the forwarding decision using Policy Based Routing for all traffic arriving on VLAN 144 then you go into config mode on interface vlan144 and configure ip policy route-map

HTH

Rick

Re: Policy Based Routing

Gavin,

The config below is what you need. It would force all traffic from vlan 144 to go out s9/0/0. You don't need an ACL.

route-map TEST permit 10

set interface s9/0/0

int vlan 144

ip policy route-map TEST

HTH,

Sundar

New Member

Re: Policy Based Routing

Sundar,

Thank you vey much for taking the time to answer this posting. I'll add this to my current config file and test it on monday.

It great that you all you guys take the time to help Junior Engineers out (CCNA).

Gavin

Re: Policy Based Routing

Gavin,

Not a problem.

Let us know how you did with it :-)

Good Luck!

-Sundar

New Member

Re: Policy Based Routing

Sundar,

Your solution worked great. I think I'll be looking into adding more detail to the route-map decision making process.

Thanks

Gavin

161
Views
9
Helpful
9
Replies