cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
682
Views
0
Helpful
2
Replies

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

sauravcgc
Level 1
Level 1

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

Lei Tian
Cisco Employee
Cisco Employee

Hi,

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

Regards,

Lei Tian

View solution in original post

2 Replies 2

Lei Tian
Cisco Employee
Cisco Employee

Hi,

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

Regards,

Lei Tian

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

Review Cisco Networking products for a $25 gift card