From: Ben (bmunyao@gmail.com)
Date: Thu Sep 27 2007 - 08:46:16 ART
Ruth
Here is how the community values can be set in different formats, including
the new format in your example:
Rack1R1(config)#route-map XYZ
Rack1R1(config-route-map)#set community 1000:1000
Rack1R1(config-route-map)#do sh run | s route-map
route-map XYZ permit 10
set community 65537000
Rack1R1(config-route-map)#exit
Rack1R1(config)#ip bg
Rack1R1(config)#ip bgp-community ?
new-format select aa:nn format for BGP community
Rack1R1(config)#ip bgp-community new
Rack1R1(config)#ip bgp-community new-format
Rack1R1(config)#
Rack1R1(config)#do sh run | s route-map
route-map XYZ permit 10
set community 1000:1000
Rack1R1(config)#
Note that even though i used the new format in the set command, its store in
the config as a flat number, until enter the command "ip bgp-community
new-format"
HTH
Ben
On 9/27/07, Ben <bmunyao@gmail.com> wrote:
>
> Ruth,
>
> Here is the syntax I got through dynamips:
>
> Rack1R1(config)#ip comm
> Rack1R1(config)#ip community-list ?
> <1-99> Community list number (standard)
> <100-500> Community list number (expanded)
> expanded Add an expanded community-list entry
> standard Add a standard community-list entry
>
> Rack1R1(config)#route-map ABC
> Rack1R1(config-route-map)#match comm
> Rack1R1(config-route-map)#match community ?
> <1-99> Community-list number (standard)
> <100-500> Community-list number (expanded)
> WORD Community-list name
>
> Rack1R1(config)#ip community-list standard 100:500 permit 100:500
> Rack1R1(config)#route-map ABC
> Rack1R1(config-route-map)#match community 100:500
> Rack1R1(config-route-map)#exit
> Rack1R1(config)#
> Rack1R1(config)#
> Rack1R1(config)#
> Rack1R1(config)#do sh run | s community
> ip community-list standard 100:500 permit 6554100
> match community 100:500
> Rack1R1(config)#
>
> I would therefore guess that your example was using a named community list
> (1000:1000). Or perhaps I did not understand the question :)
>
> Ben
>
>
> On 9/25/07, Gaurav Prakash <gsinl@yahoo.com> wrote:
> >
> > when you configure "match community XYZ" XYZ has to be an 'ip
> > comminuty-list
> > XYZ'.. When you configure 'set community AS1:NN1 AS2:NNN' here you give
> > exact
> > name of the communities.
> >
> > HTH
> >
> > Gaurav Prakash
> >
> >
> > ----- Original Message ----
> > From: "ruth@mycomputer.co.uk" <rswgreat@yahoo.co.uk>
> > To:
> > ccielab@groupstudy.com
> > Sent: Tuesday, September 25, 2007 5:33:21 AM
> > Subject:
> > Match Community
> >
> >
> > Hi
> >
> > I have come across the following command:-
> >
> > match
> > community 1000:1000
> > Is this interpreted the same as the 'ip community-list
> > AA:NN' command? i.e.
> > autonomous system number and network number? The DocD
> > doesn't seem to make any
> > reference to AA:NN linked to the match community
> > command...
> >
> > Thanks!
> > ___________________________________________________________
> > Want ideas for
> > reducing your carbon footprint? Visit Yahoo! For Good
> > http://uk.promotions.yahoo.com/forgood/environment.html
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> > _____________________________________________________________________________
> > _______
> > Moody friends. Drama queens. Your life? Nope! - their life, your
> > story. Play Sims Stories at Yahoo! Games.
> > http://sims.yahoo.com/
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:16 ART