cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
900
Views
0
Helpful
3
Replies

PBR with Layer3 switch (3560)

l.buschi
Level 2
Level 2

Hi all,

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

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

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

Lorenzo

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 -

http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_50_se/configuration/guide/swuncli.html#wp1088139

Jon

View solution in original post

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

Lorenzo

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 -

http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_50_se/configuration/guide/swuncli.html#wp1088139

Jon

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 1.1.1.2

access-list PBRACL permit tcp host 1.1.1.30 any eq 25

ip route 0.0.0.0 0.0.0.0 1.1.1.1

int vlan 1

ip address 1.1.1.254 255.255.255.0

ip policy route-map PBRACL

on a catalyst 3560 with IP service Image

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

THhank you very much

Johnny

Johnny

Yes that config looks fine.

Jon