Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

route-map do not work

hi,all

I use route-map to make my interesting packet 22.0.0.0 next hop different the static route,but why it is not work?

config is below,

#show version

IOS (tm) 7200 Software (C7200-JS-M), Version 12.1(20)E

#show route-map OA-access

route-map OA-access, permit, sequence 10

Match clauses:

ip address (access-lists): 122

Set clauses:

ip next-hop 22.52.124.25

ip next-hop verify-availability

Policy routing matches: 46863 packets, 4590378 bytes

#show access-lists 122

Extended IP access list 122

permit ip 22.0.0.0 0.255.255.255 22.0.0.0 0.255.255.255 (10942 matches)

#show running-config interface serial 5/3

interface Serial5/3

ip address 21.52.127.10 255.255.255.252

encapsulation ppp

ip route-cache flow

ip policy route-map OA-access

#show ip policy

Interface Route map

Serial5/3 OA-access

#debug ip policy 122

15:16:13: IP: s=22.52.68.186 (Serial5/3), d=22.100.67.47, len 40, FIB PR flow-accelerated!

15:16:13: CEF-IP-POLICY: fib for address 21.52.124.10 is with flag 0

15:16:13: CEF-IP-POLICY: fib for address 22.52.124.25 is with flag 0

15:16:13: IP: s=22.52.68.186 (Serial5/3), d=22.100.67.47, len 40, FIB policy rejected - normal forwarding

15:16:13: IP: s=22.52.68.186 (Serial5/3), d=22.100.67.47, len 40, FIB PR flow-accelerated!

#show ip cache flow

SrcIf SrcIPaddress DstIf DstIPaddress Pr SrcP DstP Pkts

Se5/3 22.52.68.186 Se4/0 22.100.67.47 06 129E 1F90 3

Se5/3 22.52.68.178 Se4/0 22.59.1.30 11 0BBE 0035 1

Se5/3 22.52.68.178 Se4/0 22.59.1.30 11 0BBF 0035 1

any suggest is thankful!!

DAVID

6 REPLIES
Cisco Employee

Re: route-map do not work

I notice you use the "ip next-hop verify-availability" command in your route-map. This is not really meant for point-to-point links but for broadcast links. Can you remove that statement and see if it makes a difference.

Thanks,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Community Member

Re: route-map do not work

thanks,but it is did not work before I add this "ip next-hope verify-availability" command,so it is not the reason,i think.

Community Member

Re: route-map do not work

sorry, I couldnt understand your config. How can occur this kind of traffic ; source and destination is same network. Doesn't it stays in LAN?

Re: route-map do not work

Hello david,

We need to see a routing table to figure out what happens. Is the next hop available?

It is good practice to specify a next-hop that is on the same subnet as the sourcing adress. It helps to prevent routing loops.

Regards,

Leo

Community Member

Re: route-map do not work

Hi,

what are you trying to with that access-list . As I see, both source and destination address are in same network. So this traffic doesn't reach to the router's Serial interface. If you are trying to establish communication between overlapping networks on different sites, you have to use NAT.

Community Member

Re: route-map do not work

thanks,all friends!

i want use this router whitch had this route-map was to manage some packets from 22.0.0.0 (such as 22.52.68.0/24) to 22.0.0.0 (such as 22.49.0.0/16),the source and destination address is so many subnets,so i want use the 22.0.0.0/22 match all. so i can use this map on all my wan interface to manage the 22.52.68.0/24 22.52.69.0 /24 ...and other source subnets packets to 22.1.0.0/24 22.2.3.0/24...des subnets,through next-hop router .it is what i want to do! for so many address and so many interface i only want use one rout-map.

thanks for your help again!

157
Views
0
Helpful
6
Replies
CreatePlease to create content