Hi Everyone,
 
Thank you for the valuable feedback..
 
>From what I can tell (in GNS3), it goes smallest to largest (decimal) no 
>matter what is put in the route-map:
 
R2(config-route-map)#set community 867 5 309
R2(config-route-map)#do clear ip bgp *

*Mar  1 00:25:51.527: %BGP-5-ADJCHANGE: neighbor 10.0.12.1 Down User reset
R2(config-route-map)#do sh ip bgp 1.1.1.1
BGP routing table entry for 1.1.1.0/24, version 2
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Flag: 0x820
  Not advertised to any peer
  Local
    10.0.12.1 from 10.0.12.1 (1.1.1.1)
      Origin IGP, metric 0, localpref 100, valid, internal, best
      Community: 5 309 867
 
R2(config-route-map)#
*Mar  1 00:25:54.103: %BGP-5-ADJCHANGE: neighbor 10.0.12.1 Up
R2(config-route-map)#do sh ip bgp 1.1.1.1
BGP routing table entry for 1.1.1.0/24, version 2
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Flag: 0x820
  Not advertised to any peer
  Local
    10.0.12.1 from 10.0.12.1 (1.1.1.1)
      Origin IGP, metric 0, localpref 100, valid, internal, best
      Community: 5 309 867

R2(config-route-map)#do sh run | sec route-map
 neighbor 10.0.12.1 route-map MAN_COMM in
route-map MAN_COMM permit 10
 set community 5 309 867
R2(config-route-map)#

R2(config-route-map)#no set community 867 5 309

R2(config-route-map)#set commu 500 100 200 999
R2(config-route-map)#do clear ip bgp *
R2(config-route-map)#do sh ip bgp
*Mar  1 00:27:06.359: %BGP-5-ADJCHANGE: neighbor 10.0.12.1 Down User reset

 
R2(config-route-map)#do sh ip bgp 1.1.1.1
*Mar  1 00:27:07.747: %BGP-5-ADJCHANGE: neighbor 10.0.12.1 Up
R2(config-route-map)#do sh ip bgp 1.1.1.1
BGP routing table entry for 1.1.1.0/24, version 2
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Flag: 0x820
  Not advertised to any peer
  Local
    10.0.12.1 from 10.0.12.1 (1.1.1.1)
      Origin IGP, metric 0, localpref 100, valid, internal, best
      Community: 100 200 500 999
 
R2(config-route-map)#do sh run | sec route-map
 neighbor 10.0.12.1 route-map MAN_COMM in
route-map MAN_COMM permit 10
 set community 100 200 500 999
R2(config-route-map)#
 
OCD satisfied!
 
Thanks!
Nick 

________________________________
 From: Michael Davis - Webquor <[email protected]>
To: Marko Milivojevic <[email protected]> 
Cc: IPExpert Study List <[email protected]> 
Sent: Monday, February 4, 2013 3:55 AM
Subject: Re: [OSL | CCIE_RS] BGP Community Additive Order
  
I have been meaning to ask the same question for months...

Sent from my iPhone

On 04/02/2013, at 7:18 PM, "Marko Milivojevic" <[email protected]> wrote:

> Why do you think it sounds fishy? It looks like a legitimate question to me?
> 
> Ryan - when using expanded community lists, you can use regular
> expressions to match against the community string, which can be used
> to match the exact order of communities.
> 
> --
> Marko Milivojevic - CCIE #18427 (SP R&S)
> Senior CCIE Instructor / Managing Partner - IPexpert
> 
> On Sun, Feb 3, 2013 at 9:24 PM, imad Abdallah <[email protected]> 
> wrote:
>> This question sounds fishy!!! :-)
>> In my opinion it doesn't matter as long as the community list has all the 
>> required values
>> 
>> Regards,ImadCCIE No. 37928
>> 
>>> Date: Sun, 3 Feb 2013 11:54:57 -0800
>>> From: [email protected]
>>> To: [email protected]
>>> Subject: [OSL | CCIE_RS] BGP Community Additive Order
>>> 
>>> Hi Everyone,
>>> 
>>> Just a bit of an OCD question here....
>>> 
>>> Does the order of community numbers matter?
>>> 
>>> For example, let's say you have eBGP routes that have community 867.
>>> 
>>> Then lets say a task wants you to change the community to 867 5 309
>>> 
>>> 
>>> if I create a route-map to accomplish that
>>> 
>>> 
>>> route-map BGP_COMM
>>> set community 5 309 additive
>>> 
>>> and then apply it to the peer for incoming routes, I get
>>> 
>>> community: 309 5 867
>>> 
>>> have I still satisfied the task "change the community to 867 5 309"?
>>> _______________________________________________
>>> For more information regarding industry leading CCIE Lab training, please 
>>> visit http://www.ipexpert.com/
>>> 
>>> Are you a CCNP or CCIE and looking for a job? Check out 
>>> http://www.platinumplacement.com/
>>> 
>>> http://onlinestudylist.com/mailman/listinfo/ccie_rs
>> 
>> _______________________________________________
>> For more information regarding industry leading CCIE Lab training, please 
>> visit www.ipexpert.com
>> 
>> Are you a CCNP or CCIE and looking for a job? Check out 
>> www.PlatinumPlacement.com
>> 
>> http://onlinestudylist.com/mailman/listinfo/ccie_rs
> _______________________________________________
> For more information regarding industry leading CCIE Lab training, please 
> visit www.ipexpert.com
> 
> Are you a CCNP or CCIE and looking for a job? Check out 
> www.PlatinumPlacement.com
> 
> http://onlinestudylist.com/mailman/listinfo/ccie_rs
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

http://onlinestudylist.com/mailman/listinfo/ccie_rs
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

http://onlinestudylist.com/mailman/listinfo/ccie_rs

Reply via email to