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?

Improve company productivity with a Business Account.Sign Up

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
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.