Skip to Content.
Sympa Menu

rare-users - Re: [RARE-users] [freertr] https://datatracker.ietf.org/doc/html/draft-ietf-idr-dynamic-cap-16

Subject: RARE user and assistance email list

List archive

Re: [RARE-users] [freertr] https://datatracker.ietf.org/doc/html/draft-ietf-idr-dynamic-cap-16


Chronological Thread 
  • From: Kaliraj Vairavakkalai <>
  • To: "" <>, "" <>, "" <>, Srihari Sangli <>
  • Cc: Antoni Przygienda <>, Natrajan Venkataraman <>, "" <>, "" <>, "" <>
  • Subject: Re: [RARE-users] [freertr] https://datatracker.ietf.org/doc/html/draft-ietf-idr-dynamic-cap-16
  • Date: Tue, 6 Jun 2023 08:58:30 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0eOS7wlevVNprQyQFwBLuTJrX0ewT8BRqBqsKx3GG0E=; b=lqv4O1Dya7aoyJAp3J8CggkKnqrlMvAYMfjzvb2iZdX4xVJ2i9PyWmCbrzg74iu8waqThGWSuAdAnRau/3QZluo5tnXDMcCPvzQ57qXZMDb/HsMJenw+Dqkm3KyS09aK7iCQ05NsDIJWELBulGM5DXKwwLeZ0CHYTfNtxA6VTJKLVMX20dHdT5Lfck6Bi7F7NHaVTAyIbGVNAVsI1IsA4h1qn+hEehAOcIsyS9FVD0k9i+5aiXP/GbBFF6x1oaz8C2LqkBcpv6vm22gjMFtB+9oC4TT6tcTAFV5BTHA6U+NmG+eMmlDwt0Rlk/CBYwVG/bdcgTT/TcKWvYp+Z4OlUg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k5oz4nu9KHDgGc4dk75+t+I9Qrt1mpgVinHnfJpqeaKldZxGO5vESCGfmWa673pVZHcbV2jWArnxooXZ/8Z/kVGncxQXP7swN1PPdeZ73GwaesJ3EeuI6JB1de9ZrrwXLm8d2Vj63zn2APWPcnx/pbckY+HHDQVjwZNWtM2nTufv2+Z+nF+YrDnQ8ubnqu7EvkXJ7gevwCSGYkwx/Y4FCO5jLcfKM3bmxW4VbgdtSZYo7sVrxGRD/rr418zMSK+iFS9VJXx2rJGnpWxQj11gcm+lZaZtA08irMiYMMqugQeAJ5/YW208o6XtoxZ+Q/y1iMdLyjwZtgbhbQBtsxbvdg==
  • Msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=True;MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4;MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2023-06-06T08:57:38.7254408Z;MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=0;MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard

Csaba, Fyi: junos doesn’t implement draft-ietf-idr-dynamic-cap. Wanted to clarify, in case you are looking for interop.

 

Thanks

Kaliraj

 


Juniper Business Use Only

From: mc36 <>
Date: Tuesday, June 6, 2023 at 1:13 AM
To: <>, Srihari Sangli <>
Cc: Antoni Przygienda <>, Natrajan Venkataraman <>, <>, <>, <>, Kaliraj Vairavakkalai <>
Subject: Re: [freertr] https://datatracker.ietf.org/doc/html/draft-ietf-idr-dynamic-cap-16

[External Email. Be cautious of content]


hihi && morning, i just had some coding session yesterday and 2night and look what i have....

wireshark does not decode the capability messsages im sending but imho it's their issue and

not mineee, but here, i clearly need your confirmation....

tldr: a working clear command that i have already that updates the local side almost fineee...

then an bgp.eor message just to be sure.... next will be the parser part for the new bgp.msg...

so yesss i refactored heavily so for now i have the proper
"
     private void renegotiatingSafi(int msk, int safi, boolean add) {
"

commit a bit later when i have a working test case for the stuff..... XDDDDD

ps: interop about the draft wheeennnnn??? XDDDDDDD

thx,

cs

sid#
sid#
sid#
sid#
sid#set hairpin 1
sid#set hairpin 1 exit
sid#set interface hairpin11
sid#set interface hairpin11 vrf forwarding v2
sid#set interface hairpin11 ipv4 address 1.1.1.1 255.255.255.252
sid#delete interface hairpin11 shutdown
sid#delete interface hairpin11 log-link-change
sid#set interface hairpin11 exit
sid#set interface hairpin12
sid#set interface hairpin12 vrf forwarding v3
sid#set interface hairpin12 ipv4 address 1.1.1.2 255.255.255.252
sid#delete interface hairpin12 shutdown
sid#delete interface hairpin12 log-link-change
sid#set interface hairpin12 exit
sid#set router bgp4 1
sid#set router bgp4 1 vrf v2
sid#set router bgp4 1 local-as 1
sid#set router bgp4 1 router-id 1.1.1.1
sid#set router bgp4 1 address-family unicast
sid#set router bgp4 1 neighbor 1.1.1.2 remote-as 1
sid#set router bgp4 1 neighbor 1.1.1.2 local-as 1
sid#set router bgp4 1 neighbor 1.1.1.2 address-family unicast
sid#set router bgp4 1 neighbor 1.1.1.2 distance 200
sid#set router bgp4 1 neighbor 1.1.1.2 dynamic-capability
sid#set router bgp4 1 redistribute connected
sid#set router bgp4 1 exit
sid#set router bgp4 2
sid#set router bgp4 2 vrf v3
sid#set router bgp4 2 local-as 1
sid#set router bgp4 2 router-id 1.1.1.2
sid#set router bgp4 2 address-family unicast
sid#set router bgp4 2 neighbor 1.1.1.1 remote-as 1
sid#set router bgp4 2 neighbor 1.1.1.1 local-as 1
sid#set router bgp4 2 neighbor 1.1.1.1 address-family unicast
sid#set router bgp4 2 neighbor 1.1.1.1 distance 200
sid#set router bgp4 2 neighbor 1.1.1.1 dynamic-capability
sid#set router bgp4 2 redistribute connected
sid#set router bgp4 2 exit
sid#packet capture hairpin11
% capturing=true
sid#show config-differences | setdel
set hairpin 1
set hairpin 1 exit
set interface hairpin11
set interface hairpin11 vrf forwarding v2
set interface hairpin11 ipv4 address 1.1.1.1 255.255.255.252
delete interface hairpin11 shutdown
delete interface hairpin11 log-link-change
set interface hairpin11 exit
set interface hairpin12
set interface hairpin12 vrf forwarding v3
set interface hairpin12 ipv4 address 1.1.1.2 255.255.255.252
delete interface hairpin12 shutdown
delete interface hairpin12 log-link-change
set interface hairpin12 exit
set router bgp4 1
set router bgp4 1 vrf v2
set router bgp4 1 local-as 1
set router bgp4 1 router-id 1.1.1.1
set router bgp4 1 address-family unicast
set router bgp4 1 neighbor 1.1.1.2 remote-as 1
set router bgp4 1 neighbor 1.1.1.2 local-as 1
set router bgp4 1 neighbor 1.1.1.2 address-family unicast
set router bgp4 1 neighbor 1.1.1.2 distance 200
set router bgp4 1 neighbor 1.1.1.2 dynamic-capability
set router bgp4 1 redistribute connected
set router bgp4 1 exit
set router bgp4 2
set router bgp4 2 vrf v3
set router bgp4 2 local-as 1
set router bgp4 2 router-id 1.1.1.2
set router bgp4 2 address-family unicast
set router bgp4 2 neighbor 1.1.1.1 remote-as 1
set router bgp4 2 neighbor 1.1.1.1 local-as 1
set router bgp4 2 neighbor 1.1.1.1 address-family unicast
set router bgp4 2 neighbor 1.1.1.1 distance 200
set router bgp4 2 neighbor 1.1.1.1 dynamic-capability
set router bgp4 2 redistribute connected
set router bgp4 2 exit

sid#warning rtrBgpSpeak.doWork:rtrBgpSpeak.java:1319 neighbor 1.1.1.1 up
warning rtrBgpSpeak.doWork:rtrBgpSpeak.java:1319 neighbor 1.1.1.2 up
sid#
sid#
sid#
sid#
sid#show ipv4 bgp 1 summary
neighbor  as  ready  learn  sent  uptime
1.1.1.2   1   true   1      1     00:00:07

sid#show ipv4 bgp 1 afi
neighbor  as  open     norem  noloc
1.1.1.2   1   unicast

sid#show ipv4 bgp 1 summary
neighbor  as  ready  learn  sent  uptime
1.1.1.2   1   true   1      1     00:00:10

sid#show ipv4 bgp 1 afi
neighbor  as  open     norem  noloc
1.1.1.2   1   unicast

sid#clear ipv4 bgp 1 all del unicast
sid#show ipv4 bgp 1 summary
neighbor  as  ready  learn  sent  uptime
1.1.1.2   1   true   0      0     00:00:17

sid#show ipv4 bgp 1 afi
neighbor  as  open  norem  noloc
1.1.1.2   1

sid#show ipv4 bgp 1 summary
neighbor  as  ready  learn  sent  uptime
1.1.1.2   1   true   0      0     00:00:20

sid#show ipv4 bgp 1 afi
neighbor  as  open  norem  noloc
1.1.1.2   1

sid#clear ipv4 bgp 1 all add unicast
sid#show ipv4 bgp 1 summary
neighbor  as  ready  learn  sent  uptime
1.1.1.2   1   true   0      1     00:00:27

sid#show ipv4 bgp 1 afi
neighbor  as  open     norem  noloc
1.1.1.2   1   unicast

sid#show ipv4 bgp 1 summary
neighbor  as  ready  learn  sent  uptime
1.1.1.2   1   true   0      1     00:00:30

sid#show ipv4 bgp 1 afi
neighbor  as  open     norem  noloc
1.1.1.2   1   unicast

sid#show ipv4 bgp 1 summary
neighbor  as  ready  learn  sent  uptime
1.1.1.2   1   true   0      1     00:00:32

sid#show ipv4 bgp 1 afi
neighbor  as  open     norem  noloc
1.1.1.2   1   unicast

sid#reload force




On 6/5/23 09:12, mc36 wrote:
> hmmmm and if i recall correctly, i got known about this capability initially when
>
> i tried my bgp stuff in live and with some c1sc0 n3xus77k peers as a route-reflector....
>
> thx,
>
> cs
>
> On 6/5/23 09:08, mc36 wrote:
>> hihi,
>>
>> hmmmmmmmmmmmmmmmmmmmmm, at this point, as i started to code this draft,
>>
>> i just noticed that the bgp.msg.code is also reserved here 4 a while:
>>
>> https://urldefense.com/v3/__https://github.com/rare-freertr/freeRtr/blob/master/src/net/freertr/rtr/rtrBgpUtil.java*L526__;Iw!!NEt6yMaO-gk!GQIFnQQv-7omYbbWIRek2xvsjT4sZXEHaw-9wR93AHdYvYKGEo-YJPCzKHZOq6fMYi48dt5q$
>>
>> so im still seeking 4 your hints, etc,
>>
>> thanks in advance,
>>
>> cs
>>
>>
>>
>>
>> On 6/5/23 08:22, mc36 wrote:
>>> hi-hi,
>>>
>>> im planning to implement the $subj$ in freertr.org (i already have the bgp-compressed-updates 4 example) just for fun...
>>>
>>> my plan is just to be able to dynamically turn on-off bgp.afis that the bgp session can exchange the prefixes for...
>>>
>>> the bgp.capability code is there for a while sooo:
>>>
>>> https://urldefense.com/v3/__https://github.com/rare-freertr/freeRtr/blob/master/src/net/freertr/rtr/rtrBgpUtil.java*L756__;Iw!!NEt6yMaO-gk!GQIFnQQv-7omYbbWIRek2xvsjT4sZXEHaw-9wR93AHdYvYKGEo-YJPCzKHZOq6fMYs7A_NVx$
>>>
>>> but at this time imho im ready to get this stuff done in a week or two....
>>>
>>> at this stage my question is, do you have a sample transaction hanging around somewhere pls??
>>>
>>> if not a full pcap then just an ascii drawwing with the bits/bytes set in the messages....
>>>
>>> my current idea is that it would look a like something like this:
>>>
>>>
>>> -------------------------------------------------------------------------------------------------->
>>> bgp.capamsg init=1, initreq=1 capa.code,len,val={the new afis this guy wants to do on the session}
>>>
>>>   >-------------------------------------------------------------------------------------------------
>>> bgp.capamsg init=0, initreq=0 capa.code,len,val={the new afis this guy wants to do on the session}
>>>
>>> <---------------------------------------------------------------------->
>>>      the regular bgp.update messages, but in the freshly negotiated afis
>>>
>>>
>>>
>>> thanks in advance,
>>>
>>> cs
>>>
>>>
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>> Groups.io Links: You receive all messages sent to this group.
>>> View/Reply Online (#1319): https://urldefense.com/v3/__https://groups.io/g/freertr/message/1319__;!!NEt6yMaO-gk!GQIFnQQv-7omYbbWIRek2xvsjT4sZXEHaw-9wR93AHdYvYKGEo-YJPCzKHZOq6fMYlBySIDW$
>>> Mute This Topic: https://urldefense.com/v3/__https://groups.io/mt/99335189/6006518__;!!NEt6yMaO-gk!GQIFnQQv-7omYbbWIRek2xvsjT4sZXEHaw-9wR93AHdYvYKGEo-YJPCzKHZOq6fMYn96z1FK$
>>> Group Owner:
>>> Unsubscribe: https://urldefense.com/v3/__https://groups.io/g/freertr/unsub__;!!NEt6yMaO-gk!GQIFnQQv-7omYbbWIRek2xvsjT4sZXEHaw-9wR93AHdYvYKGEo-YJPCzKHZOq6fMYiNswdhK$  []
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>>
>>>



  • Re: [RARE-users] [freertr] https://datatracker.ietf.org/doc/html/draft-ietf-idr-dynamic-cap-16, Kaliraj Vairavakkalai, 06/06/2023

Archive powered by MHonArc 2.6.24.

Top of Page