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

Thanks to: http://pmoghadam.com/

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 desktop
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

Comentarios

Entradas populares de este blog

Guía de herramientas básicas para estudiantes: 31 apps y webs imprescindibles para ayudarte con los estudios

Comando FOR para archivos BAT

How to Setup and Configure Your Own GitLab Server on Ubuntu 20.04