apply route-map to interface

How can i apply  route map to interface on a 3750 ?
its running  (C3750-IPSERVICES-M), Version 12.2(35)SE5

eg..this not working...
int fa0/0
ip policy route-map pbr
jly999Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rfc1180Connect With a Mentor Commented:
The sdm prefer route template or sdm prefer routing-pbr template commands have to be used if policy-based routing (PBR) is used on the switch. If not, then the commands used for PBR will disappear.
0
 
Don JohnstonInstructorCommented:
What happens when you issue the command?

An error message? Nothing?
0
 
jly999Author Commented:
it won't let me  - command not listed in the physical interface config

I tried under interface vlan  - it accepts command, but when i show run int vlan 18 it hasnt applied it
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Jan SpringerCommented:
Is this a layer 3 (ip addressed) interface or this interface part of a VLAN?  If part of a VLAN, then the route-map statement goes there.
0
 
Jan SpringerCommented:
Are you running the routing desktop?

   sh sdm prefer

You may need to change to 'sdm prefer routing' (which requires a reload)
0
 
Don JohnstonInstructorCommented:
Please post your config.
0
 
rfc1180Commented:
Also, 'show sdm prefer'
0
 
Jan SpringerConnect With a Mentor Commented:
sdm prefer routing is sufficient for pbr.
0
 
Marius GunnerudSenior Systems EngineerCommented:
have you issued the "ip routing" command from global configuration mode prior to issuing the "ip policy route-map pbr" on the interface?
0
 
jly999Author Commented:
thanks
0
All Courses

From novice to tech pro — start learning today.