11-02-2012 12:06 AM - edited 03-07-2019 09:48 AM
I am trying to configure policy based routing however when i try to apply to an interface vlan. The configuration does not show in the interface.
route-map OTHER_ROUTE permit 10
match ip address OTHER_ROUTE
set ip next-hop x.x.x.x
ip access-list extended OTHER_ROUTE
10 permit ip host x.x.x.x 0.0.255.255 host x.x.x.x
This does not seem to show up when configured:
interface Vlan10
ip policy route-map OTHER_ROUTE
11-02-2012 12:25 AM
Hi,
Since it is 3750, make sure you are running the IP services image and have routing SDM. You can check that with "show version" and "show sdm prefer" correspondingly.
To change SDM template (note that reload is required):
conf t
sdm prefer routing
end
reload
Kind Regards,
Ivan Shirshin
**Please grade this post if you find it useful.
11-02-2012 12:30 AM
System image file is "flash:c3750-ipservicesk9-mz.122-52.SE.bin"
what am i looking for in sdm prefer?
show sdm prefer
The current template is "desktop default" template.
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.
number of unicast mac addresses: 6K
number of IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 8K
number of directly-connected IPv4 hosts: 6K
number of indirect IPv4 routes: 2K
number of IPv4 policy based routing aces: 0
number of IPv4/MAC qos aces: 0.5K
number of IPv4/MAC security aces: 1K
11-02-2012 12:34 AM
Hi,
You current template is "dektop default":
show sdm prefer
The current template is "desktop default" template.
Change it to "routing" with the commands described above.
Kind Regards,
Ivan Shirshin
**Please grade this post if you find it useful.
11-02-2012 12:57 AM
Thanks! I shall try it out... I hope it works...
09-25-2013 12:04 AM
I was having exactly the same problem after replacing 2 x 3750 stacks with brand new equipment and the new devices had IP Services software running.
The configuration was copied from the old device(s), but although I could enter the "ip policy route-map" command on the SVIs, the command was not being retained.
I followed the advice given by Ivan above by entering "sdm prefer routing" and then rebooting the switches - this allowed the configuration to be retained and resolved the problem that we were having - thanks Ivan.
Cheers
Malcolm
05-23-2016 02:32 PM
Hi josetecson,
My core is funtioning with the template desktop default.
That brings consequences pass it to default routing?
It affects my current settings?
Regards,
Anderson
05-23-2016 02:31 PM
Hi Ivan,
My core is funtioning with the template desktop default.
That brings consequences pass it to default routing?
It affects my current settings?
Regards,
Anderson
05-06-2016 08:34 PM
Hi Ivan,
I have done all the changes what you said above.. i have two 3750G 48 port and two 3750G 24 port.
Still \\ip policy route-map ala\\ command not showing in VLAN.. Please guide me.
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
1 52 WS-C3750G-48TS 12.2(55)SE4 C3750-IPSERVICESK9-M
* 2 52 WS-C3750G-48TS 12.2(55)SE4 C3750-IPSERVICESK9-M
3 24 WS-C3750G-24T 12.2(55)SE4 C3750-IPSERVICESK9-M
4 24 WS-C3750G-24T 12.2(55)SE4 C3750-IPSERVICESK9-M
OrchidHO-CORE-Switch# show sdm prefer
The current template is "desktop routing" template.
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.
number of unicast mac addresses: 3K
number of IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 11K
number of directly-connected IPv4 hosts: 3K
number of indirect IPv4 routes: 8K
number of IPv4 policy based routing aces: 0.5K
number of IPv4/MAC qos aces: 0.5K
number of IPv4/MAC security aces: 1K
PBR
access-list 111 permit ip host 10.0.0.150 10.2.0.0 0.0.7.255
route-map ala permit 10
match ip address 111
set ip next-hop verify-availability 192.168.2.2 10 track 30
set ip next-hop 192.168.2.2 192.168.150.1
interface Vlan460
bandwidth 15999
ip address 192.168.150.2 255.255.255.252
ip accounting output-packets
ip ospf network non-broadcast
!
02-14-2019 02:00 AM
Hello Ivan,
If i change the sdm to routing hope it does not impact any other configuration. Request you to please clarify.
04-03-2019 09:10 PM
I had the same issue
turns out it's the 'verify-availability' command that isn't supported in the 'set IP next hop' removed that and it worked. Looks like I need to buy a router
06-09-2017 07:47 AM
Hi, thank you. I tested and it worked
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide