Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

PBR with Layer3 switch (3560)

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
Hall of Fame Super Blue

Re: PBR with Layer3 switch (3560)

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

3 REPLIES
Hall of Fame Super Blue

Re: PBR with Layer3 switch (3560)

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

New Member

Re: PBR with Layer3 switch (3560)

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

Hall of Fame Super Blue

Re: PBR with Layer3 switch (3560)

Johnny

Yes that config looks fine.

Jon

468
Views
0
Helpful
3
Replies