[c-nsp] bgp from scratch

Scott Granados scott at granados-llc.net
Wed May 1 12:17:44 EDT 2013


Honestly, I wouldn't use network statements and simply tag everything through static or connected redistribution and communities.  Allows you more flexibility later and requires  little more understanding up front but you'll be better off down the road.

something like
router bgp abcd
no sync
redis static static-bgp
redid connected connected-bgp


ip prefix-list our-cidr seq 5 permit a.b.c.d/19
ip prefix-list internal-only seq 5 perm a.b.c.d/19 ge 20

route-map connected perm 10
match ip addr pref our-cidr
set community as:115
route-map connected perm 20
match ip addr pref internal-only
set community as:113

then on your exports you use route-maps that just match on community 115 or match on what other communities you have to tag other kinds of traffic.

Thanks
Scott



On Oct 30, 2011, at 3:30 AM, Edward avanti <edward.avanti at gmail.com<mailto:edward.avanti at gmail.com>> wrote:

Thanks, so would I be correct in, using example:


cisco# config t
cisco(config)# ip as-path access-list 1 permit ^$
cisco(config)# ip bgp new
cisco(config)# ^Z

Should use ^$  or put in my range?

cisco(config)# router bgp qwerty
cisco(config-router)# no sync
cisco(config-router)# network 10.3.2.0 mask 255.255.255.0
cisco(config-router)# neighbor 10.6.6.3 remote-as foo
cisco(config-router)# neighbor 10.6.6.3 access-list 1 out

cisco(config-router)# neighbor 10.25.9.110 remote-as bar
cisco(config-router)# neighbor 10.25.9.110 access-list 1 out

and google also say it need null0 all network entry too but this guide no say?

Google has much info, but each leave thing out other use, no simple for dummies and cisco site scare me <330.gif>

Thanks for help, much appreciate!


On Sat, Oct 29, 2011 at 9:01 PM, Jason Lixfeld <jason at lixfeld.ca<mailto:jason at lixfeld.ca>> wrote:
If you're just starting out, you could probably do away with setting the route-maps and just use a network statement under router bgp.  Route maps and communities could be a little overkill for what you are maybe trying to do.

Also, the global routing table is almost 7 times bigger now than it was in 1998, so make sure you have enough memory.

There are lots of calculators out there to determine appropriate memory requirements based on the expected number of received prefixes.

--

Sent from my mobile device


On 2011-10-29, at 5:29 AM, Edward avanti <edward.avanti at gmail.com<mailto:edward.avanti at gmail.com>> wrote:

> Halo All,
>
> Could someone please advise if the configuring BGP guide from
> http://www.cyberflunk.com/~nikm/cisco/bgp.html  is still applicable for
> today?
> The article was wrote on 1998 for 4200, we have 7200 and before I kill our
> company off face of planet into void I ask advise on if it still simple
> advise for operation in 2011.
>
> Many regards
> Edwardo
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net<mailto:cisco-nsp at puck.nether.net>
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/

<ATT00001.c>



More information about the cisco-nsp mailing list