PBR with Layer3 switch (3560)

Answered Question
Jul 16th, 2009

Hi all,

I would like have web traffic to be directed towrds a default gateway and SMTP traffic towards a different gateway

I know I need apolicy based routing.

Is it possibile to configure PBR in catalyst 3560?

if it is, what image do I need: the base or the enhanced one?

Thank you very much

I have this problem too.
0 votes
Correct Answer by Jon Marshall about 7 years 4 months ago


Yes the 3560 does support PBR and you will need the Enhanced Image - IP services.

You also need to enable to the routing template, "sdm prefer routing".

And there are some unsupported PBR commands on the 3560 -



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
l.buschi Thu, 07/16/2009 - 07:45

Thank you jon.

Do you think it could work the following way?

route-map PBR permit 10

match ip address PBRACL

set IP next hop

access-list PBRACL permit tcp host any eq 25

ip route

int vlan 1

ip address

ip policy route-map PBRACL

on a catalyst 3560 with IP service Image

in order to send SMTP from server to and all the lan traffic (included apart from tcp 25) to

THhank you very much



This Discussion