RE: peer in wrong AS

From: Travis Niedens <niedentj_at_hotmail.com>
Date: Tue, 23 Jun 2009 23:33:33 -0700

you will still see that if you don't have the right AS:

*Mar 1 08:25:46.269: BGP: 2.2.2.2 OPEN has CAPABILITY code: 2, length 0
*Mar 1 08:25:46.269: BGP: 2.2.2.2 OPEN has ROUTE-REFRESH capability(new) for
all address-families
*Mar 1 08:25:46.273: BGP: 2.2.2.2 bad OPEN, remote AS is 65512, expected
65511 <----
*Mar 1 08:25:46.273: BGP: 2.2.2.2 went from OpenSent to Closing
*Mar 1 08:25:46.273: %BGP-3-NOTIFICATION: sent to neighbor 2.2.2.2 2/2 (peer
in wrong AS) 2 bytes FFE8 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 002D 0104
FFE8 00B4 0303 0301 1002 0601 0400 0100 0102 0280 0002 0202 00

At the arrow you can see the remote AS provided by the incoming packet (aka
the AS from the backbone). All I would have to do is change my remote-as in
the neighbor statement and it would fix the issue and BGP would come up:

router bgp 65510
 no synchronization
 bgp log-neighbor-changes
 network 7.7.7.0 mask 255.255.255.0
 neighbor 2.2.2.2 remote-as 65511
 no auto-summary

to

router bgp 65510
 no synchronization
 bgp log-neighbor-changes
 network 7.7.7.0 mask 255.255.255.0
 neighbor 2.2.2.2 remote-as 65512
 no auto-summary

et voila ..

Mar 1 08:31:36.373: BGP: 2.2.2.2 sending OPEN, version 4, my as: 65510,
holdtime 180 seconds <--- I say hi
*Mar 1 08:31:36.373: BGP: 2.2.2.2 rcv OPEN w/ OPTION parameter len: 16
*Mar 1 08:31:36.377: BGP: 2.2.2.2 rcvd OPEN w/ optional parameter type 2
(Capability) len 6
*Mar 1 08:31:36.377: BGP: 2.2.2.2 OPEN has CAPABILITY code: 1, length 4
*Mar 1 08:31:36.381: BGP: 2.2.2.2 OPEN has MP_EXT CAP for afi/safi: 1/1
*Mar 1 08:31:36.381: BGP: 2.2.2.2 rcvd OPEN w/ optional parameter type 2
(Capability) len 2
*Mar 1 08:31:36.381: BGP: 2.2.2.2 OPEN has CAPABILITY code: 128, length 0
*Mar 1 08:31:36.385: BGP: 2.2.2.2 OPEN has ROUTE-REFRESH capability(old) for
all address-families
*Mar 1 08:31:36.385: BGP: 2.2.2.2 rcvd OPEN w/ optional parameter type 2
(Capability) len 2
*Mar 1 08:31:36.389: BGP: 2.2.2.2 OPEN has CAPABILITY code: 2, length 0
*Mar 1 08:31:36.389: BGP: 2.2.2.2 OPEN has ROUTE-REFRESH capability(new) for
all address-families
BGP: 2.2.2.2 rcvd OPEN w/ remote AS 65512 <-- they say hi

*Mar 1 08:31:36.393: BGP: 2.2.2.2 went from OpenSent to OpenConfirm
*Mar 1 08:31:36.441: BGP: 2.2.2.2 went from OpenConfirm to Established
*Mar 1 08:31:36.441: %BGP-5-ADJCHANGE: neighbor 2.2.2.2 Up <-- I'm up !

Travis

> Date: Wed, 24 Jun 2009 10:45:22 +0530
> Subject: Re: peer in wrong AS
> From: vsrinivas.paturi_at_gmail.com
> To: niedentj_at_hotmail.com
> CC: ccielight_at_gmail.com; ccielab_at_groupstudy.com
>
> Hi,
>
> BGP: 2.2.2.2 rcvd OPEN w/ remote AS 65511 <<<<
>
> Here 65511 is the remote AS process (router bgp <AS>).
>
> I think the question here is, what AS value been configured on the BackBone
> Router
> to peer with my router (remote-as <AS-NUMBER> configured in BGP process)
>
> Thanks,
> Srinivas
>
> On Wed, Jun 24, 2009 at 3:46 AM, Travis Niedens
<niedentj_at_hotmail.com>wrote:
>
> > 3600 Software (C3640-IK9O3S-M), Version 12.4(25)
> >
> >
> >
> > Dynamips lab
> >
> >
> >
> > Travis
> >
> >
> >
> > Date: Tue, 23 Jun 2009 22:15:13 +0000
> > Subject: Re: peer in wrong AS
> > From: ccielight_at_gmail.com
> > To: niedentj_at_hotmail.com
> > CC: ccielab_at_groupstudy.com
> >
> >
> >
> > Hi Travis,
> > which code r u runnig ?
> > because I'm runing c2600-adventerprisek9-mz.124-3a.bin and it gives me :
> >
> > R4#debug ip bgp in
> > % Ambiguous command: "debug ip bgp in"
> > R4#debug ip bgp in ?
> > <cr>
> > A.B.C.D BGP neighbor address
> > dampening BGP dampening
> > groups BGP Config (peer-groups, templates) and Update groups
> > prefix-filter Push out prefix-list ORF and do inbound soft reconfig
> > <cr>
> >
> >
> > On Tue, Jun 23, 2009 at 10:08 PM, Travis Niedens <niedentj_at_hotmail.com>
> > wrote:
> >
> >
> > Did you try "debug ip bgp in" ?
> >
> >
> > here's a sample from my lab:
> >
> > *Mar 1 00:06:40.223: BGP: 2.2.2.2 open active, local address 2.2.2.1
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 went from Active to OpenSent
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 sending OPEN, version 4, my as: 65510,
> > holdtime 180 seconds
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 rcv message type 1, length (excl.
> > header)
> > 26
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 rcv OPEN, version 4, holdtime 180
> > seconds
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 rcv OPEN w/ OPTION parameter len: 16
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 rcvd OPEN w/ optional parameter type 2
> > (Capability) len 6
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 OPEN has CAPABILITY code: 1, length 4
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 OPEN has MP_EXT CAP for afi/safi: 1/1
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 rcvd OPEN w/ optional parameter type 2
> > (Capability) len 2
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 OPEN has CAPABILITY code: 128, length 0
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 OPEN has ROUTE-REFRESH capability(old)
> > for
> > all address-families
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 rcvd OPEN w/ optional parameter type 2
> > (Capability) len 2
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 OPEN has CAPABILITY code: 2, length 0
> > *Mar 1 00:06:40.295: BGP: 2.2.2.2 OPEN has ROUTE-REFRESH capability(new)
> > for
> > all address-families
> > BGP: 2.2.2.2 rcvd OPEN w/ remote AS 65511 <----
> >
> > Travis
> >
> > > Date: Tue, 23 Jun 2009 21:37:37 +0000
> > > Subject: peer in wrong AS
> > > From: ccielight_at_gmail.com
> > > To: ccielab_at_groupstudy.com
> >
> >
> >
> > >
> > > Hi Community,
> > >
> > > My question is about how to know (guess) which ASN is configured on the
> > peer
> > > side ( BB router : we suppose of course I don't have access to BB),
> > >
> > > the error message :
> > > *Jun 20 02:47:49.721: %BGP-3-NOTIFICATION: received from
> > > neighbor 12.12.10.254 2/2 (peer in wrong AS) 2 bytes 000C
> > >
> > > show the value 000C ( hexa ) which is number 12 , this is the ASN value
> > on
> > > my router not on BB side.
> > >
> > >
> > > I tried "debug ip bgp" but cannot get any relevant information.
> > >
> > > Any help please ?
> > >
> > > Br //
> > >
> > > Maher
> > >
> > >
> > > Blogs and organic groups at http://www.ccie.net
> > >
> > > _______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> > Bing brings you maps, menus, and reviews organized in one place. Try it
> > now.
> >
> > _________________________________________________________________
> > Insert movie times and more without leaving Hotmail..
> >
> >
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutoria
> >
l_QuickAdd_062009<http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_T
AGLM_WL_HM_Tutoria%0Al_QuickAdd_062009>
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
Received on Tue Jun 23 2009 - 23:33:33 ART

This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 20:02:37 ART