Pejman Moghadam / Cisco

Cisco 3750 - Adding route-map to vlan interface for policy based routing


Adding route-map to vlan

conf t
interface vlan 203
ip policy route-map AT
end

But it is not working

Cisco-3750# sh run int vlan 203
Building configuration...
Current configuration : 293 bytes
!
interface Vlan203
 ip address 172.31.31.25 255.255.255.248
end

Checking SDM (Switch Database Management)

Cisco-3750# show sdm prefer 
 The current template is "desktop default" template.

Enable SDM Routing Template

conf t
sdm prefer routing
end
wri mem
reload

Checking SDM again

Cisco-3750#sh sdm prefer 
 The current template is "desktop routing" template.

Adding route-map to vlan again

conf t
interface vlan 203
ip policy route-map AT
end

Now it is working

Cisco-3750#sh run int vlan 203
Building configuration...
Current configuration : 317 bytes
!
interface Vlan203
 ip address 172.31.31.25 255.255.255.248
 ip policy route-map AT
end

If you want to restore default sdm

no sdm prefer

BY: Pejman Moghadam
TAG: catalyst-3750, sdm, vlan, route-map, policy-route
DATE: 2014-01-06 23:33:33


Pejman Moghadam / Cisco [ TXT ]