cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1501
Views
0
Helpful
3
Replies

BGP: how to configure more than 32 communities

whoknowswhat86
Level 1
Level 1

Hi Experts,

I am trying to attach more than 32 communities to the prefix with "set community" command:

!
route-map COMMUNITY permit 10
match ip address 101
set community 0:3216 0:3255 0:6854 0:8342 0:8492 0:8732 0:8744 0:12389 0:12452 0:12530 0:12695 0:12714 0:13238 0:13249 0:20764 0:21011 0:21219 0:24739 0:25478 0:28809 0:29076 0:29632 0:30751 0:31133 0:31500 0:35320 0:39792 0:41853 0:42861 0:1 0:2 0:3 0:4 additive
!

I am getting this error:


% Can not have more than 32 community attributes

Is there any other way to configure it? Should I go to the service provider IOS image? Does SP IOS support more communities?

I am currently using:

Router#sh ver
Cisco IOS Software, 7200 Software (C7200-ADVENTERPRISEK9-M), Version 15.1(1)XB, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Mon 21-Dec-09 04:54 by prod_rel_team

ROM: ROMMON Emulation Microcode
BOOTLDR: 7200 Software (C7200-ADVENTERPRISEK9-M), Version 15.1(1)XB, RELEASE SOFTWARE (fc1)

Thank you and regards,

Alex P.

3 Replies 3

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Alex,

may I ask you why you need more then 32 BGP community attribute added to a single route?

Are you performing a scalability test of any sort?

I agree you may be facing a Cisco specific implementation limit

http://tools.ietf.org/search/rfc1997

http://tools.ietf.org/search/rfc4384

I couldn't find a clear limit in above RFCs.

Hope to help

Giuseppe

Hi Guiseppe,

We are receiving large community attributes (more than 255 bytes) from the upstream providers ( I think they are Foundry routers) and we are facing some problems. I need to simulate these problems in the lab. I am very surprised that cisco does not support setting of large communities.

regards

Alex P

Not sure if you already found your answer, but I was able to do this with multiple sequences:

C2901-1#show run | begin route-map OUTPUT permit
route-map OUTPUT permit 10
 continue
 set community 65000:1 65000:2 65000:3 65000:4 65000:5 65000:6 65000:7 65000:8 65000:9 65000:10 65000:11 65000:12 65000:13 65000:14 65000:15 65000:16
 set community 65000:17 65000:18 65000:19 65000:20 65000:21 65000:22 65000:23 65000:24 65000:25 65000:26 65000:27 65000:28 65000:29 65000:30 65000:31 additive
!
route-map OUTPUT permit 20
 continue
 set community 65000:32 65000:33 65000:34 65000:35 65000:36 65000:37 65000:38 65000:39 65000:40 65000:41 65000:42 65000:43 65000:44 65000:45 65000:46 65000:47
 set community 65000:48 65000:49 65000:50 65000:51 65000:52 65000:53 65000:54 65000:55 65000:56 65000:57 65000:58 65000:59 65000:60 65000:61 additive
!
route-map OUTPUT permit 30
 continue
 set community 65000:62 65000:63 65000:64 65000:65 65000:66 65000:67 65000:68 65000:69 65000:70 65000:71 65000:72 65000:73 65000:74 65000:75 65000:76 65000:77
 set community 65000:78 65000:79 65000:80 65000:81 65000:82 65000:83 65000:84 65000:85 65000:86 65000:87 65000:88 65000:89 65000:90 65000:91 additive
!
route-map OUTPUT permit 40
 continue
 set community 65000:92 65000:93 65000:94 65000:95 65000:96 65000:97 65000:98 65000:99 65000:100 65000:101 65000:102 65000:103 65000:104 65000:105 65000:106 65000:107
 set community 65000:108 65000:109 65000:110 65000:111 65000:112 65000:113 65000:114 65000:115 65000:116 65000:117 65000:118 65000:119 65000:120 65000:121 additive
!
route-map OUTPUT permit 50
 continue
 set community 65000:122 65000:123 65000:124 65000:125 65000:126 65000:127 65000:128 65000:129 65000:130 65000:131 65000:132 65000:133 65000:134 65000:135 65000:136 65000:137
 set community 65000:138 65000:139 65000:140 65000:141 65000:142 65000:143 65000:144 65000:145 65000:146 65000:147 65000:148 65000:149 65000:150 65000:151 additive
!
route-map OUTPUT permit 60
 continue
 set community 65000:152 65000:153 65000:154 65000:155 65000:156 65000:157 65000:158 65000:159 65000:160 65000:161 65000:162 65000:163 65000:164 65000:165 65000:166 65000:167
 set community 65000:168 65000:169 65000:170 65000:171 65000:172 65000:173 65000:174 65000:175 65000:176 65000:177 65000:178 65000:179 65000:180 65000:181 additive
!         
route-map OUTPUT permit 70
 continue
 set community 65000:197 65000:198 65000:199 65000:200 65000:201 65000:202 65000:203 65000:204 65000:205 65000:206 65000:207 65000:208 65000:209 65000:210 65000:211 65000:212
 set community 65000:213 65000:214 65000:215 65000:216 65000:217 65000:218 65000:219 65000:220 65000:221 65000:222 65000:223 65000:224 65000:225 65000:226 additive
!
route-map OUTPUT permit 80
 continue
 set community 65000:227 65000:228 65000:229 65000:230 65000:231 65000:232 65000:233 65000:234 65000:235 65000:236 65000:237 65000:238 65000:239 65000:240 65000:241 65000:242
 set community 65000:243 65000:244 65000:245 65000:246 65000:247 65000:248 65000:249 65000:250 65000:251 65000:252 65000:253 65000:254 65000:255 65000:256 additive
!
route-map OUTPUT permit 90
 continue
 set community 65000:272 65000:273 65000:274 65000:275 65000:276 65000:277 65000:278 65000:279 65000:280 65000:281 65000:282 65000:283 65000:284 65000:285 65000:286 65000:287
 set community 65000:288 65000:289 65000:290 65000:291 65000:292 65000:293 65000:294 65000:295 65000:296 65000:297 65000:298 65000:299 65000:300 65000:301 additive
!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: