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

Answered Question
Aug 28th, 2010
User Badges:

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

Correct Answer by Lei Tian about 6 years 8 months ago

Hi,


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


Regards,


Lei Tian

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Lei Tian Sat, 08/28/2010 - 04:13
User Badges:
  • Cisco Employee,

Hi,


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


Regards,


Lei Tian

sauravcgc Sat, 08/28/2010 - 04:38
User Badges:

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

Actions

This Discussion