Thanks everyone, found the command
-----Original Message-----
From: Kaiser Anwar [mailto:Kaiser_anwar_at_hotmail.com]
Sent: Saturday, January 12, 2013 11:41 AM
To: 'ccie99999'
Cc: 'Cisco certification'
Subject: RE: BGP Neighbor originated routes
Thanks, anyone knows of command to see what you are advertising to your ISP
peer to make sure you are advertising what you are supposed to??
Thanks
-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
ccie99999
Sent: Saturday, January 12, 2013 9:13 AM
To: Kaiser Anwar
Cc: Cisco certification
Subject: Re: BGP Neighbor originated routes
then filter:
ip as-path access-list 1 permit _1234_
route-map AVOID_TRANSIT deny 10
match as-path 1
route-map AVOID_TRANSIT permit 20
router bgp 1234
network x.x.x.x x.x.x.x
neighbor y.y.y.y route-map AVOID_TRANSIT out
should work... test it before in a lab
On Sat, Jan 12, 2013 at 2:57 PM, Kaiser Anwar
<Kaiser_Anwar_at_hotmail.com>wrote:
> We do have a multi home scenario and makes sense to only advertise
> your network. ****
>
> ** **
>
> Thanks ****
>
> ** **
>
> *From:* ccie99999 [mailto:ccie99999_at_gmail.com]
> *Sent:* Saturday, January 12, 2013 8:50 AM
> *To:* Kaiser Anwar; Cisco certification
>
> *Subject:* Re: BGP Neighbor originated routes****
>
> ** **
>
> It depends. Do you have a multi-home scenario and therefore you peer
> with another AS?****
>
> If so, probably you don't want to become a transit AS, show you should
> permit out only your AS (_1234$)****
>
> Otherwise redistribute your network into bgp, summarize it or install
> the prefixes you have with network command. ****
>
> someone correct me please if I am wrong. ****
>
> ** **
>
> ** **
>
> On Sat, Jan 12, 2013 at 2:39 PM, Kaiser Anwar
> <Kaiser_Anwar_at_hotmail.com>
> wrote:****
>
> So the same on if I want to allow only my network to the ISP outbound.
> I should apply the same type access list outbound ****
>
> ****
>
> *From:* ccie99999 [mailto:ccie99999_at_gmail.com]
> *Sent:* Saturday, January 12, 2013 8:18 AM
> *To:* Kaiser Anwar
> *Cc:* Cisco certification
> *Subject:* Re: BGP Neighbor originated routes****
>
> ****
>
> that's correct.. ****
>
> test it using show ip bgp regex _1234$ (where 1234 is the AS where
> routes are originated)****
>
> ****
>
> ****
>
> On Sat, Jan 12, 2013 at 2:14 PM, Kaiser Anwar
> <Kaiser_anwar_at_hotmail.com>
> wrote:****
>
> Hi,
>
> Just checking to make this is the correct command to make sure I only
> get the ISP originated routes
>
> ip as-path access-list 1 permit _1234$
>
> Thanks
>
>
> Blogs and organic groups at http://www.ccie.net
>
> ______________________________________________________________________
> _ Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
> ****
>
>
>
>
> -- ****
>
> @ccie99999
> https://twitter.com/ccie99999****
>
>
>
>
> -- ****
>
> @ccie99999
> https://twitter.com/ccie99999****
>
-- @ccie99999 https://twitter.com/ccie99999 Blogs and organic groups at http://www.ccie.netReceived on Sat Jan 12 2013 - 11:50:07 ART
This archive was generated by hypermail 2.2.0 : Sun Feb 03 2013 - 16:27:17 ART