06-24-2005 02:42 AM - edited 03-03-2019 09:53 AM
Hi,
i have configured a policy routing on 3750 and tested to see if it work. But it does not work, if do sh route-map
i get this..no hits ?
route-map www-test, permit, sequence 25
Match clauses:
ip address (access-lists): 110
Set clauses:
ip next-hop 172.16.20.2 10.10.2.2
Policy routing matches: 0 packets, 0 bytes
Here is the rest of the config....
---------------------------------------
interface GigabitEthernet1/0/9
no switchport
ip address 172.10.10.1 255.255.255.0
ip policy route-map www-test
-----------------------------------------
access-list 110 permit tcp 172.10.10.0 0.0.0.255 any eq www
-------------------------------------
route-map www-test permit 25
match ip address 110
set ip next-hop 172.16.20.2 10.10.2.2
---------------------------------------
Regards
06-24-2005 04:56 AM
It might seem obvious, but can you tell us what is connected on interface Gig1/0/9? Can you verify that traffic is going through this interface?
Are there any other parts of the route map?
HTH
Rick
06-24-2005 06:14 AM
Hi,
A pc with 100/gig net card is directly connected to Gig1/0/9 and i can ping through the switch to devices behind the switch and via verse.
Even when i debug ip packet/policy on access-list 110, there is no output if i generate http request to web server behind the switch.
Are there any other parts of the route map?
No, that is the only route-map config on the switch.
Regards
06-24-2005 07:15 AM
What version of code are you running on the 3750? In particular is it the EMI code?
HTH
Rick
06-24-2005 07:46 AM
Hi,
i have Modify the policy-routing and now it work.
I'm now using PBR Support for Multiple Tracking Options and this is the config i'm now using;
rtr 1
type echo protocol ipicmpecho 192.168.5.2 (proxy-server)
rtr schedule 1 start-time now life forever
!
!track the rtrs
track 123 rtr 1 reachability
!
interface gig1/0/9
ip address 172.10.10.1 255.255.255.0
ip route cache cef
ip policy route-map http
!
route-map http
match ip add 110
set ip next-hop verify-availability 192.168.5.2 track 123
Regards
Abdi
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