cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
673
Views
0
Helpful
5
Replies

Route Map Policy on SVI - Trunk from ESX

Gregor Blaj
Level 1
Level 1

Hi,

I have a question regarding the following configuration.

  • A route map matches traffic from a particular subnet, say on VLAN 10 (using an ACL).
  • A route map policy is applied on this SVI (int vlan 10)
  • A server on this subnet is running on ESX which is connected to the switch on a trunk port.
  • The ESX host tags all frames from this server as VLAN 10.

In this scenario, should the route map pick up the traffic from this server? I don't see why not, but in my testing it doesn't seem to be working :)

Thanks for any help.

1 Accepted Solution

Accepted Solutions

acampbell
VIP Alumni
VIP Alumni

Hi,

What kind of switch and IOS version are you running.

Just a pointer if you are using a 3750 you should
change the SDM template to:-

!
sdm prefer routing
!

then configure your acces list, route maps etc


Regards
Alex

Regards, Alex. Please rate useful posts.

View solution in original post

5 Replies 5

acampbell
VIP Alumni
VIP Alumni

Hi,

What kind of switch and IOS version are you running.

Just a pointer if you are using a 3750 you should
change the SDM template to:-

!
sdm prefer routing
!

then configure your acces list, route maps etc


Regards
Alex

Regards, Alex. Please rate useful posts.

Hi Alex,

It's a 3750x (stack) with 12.2(55)SE5.

I've already changed the SDM template to routing and rebooted the switch.

I don't think the route map is working at all actually :) See config below, let me know if you can spot anything obvious but the networks on the ACL are definitely correct.

Thanks again.

Extended IP access list UPLINK2
    10 permit ip 192.168.1.0 0.0.0.255 any
    20 permit ip 192.168.4.0 0.0.1.255 any (305 matches)

route-map ROUTE1 permit 10
 match ip address UPLINK2
 set ip next-hop 10.1.1.253
!

interface Vlan10
 ip address 192.168.5.254 255.255.254.0
 ip policy route-map ROUTE1
end

Hello

try

conf t
ip local policy route-map ROUTE1

 

res

Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi Paul,

Wouldn't that only affect the traffic coming from the switch/router itself?

Cheers

Gregor Blaj
Level 1
Level 1

Turns out you have to re-create the route-map after changing the SDM template to routing. Even though this is not documented it's what worked.

Thanks for the help everyone.

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:

Review Cisco Networking products for a $25 gift card