I have a route map which is not working i.e. the access list that the route map refers to is incrementing hits, but traffic not being routed towards my 'ip default next-hop 10.21.150.45' command i.e it is still being routed out the the route in the Cisco route table (which is not my intention).
Stangely, I see the route map is receiving matches, but the source client 10.23.150.15 traceroute shows traffic is still going via the wrong path:
MyRouter#show route-map codec route-map codec, permit, sequence 10 Match clauses: ip address (access-lists): codec Set clauses: ip default next-hop 10.21.150.45 Policy routing matches: 149 packets, 15734 bytes
C:\Users\dsvc_DTIUNGWKSTN>tracert -d 192.168.8.22
Tracing route to 192.168.8.22 over a maximum of 30 hops
1 1 ms <1 ms <1 ms 10.23.150.1 2 3 ms 3 ms 3 ms 192.168.3.78******this is not the next hop address i specified in my route map. I would be expecting to see 10.21.150.45 here.*************** 3 16 ms 16 ms 16 ms 192.168.2.5 4 18 ms 19 ms 18 ms 192.168.2.6
Route map ACL being matched:
MWTIURTR1#sh access-list codec Extended IP access list codec 10 permit ip host 10.23.150.15 192.168.8.0 0.0.0.255 (196 matches)*******as expected 20 permit ip host 10.23.150.15 192.168.9.0 0.0.0.255 30 permit ip host 10.23.150.15 192.168.10.0 0.0.0.255 40 permit ip host 10.23.150.15 192.168.11.0 0.0.0.255 50 permit ip host 10.23.150.15 192.168.13.0 0.0.0.255
The specified next hop in the route map is reachable by this router:
MyRouter#sh ip route 10.21.150.45 Routing entry for 10.21.150.0/24 Known via "connected", distance 0, metric 0 (connected, via interface) Advertised by bgp 65150 Routing Descriptor Blocks: * directly connected, via GigabitEthernet0/0.10 Route metric is 0, traffic share count is 1
This is my intention:
I have a host 10.23.150.15. I want to modify the next hop for traffic ONLY from this host to ONLY 192.168.8.0, 192.168.9.0, 192.168.10.0 and 192.168.13.0. All other traffic from this host will follow the normal default gateway configured on their NIC. Thank you kindly.
Extended IP access list codec 10 permit ip host 10.23.150.15 192.168.8.0 0.0.0.255 20 permit ip host 10.23.150.15 192.168.9.0 0.0.0.255 30 permit ip host 10.23.150.15 192.168.10.0 0.0.0.255 40 permit ip host 10.23.150.15 192.168.11.0 0.0.0.255 50 permit ip host 10.23.150.15 192.168.13.0 0.0.0.255
route-map codec match ip address codec set default next-hop 10.21.250.45
Then on the router: int gi0/0.30 ip policy route-map codec
Here is the config:
Current configuration : 9762 bytes ! ! Last configuration change at 08:29:09 NZST Thu May 17 2018 by lastresort !
Python based Script to BULK Import/Delete devices using Cisco Prime API
Check my Repo on GitHub for all the details ( see below link )
ASR9001 DC chassis doesn't prints a syslog incase voltage for one of the Power Modules goes below certain threshold. Because of this the monitoring of PowerModule for any failure becomes difficult. This may cause outage incase of double fa...
16.6.4 Beta Release for Catalyst Switches
Enterprise Switching Business Unit is happy to announce availability of first Beta release of 16.6.4. This will be the first beta rebuild on the 16.6.4 targeted towards Catalyst 9500/9400/9300/3850/36...