cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

79
Views
0
Helpful
9
Replies
Beginner

Route Traffic to down a specfic link

I need to route traffic that is sourced from 10.1.50.0 network down link 1. Currently all traffic goes down Link 2. I want all traffic except 10.1.50.0 network to still use Link 2 as primary. What would be the best approach a static route for the 10.1.50.0 network or some type of policy map or something else? Thanks for the help

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi, access-list 101 permit ip

Hi,

 

access-list 101 permit ip 10.1.50.0 0.0.0.255 any

 

route-map pol permit 10

match ip address 101

set interface <link 1 interface>

 

on 10.1.50.0 incoming interface:

-if)#ip policy route-map pol

 

HTH

 

 

 

 

 

 

View solution in original post

9 REPLIES 9
VIP Expert

Try PBR:http://www.cisco.com

Try PBR:

http://www.cisco.com/c/en/us/td/docs/ios/12_2/qos/configuration/guide/fqos_c/qcfpbr.html

 

http://www.cisco.com/en/US/products/ps6599/products_white_paper09186a00800a4409.shtml#wp14009

HTH

Hi, access-list 101 permit ip

Hi,

 

access-list 101 permit ip 10.1.50.0 0.0.0.255 any

 

route-map pol permit 10

match ip address 101

set interface <link 1 interface>

 

on 10.1.50.0 incoming interface:

-if)#ip policy route-map pol

 

HTH

 

 

 

 

 

 

View solution in original post

Beginner

Thanks for the reply. You

Thanks for the reply.

 

You said to place the policy on the incoming interface of 10.1.50.0? What if that is an SVI for VLAN 50? Would you just put that on VLAN 50 interface?Thanks

There's no restriction for

There's no restriction for using policy on SVI.

 

HTH

Beginner

Is int VLAN 50 be the place I

Is int VLAN 50 be the place I place the policy? Thanks

hi,Ok, place the policy on

hi,

Ok, place the policy on interface vlan 50.

 

HTH

Hall of Fame Master

The original poster has not

The original poster has not provided much information about the topology of the network. But the advice given has been correct. You place the ip policy route-map command on the interface where the traffic is received. If vlan 50 is the interface where traffic from 10.1.50.0 is received then vlan 50 is the interface where the ip policy route-map command should be applied.

 

HTH

 

Rick

If you found this post helpful, please let the community know by clicking the helpful button!
By doing so, and until end of January, you are helping Doctors Without Borders
Beginner

Thanks for the reply. I

Thanks for the reply. I created the access list and policy map from above but can not put the policy map on the VLAN interface. The commands are there but when I verify by looking at the interface it is not there. It is a 3750 G with IPSERVICES IOS. Any ideas? Thanks

 

 

Standard IP access list 50
10 permit 10.2.50.0, wildcard bits 0.0.0.255 log

sh route-map
route-map **VLAN250**, permit, sequence 10
  Match clauses:
    ip address (access-lists): 50
  Set clauses:
    interface GigabitEthernet2/0/1
  Policy routing matches: 0 packets, 0 bytes

 

 

Highlighted

Hi,in global configuration

Hi,

in global configuration mode add following command then reload the switch:

 

SW(config)# sdm prefer routing

 

It will solve the issue

 

HTH

CreatePlease to create content
Content for Community-Ad