Compare cert salaries and plan your next career move
snickered wrote: I was curious what happens when an IP address matches several sequences. access-list 1 permit 192.168.1.0 access-list 101 permit ip host 192.168.1.20 any route-map TEST permit 10 match ip address 1 set ip next-hop 192.168.1.1 route-map TEST permit 20 match ip address 101 set ip next-hop 192.168.1.254 Well, I guess a better question would be... what happens when 192.168.1.20 is evaluated? Does it still go down the line of route-maps or does it stop after applying 10? Or will it keep looking at the rest and eventually match 20 and actually get the next-hop set as 192.168.1.254?
A.P.A wrote: Once it finds the first match it will set that..... Only if it couldn't find a match in the first sequence of the route-map should it go to the next sequence in that same route-map looking for a match.. So your answer would be that the next-hop of 192.168.1.1 would be set...... Personally I would have written the route-map in the opposite way so the exact match is always first... that way 1.20 would get it's 1.254 next hop... All other 1.0/24 hosts would get the next-hop of 1.1 Same as access-lists.... most specific entries at the top so they are processed first...
Compare salaries for top cybersecurity certifications. Free download for TechExams community.