11-15-2014 07:58 AM - edited 03-07-2019 09:31 PM
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
Solved! Go to Solution.
11-15-2014 09:42 AM
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
11-15-2014 08:21 AM
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
11-15-2014 09:42 AM
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
11-16-2014 07:43 AM
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
11-16-2014 07:48 AM
There's no restriction for using policy on SVI.
HTH
11-16-2014 11:55 AM
Is int VLAN 50 be the place I place the policy? Thanks
11-16-2014 12:08 PM
hi,
Ok, place the policy on interface vlan 50.
HTH
11-16-2014 02:37 PM
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
11-19-2014 11:26 AM
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
11-19-2014 11:52 AM
Hi,
in global configuration mode add following command then reload the switch:
SW(config)# sdm prefer routing
It will solve the issue
HTH
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: