Re: How to know the remote-as at your neighbor configured?

From: Venkataramanaiah.R (vramanaiah@gmail.com)
Date: Fri Nov 04 2005 - 10:15:22 GMT-3


Agree, that you can find the remote-as if you make a configuration
mistake at your end. The hex bytes do show the correct AS #s, but my
question is on finding out the AS # configured at the ISP end towards
my router. I would like to find this out, without any access to the
ISP router or any help from the ISP administrator.. Is this possible?
'
Thankyou
-Venkat

On 11/4/05, Victor Cappuccio <cvictor@protokolgroup.com> wrote:
> Thanks to Jian Gu for that tip!
> 0190h == 400d
>
> Rack1R3#show ip bgp summary
> BGP router identifier 150.1.3.3, local AS number 300
> BGP table version is 204, main routing table version 204
> 15 network entries using 1515 bytes of memory
> 28 path entries using 1344 bytes of memory
> 7 BGP path attribute entries using 420 bytes of memory
> 6 BGP AS-PATH entries using 196 bytes of memory
> 4 BGP community entries using 96 bytes of memory
> 6 BGP route-map cache entries using 120 bytes of memory
> 0 BGP filter-list cache entries using 0 bytes of memory
> BGP using 3691 total bytes of memory
> BGP activity 48/33 prefixes, 120/92 paths, scan interval 60 secs
>
> Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
> State/PfxRcd
> 150.1.4.4 4 400 326 374 204 0 0 05:22:31 0
> 150.1.5.5 4 400 385 432 204 0 0 06:12:51 2
> 154.1.13.1 4 200 445 423 204 0 0 06:29:00 13
> 154.1.23.2 4 200 391 400 204 0 0 00:16:21 13
> 154.1.38.8 4 300 399 461 204 0 0 06:35:09 0
>
> Rack1R3#conf ter
> Enter configuration commands, one per line. End with CNTL/Z.
> Rack1R3(config)#router bgp 300
> Rack1R3(config-router)#neighbor 150.1.4.4 remote-as 401
> Rack1R3(config-router)#^Z
>
> *Mar 1 07:16:24.118: %SYS-5-CONFIG_I: Configured from console by console
>
> Rack1R3#clear ip bgp *
>
>
> Rack1R3#
> *Mar 1 07:17:03.483: %BGP-3-NOTIFICATION: sent to neighbor 150.1.4.4 2/2
> (peer in wrong AS) 2 bytes 0190 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 002D
> 0104 0190 00B4 9601 0404 1002 0601 0400 0100 0102 0280 0002 0202 00
> Rack1R3#
>
>
>
> ----- Original Message -----
> From: "Venkataramanaiah.R" <vramanaiah@gmail.com>
> To: "Niche" <jackyliu419@gmail.com>
> Cc: "Imal kalutotage" <imal.kalutotage@gmail.com>; "Jian Gu"
> <guxiaojian@gmail.com>; "Scott Morris" <swm@emanon.com>;
> <ccielab@groupstudy.com>
> Sent: Friday, November 04, 2005 4:31 AM
> Subject: Re: How to know the remote-as at your neighbor configured?
>
>
> > Nope, both these commands do not exist...
> >
> > Of course i am running debug ip bgp events and debug ip bgp <neighbor>
> > updates though...
> >
> > -Venkat
> >
> > On 11/4/05, Niche <jackyliu419@gmail.com> wrote:
> > > Hi there,
> > >
> > > Please forgive me not truely understand why or what is your
> requirement,
> > > but, are these two debug commands able to help you out?
> > >
> > > debug ip bgp <neighbor ip> events
> > > debug ip bgp <neighbor ip> updates in events
> > >
> > > Cheers~
> > > Jacky
> > >
> > >
> > > On 11/4/05, Imal kalutotage <imal.kalutotage@gmail.com> wrote:
> > > >
> > > > Hi All,
> > > > the console error message in HEX only tell only your as number..
> > > > Not the wrong as configured at the remote end..
> > > >
> > > > Scott do you have any idea..
> > > >
> > > > Cheers
> > > > Imal
> > > >
> > > > On 11/4/05, Jian Gu < guxiaojian@gmail.com> wrote:
> > > > >
> > > > > I don't think you need to run any debugs, just turn on console log
> and
> > > > > configure a random AS number, you will get an error message saying
> > > > > wrong-as
> > > > > followed by a bunch of HEX numbers, the first two bytes should tell
> you
> > > > > the
> > > > > right AS number that should be configured.
> > > > >
> > > > > On 11/3/05, Scott Morris <swm@emanon.com> wrote:
> > > > > >
> > > > > > Are there any debugs that you are running? What do they tell you?
> > > > > >
> > > > > > Scott
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com ] On
> Behalf
> > > Of
> > > > > > Venkataramanaiah.R
> > > > > > Sent: Friday, November 04, 2005 2:14 AM
> > > > > > To: ccielab@groupstudy.com
> > > > > > Subject: How to know the remote-as at your neighbor configured?
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I do not have access to the ISP router. I know the remote BGP peer
> IP
> > > > > > address, but i do not know what AS# the remote peer has configured
> > > > > towards
> > > > > > me. Is there a way to find this information?
> > > > > >
> > > > > >
> > > > > > for eg.,
> > > > > >
> > > > > > my router config is..
> > > > > >
> > > > > > router bgp xyz
> > > > > > neighbor 1.1.1.1 <http://1.1.1.1> <http://1.1.1.1> remote-as 222
> > > > > >
> > > > > > ISP configs
> > > > > >
> > > > > > router bgp 222
> > > > > > neighbor 1.1.1.2 <http://1.1.1.2> <http://1.1.1.2> remote-as xy
> > > > > >
> > > > > > I want to know what is the value of xy, without logging into the
> ISP
> > > > > > router.
> > > > > > Is there a way to find this out on my router, by enabling any BGP
> > > debugs
> > > > > > or
> > > > > > will any show command help?
> > > > > >
> > > > > > -Venkat
> > > > > >
> > > > > >
> > > _______________________________________________________________________
> > > > > > Subscription information may be found at:
> > > > > > http://www.groupstudy.com/list/CCIELab.html
> > > > > >
> > > > > >
> > > _______________________________________________________________________
> > > > > > Subscription information may be found at:
> > > > > > http://www.groupstudy.com/list/CCIELab.html
> > > > >
> > > > >
> > > _______________________________________________________________________
> > > > > Subscription information may be found at:
> > > > > http://www.groupstudy.com/list/CCIELab.html
> > > >
> > > >
> > > _______________________________________________________________________
> > > > Subscription information may be found at:
> > > > http://www.groupstudy.com/list/CCIELab.html
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Thu Dec 01 2005 - 09:12:05 GMT-3