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. And see here for current known issues.

New Member

PBR on a WS-C3750G-12S Switch not working

HI

I am facing a problem while doing PBR through a WS-C3750G-12S switch with IOS c3750-ipservicesk9-mz.122-55.SE.bin.

While i am trying  to apply the ip policy route-map command to the VLAN interfaces it's not taking, thats why i am not able to implement PBR on the switch.

I have two Internet routers attached to the core switch. i want to divert some vlan through router1 and rest through router 2. Attaching the configuration

for details.

ip access-list extended ISP1
permit ip 192.168.2.0 0.0.0.255 any
permit ip 192.168.1.0 0.0.0.255 any
permit ip 192.168.3.0 0.0.0.255 any
ip access-list extended ISP2
permit ip 192.168.4.0 0.0.0.255 any
permit ip 192.168.5.0 0.0.0.255 any
permit ip 192.168.6.0 0.0.0.255 any
!
ip sla enable reaction-alerts
route-map CGCINT permit 10
match ip address ISP1
set ip next-hop 192.168.101.2
!
route-map CGCINT permit 20
match ip address ISP2
set ip next-hop 192.168.30.6

Any help in this reagrd shall be highly appreciated.

Thanks and Regards

Saurav Tripathy

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: PBR on a WS-C3750G-12S Switch not working

Hi,

I don't see anything wrong in your config. Did you have 'sdm prefer routing' configured?

Regards,

Lei Tian

2 REPLIES
Cisco Employee

Re: PBR on a WS-C3750G-12S Switch not working

Hi,

I don't see anything wrong in your config. Did you have 'sdm prefer routing' configured?

Regards,

Lei Tian

New Member

Re: PBR on a WS-C3750G-12S Switch not working

Hi Lei

Thanks for your response and time, i have enabled it before i got your post now it's working.

Anyways appreciate your help.

Thanks and Regards

Saurav

464
Views
0
Helpful
2
Replies