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

Routing policy problem !!!

Hi everybody,

Sr because my English skill is not good so much.

Pls help me to solve the problem like this: I create the Network  with policy routing with source address. The policy is: packet from 172.16.6.1 to 4.4.4.4 must go to next-hop Pigpen (172.16.4.3). And when link from SW to Pigpen down, traffic must go to Lucy.

But it cannot switchover from the next-hop address that I config to the normal routing when the next-hop not available. I have config set ip next-hop verify-availability with track, but it not ok. CDP enable on all router.

Config on Linus:

Linus#show ip access-lists

Standard IP access list 1

    10 permit 172.16.6.0, wildcard bits 0.0.0.255 (581 matches)

 

Linus#show run | sec route-map

 ip policy route-map 172.16.6.1

route-map 172.16.6.1 permit 10

 match ip address 1

 set ip next-hop verify-availability 172.16.4.3 10 track 1

 set ip next-hop 172.16.4.3

Linus#show run inter e0/1

Building configuration...

 

Current configuration : 144 bytes

!

interface Ethernet0/1

 no switchport

 ip address 172.16.5.1 255.255.255.0

 ip ospf 1 area 0

 ip policy route-map 172.16.6.1

 

Linus#show run | sec ip sla

track 1 ip sla 1 reachability

ip sla 1

 icmp-echo 172.16.4.3 source-ip 172.16.4.1

ip sla schedule 1 life forever start-time now

 

Linus#show run | sec track

track 1 ip sla 1 reachability

 set ip next-hop verify-availability 172.16.4.3 10 track 1

 

Trace result from 172.16.6.1

172.16.6.1#traceroute 4.4.4.4

 

Type escape sequence to abort.

Tracing the route to 4.4.4.4

VRF info: (vrf in name/id, vrf out name/id)

  1 172.16.6.2 8 msec 4 msec 4 msec

  2 172.16.5.1 4 msec 8 msec 4 msec

  3  *  *  *

  4  *  *  *

  5  *  *  *

  6  *  *

 

 

Debug log from Linus

 

Linus#

*Jul  7 10:10:48.359: IP: s=172.16.6.1 (Ethernet0/1), d=4.4.4.4, len 28, FIB policy match

*Jul  7 10:10:48.359: IP: s=172.16.6.1 (Ethernet0/1), d=4.4.4.4, len 28, PBR Counted

*Jul  7 10:10:48.359: IP: s=172.16.6.1 (Ethernet0/1), d=4.4.4.4, g=172.16.4.3, len 28, FIB policy routed

Linus#

*Jul  7 10:10:51.367: IP: s=172.16.6.1 (Ethernet0/1), d=4.4.4.4, len 28, FIB policy match

*Jul  7 10:10:51.367: IP: s=172.16.6.1 (Ethernet0/1), d=4.4.4.4, len 28, PBR Counted

*Jul  7 10:10:51.367: IP: s=172.16.6.1 (Ethernet0/1), d=4.4.4.4, g=172.16.4.3, len 28, FIB policy routed

Linus#

*Jul  7 10:10:54.359: IP: s=172.16.6.1 (Ethernet0/1), d=4.4.4.4, len 28, FIB policy match

*Jul  7 10:10:54.359: IP: s=172.16.6.1 (Ethernet0/1), d=4.4.4.4, len 28, PBR Counted

*Jul  7 10:10:54.359: IP: s=172.16.6.1 (Ethernet0/1), d=4.4.4.4, g=172.16.4.3, len 28, FIB policy routed

Linus#

*Jul  7 10:10:57.367: IP: s=172.16.6.1 (Ethernet0/1), d=4.4.4.4, len 28, FIB policy match

*Jul  7 10:10:57.367: IP: s=172.16.6.1 (Ethernet0/1), d=4.4.4.4, len 28, PBR Counted

*Jul  7 10:10:57.367: IP: s=172.16.6.1 (Ethernet0/1), d=4.4.4.4, g=172.16.4.3, len 28, FIB policy routed

 

I attach my network picture.

Config on

Pls help me !

Thanks so much !

 

44
Views
0
Helpful
0
Replies
CreatePlease to create content