cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18359
Views
25
Helpful
11
Replies

PBR - Cisco 3750 vlan does not accept ip policy route-map

josetecson
Level 1
Level 1

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

Ivan Shirshin
Cisco Employee
Cisco Employee

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.

Kind Regards,
Ivan

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

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.

Kind Regards,
Ivan

Thanks! I shall try it out... I hope it works...

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

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

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

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
!

Hello Ivan,

If i change the sdm to routing hope it does not impact any other configuration. Request you to please clarify.

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


 

sarrgan2010
Level 1
Level 1

Hi, thank you. I tested and it worked

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco