cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1253
Views
25
Helpful
6
Replies

prefix list number limit on route map

Myky
Level 1
Level 1

Hi guys,

 

Is there a limit on how many prefix lists you can attach per one sequence number on route map for a single match?

route-map TEST, permit, sequence 6
Match clauses:
ip address prefix-lists: PL1 PL2 PL3 PL4 PL5 PL6 >>> how many (if there is a limit) I can attach per single match?

 

Thanks,

myky

1 Accepted Solution

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

Hi @Myky ,

 

There is a maximum number of characters per line, but I do not think there is a hard limit to the number of prefix-list you can specify on multiple lines.

 

route-map test permit 10

match ip address prefix-list PL0 PL1 PL2 PL3 PL4 PL5 PL6 PL7 PL8 PL9 PL10 PL11 PL12 PL13 PL14 PL15 PL16 PL17 PL18 PL19 PL20 PL21 PL22 PL23 PL24 PL25 PL26 PL27 PL28 PL29 PL30

match ip address prefix-list PL30 PL31 PL32 PL33 PL34 PL35 PL36 PL37 PL38 PL39 PL40 PL41 PL42 PL43 PL44 PL45 PL46 PL47 PL48 PL49 PL50 PL51 PL52 PL53 PL54 PL55 PL56 PL57 PL58 PL59 PL60

match ip address prefix-list PL60 PL61 PL62 PL63 PL64 PL65 PL66 PL67 PL68 PL69 PL70 PL71 PL72 PL73 PL74 PL75 PL76 PL77 PL78 PL79 PL80 PL81 PL82 PL83 PL84 PL85 PL86 PL87 PL88 PL89 PL90

match ip address prefix-list PL90 PL91 PL92 PL93 PL94 PL95 PL96 PL97 PL98 PL99 PL100 PL101 PL102 PL103 PL104 PL105 PL106 PL107 PL108 PL109 PL110 PL111 PL112 PL113 PL114 PL115 PL116 PL117 PL118 PL119 PL120

match ip address prefix-list PL120 PL121 PL122 PL123 PL124 PL125 PL126 PL127 PL128 PL129 PL130 PL131 PL132 PL133 PL134 PL135 PL136 PL137 PL138 PL139 PL140 PL141 PL142 PL143 PL144 PL145 PL146 PL147 PL148 PL149 PL150

match ip address prefix-list PL150 PL151 PL152 PL153 PL154 PL155 PL156 PL157 PL158 PL159 PL160 PL161 PL162 PL163 PL164 PL165 PL166 PL167 PL168 PL169 PL170 PL171 PL172 PL173 PL174 PL175 PL176 PL177 PL178 PL179 PL180

match ip address prefix-list PL180 PL181 PL182 PL183 PL184 PL185 PL186 PL187 PL188 PL189 PL190 PL191 PL192 PL193 PL194

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

6 Replies 6

why you do this ?
instead do this 
ip prefix-list MHM seq 5 permit ....

ip prefix-list MHM seq 10 permit ....

ip prefix-list MHM seq 20 permit ....

ip prefix-list MHM seq 30 permit ....

 

which is same as add many match prefix-list under route-map match.

please note that 

in match there is AND and OR

.cisco-ccnp-route-map-4.jpg

 

@balaji.bandi @MHM Cisco World thanks!

 

@MHM Cisco World that is certainly a valid option but we don't have much room between seq numbers (let's say) and also there is a lot of other stuff configured.

 

 

https://community.cisco.com/t5/routing/maximum-acl-rules-and-route-map-sequence-numbers/td-p/2945712

 

Check this discussion, one answer but dont mention the source of information that 500 acl can apply to pbr (to prevent delay).

balaji.bandi
Hall of Fame
Hall of Fame

Good question never come across any limitation, but we need to consider optimal matching, the more means more processing conditions.

 

Note : happy to hear that limitation.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Harold Ritter
Cisco Employee
Cisco Employee

Hi @Myky ,

 

There is a maximum number of characters per line, but I do not think there is a hard limit to the number of prefix-list you can specify on multiple lines.

 

route-map test permit 10

match ip address prefix-list PL0 PL1 PL2 PL3 PL4 PL5 PL6 PL7 PL8 PL9 PL10 PL11 PL12 PL13 PL14 PL15 PL16 PL17 PL18 PL19 PL20 PL21 PL22 PL23 PL24 PL25 PL26 PL27 PL28 PL29 PL30

match ip address prefix-list PL30 PL31 PL32 PL33 PL34 PL35 PL36 PL37 PL38 PL39 PL40 PL41 PL42 PL43 PL44 PL45 PL46 PL47 PL48 PL49 PL50 PL51 PL52 PL53 PL54 PL55 PL56 PL57 PL58 PL59 PL60

match ip address prefix-list PL60 PL61 PL62 PL63 PL64 PL65 PL66 PL67 PL68 PL69 PL70 PL71 PL72 PL73 PL74 PL75 PL76 PL77 PL78 PL79 PL80 PL81 PL82 PL83 PL84 PL85 PL86 PL87 PL88 PL89 PL90

match ip address prefix-list PL90 PL91 PL92 PL93 PL94 PL95 PL96 PL97 PL98 PL99 PL100 PL101 PL102 PL103 PL104 PL105 PL106 PL107 PL108 PL109 PL110 PL111 PL112 PL113 PL114 PL115 PL116 PL117 PL118 PL119 PL120

match ip address prefix-list PL120 PL121 PL122 PL123 PL124 PL125 PL126 PL127 PL128 PL129 PL130 PL131 PL132 PL133 PL134 PL135 PL136 PL137 PL138 PL139 PL140 PL141 PL142 PL143 PL144 PL145 PL146 PL147 PL148 PL149 PL150

match ip address prefix-list PL150 PL151 PL152 PL153 PL154 PL155 PL156 PL157 PL158 PL159 PL160 PL161 PL162 PL163 PL164 PL165 PL166 PL167 PL168 PL169 PL170 PL171 PL172 PL173 PL174 PL175 PL176 PL177 PL178 PL179 PL180

match ip address prefix-list PL180 PL181 PL182 PL183 PL184 PL185 PL186 PL187 PL188 PL189 PL190 PL191 PL192 PL193 PL194

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Thanks all.

Review Cisco Networking for a $25 gift card