# Route-map Question Part-1

**URL:** <https://legacy-community.ine.com/t/route-map-question-part-1/2488>\
**Category:** CCNP Enterprise\
**Tags:** networking\
**Created:** [June 20, 2022, 12:37am UTC](https://legacy-community.ine.com/t/route-map-question-part-1/2488 "2022-06-20T00:37:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![major133-ac9365513dd](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@major133-ac9365513dd](https://legacy-community.ine.com/u/major133-ac9365513dd)\
**Post date:** [June 20, 2022, 12:37am UTC](https://legacy-community.ine.com/t/route-map-question-part-1/2488/1 "2022-06-20T00:37:42Z")

</div>

Hi everyone  
ex-2:-  
ip prefix-list test permit  
route-map ine deny  
match ip address test

ex-2:-  
ip prefix-list test deny  
route-map ine permit  
match ip address test

what is the difference between  
permit in the prefix list and deny in the route-map like ex-1  
vs  
deny in the prefix list and permit in the route-map like ex-2  
???

---

<div class="post-metadata">

**Author:** ![kbogart-81b6c89deee9](https://avatars.discourse-cdn.com/v4/letter/k/4af34b/32.png) [@kbogart-81b6c89deee9](https://legacy-community.ine.com/u/kbogart-81b6c89deee9)\
**Post date:** [July 7, 2022, 1:29pm UTC](https://legacy-community.ine.com/t/route-map-question-part-1/2488/2 "2022-07-07T13:29:50Z")

</div>

Hi major133,  
In the first example every packet that gets processed by the route-map sequence called, “ine” will first be inspected against the prefix-list. The “permit” in the prefix-list means that the route-map sequence is “permitted to do what it wants to do”…which in this case is to deny packets (or routes). So in this case, the “deny” in the route-map is the final action because it was permitted by the prefix-list.

In the second example, every packet that gets processed by the route-map sequence called, “ine” will first be inspected against the prefix-list. The “deny” in the prefix-list means that the route-map sequence is “denied from doing what it wants to do”. This effectively means that matching against that route-map sequence is terminated “denied by the prefix-list” and the next sequence of the route-map is inspected. If there is NOT another sequence of this route-map, then there is an implicit “deny” action taken by the route-map itself.
