[c-nsp] BGP default route only

Sandhya Shyamsundar s.sandhya at tatacommunications.com
Fri Jul 23 06:27:44 EDT 2010


Prefix list ' annonce-C1 ' needs to have a default deny statement. Also, permitting 0.0.0.0/0 in prefix list 'announce - C1' is not required as there is already a default originate command.

Regards
Sandhya S

-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Stephane MAGAND
Sent: Friday, July 23, 2010 3:28 PM
To: cisco-nsp at puck.nether.net
Subject: [c-nsp] BGP default route only

Hi

sorry for this very simple qestion, but :

i have two cisco routers:

     one big router with the full route table of internet.


I want create a BGP session from the second to the first
but i want sent only the defaut route, not the full table.

On the big, i have:


router bgp XXX
 neighbor 78.xx.xx.xx remote-as 3xxx
 neighbor 78.xx.xx.xx update-source GigabitEthernet0/2.184

 address-family ipv4
  neighbor 78.xx.xx.xx activate
  neighbor 78.xx.xx.xx send-community
  neighbor 78.xx.xx.xx default-originate
  neighbor 78.xx.xx.xx prefix-list C2-in in
  neighbor 78.xx.xx.xx prefix-list annonce-C1 out
  neighbor 78.xx.xx.xx route-map C2-IMPORT in
  neighbor 78.xx.xx.xx maximum-prefix 10



ip prefix-list annonce-C1 seq 100 permit 0.0.0.0/0 le 24
!
!
ip prefix-list C2-in seq 15 permit 85.xx.xx.xx/21 le 24
ip prefix-list C2-in seq 20 permit 93.xx.xx.xx/20 le 24
ip prefix-list C2-in seq 100 deny 0.0.0.0/0 le 32





if i start the bgp session, the C2 receive the full table, not only
the default route.

where is my error ?

thanks
Stephane
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/



More information about the cisco-nsp mailing list