Without having much info on the network or your end to end requirements, I cant say for certain, but the following could work for you: 1) Redistributing from IGP->BGP + an aggregate statement as you mentioned below. 2) If you don't need the specifics in BGP then you could just use a network statement and floating static route (to null) to initialize the network statement function. 3) bgp network statements for each specifics in IGP+ aggregate statement.
Eric -----Original Message----- From: Nick Ryce [mailto:[email protected]] Sent: Thursday, November 24, 2011 10:45 AM To: Eric Morin; [email protected] Subject: RE: [c-nsp] IOS XR BGP Hi Eric, I require the specific to be from IGP. I have a funny feeling all I need to do is redistribute OSPF into BGP then use the aggregate-address as-set summary-only Just need confirmation if there is any other way. Nick -----Original Message----- From: Eric Morin [mailto:[email protected]] Sent: 24 November 2011 14:24 To: Nick Ryce; [email protected] Subject: RE: [c-nsp] IOS XR BGP I don't know how the as-set piece works, but you need a 'specific' in your BGP table in order to trigger the aggregate that encompasses that specific. You don't need a network statement (unless it is for a more specific prefix that is being added into BGP in this device as well, which would also require an exact match route). The one thing to note is with eBGP on XR you need an out policy applied to the neighbor (prefix list, route map ect), by default all prefixes are dropped to ebgp neighbours (ibgp works the same as non-XR where it sends everything by default). Hope this helps Eric -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Nick Ryce Sent: Thursday, November 24, 2011 9:56 AM To: Nick Ryce; [email protected] Subject: Re: [c-nsp] IOS XR BGP Still can't get this to work. I have the network statement and a corresponding aggregate address statement with as-set appended. Any other thoughts? Nick -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Nick Ryce Sent: 24 November 2011 12:54 To: Vitkovsky, Adam; [email protected] Subject: Re: [c-nsp] IOS XR BGP Hi Adam, That's great thanks. I had just focused on the summary only part which only summarise less specific BGP routes. Nick -----Original Message----- From: Vitkovsky, Adam [mailto:[email protected]] Sent: 24 November 2011 12:20 To: Nick Ryce; [email protected] Subject: RE: IOS XR BGP Same as in Jonos use the "aggregate" cmd: 2. router bgp as-number 3. address-family { ipv4 | ipv6 } unicast 4. aggregate-address address/mask-length [ as-set ] [ as-confed-set ] [ summary-only ] [ route-policy route-policy-name ] The as-set keyword generates autonomous system set path information and community information from contributing paths. The as-confed-set keyword generates autonomous system confederation set path information from contributing paths. The summary-only keyword filters all more specific routes from updates. The route-policy route-policy-name keyword and argument specify the route policy used to set the attributes of the aggregate route. adam -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Nick Ryce Sent: Thursday, November 24, 2011 11:49 AM To: [email protected] Subject: [c-nsp] IOS XR BGP Hi, I am moving from Juniper to Cisco ( IOS XR ) and am looking to emulate a certain feature ( aggregate addressing for BGP ) In Junos I can set routing-options aggregate route x.x.x.x/19 . If there is a less specific contributing route from IGP then the aggregate is announced through BGP. In BGP on IOS XR you use the network statement network x.x.x.x/19 now you need to have an exact route for this ( normally setting a static route ). This will not suit my requirements as if we lose IGP on that router I would like to stop announcing the ranges via BGP but the static route will still be there and I will theoretically blackhole traffic. Any ideas how to allow BGP to announce an aggregate route when there is less specific in IGP would be a great help. Thanks Nick ________________________________ -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Any offers or quotation of service are subject to formal specification. Errors and omissions excepted. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Lumison. Finally, the recipient should check this email and any attachments for the presence of viruses. Lumison accept no liability for any damage caused by any virus transmitted by this email. _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/ -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Any offers or quotation of service are subject to formal specification. Errors and omissions excepted. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Lumison. Finally, the recipient should check this email and any attachments for the presence of viruses. Lumison accept no liability for any damage caused by any virus transmitted by this email. _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/ -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Any offers or quotation of service are subject to formal specification. Errors and omissions excepted. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Lumison. Finally, the recipient should check this email and any attachments for the presence of viruses. Lumison accept no liability for any damage caused by any virus transmitted by this email. _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/ -- This message has been scanned by MailScanner This e-mail (including any attachments) is for the sole use of the intended recipient and may contain confidential information protected by duties of confidentiality or privilege. If you are not the intended recipient of this e-mail, please immediately notify us by return e-mail or by telephone, delete this e-mail and destroy any copies. Thank you. ________________________________________________________________________ ________ Ce message est destin? uniquement ? la personne pr?vue et peut contenir des renseignements confidentiels et/ou privil?gi?s au titre d?une obligation de confidentialit?. Si vous n'?tes pas le destinataire vis?, veuillez nous en informer sans d?lai par courriel ou t?l?phone et d?truire ce message ainsi que toute pi?ce jointe, sans en garder de copie. Merci. -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Any offers or quotation of service are subject to formal specification. Errors and omissions excepted. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Lumison. Finally, the recipient should check this email and any attachments for the presence of viruses. Lumison accept no liability for any damage caused by any virus transmitted by this email. -- This message has been scanned by MailScanner This e-mail (including any attachments) is for the sole use of the intended recipient and may contain confidential information protected by duties of confidentiality or privilege. If you are not the intended recipient of this e-mail, please immediately notify us by return e-mail or by telephone, delete this e-mail and destroy any copies. Thank you. ________________________________________________________________________________ Ce message est destiné uniquement à la personne prévue et peut contenir des renseignements confidentiels et/ou privilégiés au titre dune obligation de confidentialité. Si vous n'êtes pas le destinataire visé, veuillez nous en informer sans délai par courriel ou téléphone et détruire ce message ainsi que toute pièce jointe, sans en garder de copie. Merci.
_______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
