cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
501
Views
0
Helpful
9
Replies

Route Traffic to down a specfic link

isdollsm1
Level 1
Level 1

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 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

Reza Sharifi
Hall of Fame
Hall of Fame

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 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

 

 

 

 

 

 

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 using policy on SVI.

 

HTH

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

hi,

Ok, place the policy on interface vlan 50.

 

HTH

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

HTH

Rick

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

 

 

Hi,

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

 

SW(config)# sdm prefer routing

 

It will solve the issue

 

HTH

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: