08-28-2010 03:01 AM - edited 03-06-2019 12:42 PM
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
Solved! Go to Solution.
08-28-2010 04:13 AM
Hi,
I don't see anything wrong in your config. Did you have 'sdm prefer routing' configured?
Regards,
Lei Tian
08-28-2010 04:13 AM
Hi,
I don't see anything wrong in your config. Did you have 'sdm prefer routing' configured?
Regards,
Lei Tian
08-28-2010 04:38 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide