cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
338
Views
0
Helpful
4
Replies

policy-routing problem

ccobtn
Level 1
Level 1

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

4 Replies 4

Richard Burts
Hall of Fame
Hall of Fame

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

HTH

Rick

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

What version of code are you running on the 3750? In particular is it the EMI code?

HTH

Rick

HTH

Rick

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

Review Cisco Networking for a $25 gift card