07-18-2020 03:15 AM
Hello everyone, currently learning about route maps and labbed some stuff.
I was wondering if there was something up with my lab (CML2) or if this is normal behavior.
I have EIGRP running between two routers.
one of the router I have a route map set to out on eigrp
I have a deny route map entry with no match statement and just a continue statement. (Should match everything right?)
the next route-map entry is a deny with no match statement. (Again should deny everything right?)
Shouldn't this block everything from going out? I am finding in my lab that it everything ends up getting advertised to the neighbor.
I found this link on my hunt
https://community.cisco.com/t5/routing/bgp-route-map-continue-command-behavior/td-p/1855058
but this is NOT what I am seeing in my lab.
07-18-2020 08:30 AM
Hello @Joebananas ,
can you post the interesting configuration?
My guess is that you tried to use the route-map TEST into a distribute-list command
router eigrp 10
distribute-list route-map TEST out
is this correct ?
By the way, if I correctly remember the continue keyword has been introduced for route-maps applied to BGP, typically BGP neighbors.
Hope to help
Giuseppe
07-18-2020 06:04 PM - edited 07-18-2020 06:21 PM
Hey there Giuseppe, you are correct, I did use the distribute-list route-map configuration under eigrp, the configuration is below. Is this not the correct way to apply a route map to EIGRP?
router eigrp 1
distribute-list route-map test out
network 2.2.1.1 0.0.0.0
network 2.2.2.1 0.0.0.0
network 2.2.3.1 0.0.0.0
network 192.168.12.2 0.0.0.0
eigrp router-id 2.2.2.2
Route map config:
route-map test permit 10
continue
!
route-map test deny 20
I am going to try doing this in BGP and see if I see the same behavior.
Thanks for the response by the way!
Update: The continue statement did work in BGP
07-20-2020 12:32 AM
Hello @Joebananas ,
thanks for providing additional info and feedback
I think the continue command is supported in BGP as your tests have shown, but it is not supported in EIGRP and other routing protocols, as a result of this the first clause of route-map TEST being a permit with no match statement allows all routes to be sent out in EIGRP routing process.
Hope to help
Giuseppe
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