Re: [Idr] BGP-LS extension for inter-as topology retrieval in different scenario

"Ketan Talaulikar (ketant)" <> Wed, 21 March 2018 08:59 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id D47B612D86F for <>; Wed, 21 Mar 2018 01:59:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -14.529
X-Spam-Status: No, score=-14.529 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id pS2e6n6uP8cN for <>; Wed, 21 Mar 2018 01:59:47 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 86F7812D95B for <>; Wed, 21 Mar 2018 01:59:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;;; l=95648; q=dns/txt; s=iport; t=1521622779; x=1522832379; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=LpKSK9IQJq+3dv1Cvs9dBNBTg19T62cMMl+Jt8BzAJw=; b=RzPf3djusV7tYJieq3lWiYXZb9KKziTi9JI1f4ongOsR81T1uvFyud3n KYgVx7FC3IHsrUVvsFkdsgjPF3bO6kGWl3CZ+8PQBHN/8nsCgliGB5jlm 8lt5xhiC5aUOYz9lY/luiQRs4K/1QtR+jClcmxbWoR59hGP5cK1+n20yf E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AmAQAXHrJa/5hdJa1dGQEBAQEBAQE?= =?us-ascii?q?BAQEBAQcBAQEBAYJaRTBmcigKg1OKD416ggOBFocVjG6CDgsYAQyEbAIagzc?= =?us-ascii?q?hNBgBAgEBAQEBAQJrKIUlAQEBBAEBGAkKOgcEBxACAQYCEQMBAQEhAQYDAgI?= =?us-ascii?q?CHwYLFAkIAgQBCQQFCIQiTAMVD45jmz2CJYcXDYEsggkFhS+CE4FUgU8Bgxi?= =?us-ascii?q?CWEQBAQIBAYE3PgkGEIJLglQDhyyBA4QXhHeGTjAJAoYNhgh4giGBWIN9hlW?= =?us-ascii?q?BFok0OoYiAhETAYElARw4gVJwFTqCQwmCGhgSjgRwAY01gTGBFgEBAQ?=
X-IronPort-AV: E=Sophos;i="5.48,339,1517875200"; d="scan'208,217";a="359969304"
Received: from ([]) by with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2018 08:59:37 +0000
Received: from ( []) by (8.14.5/8.14.5) with ESMTP id w2L8xbMt013316 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 21 Mar 2018 08:59:38 GMT
Received: from ( by ( with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 21 Mar 2018 03:59:37 -0500
Received: from ([]) by ([]) with mapi id 15.00.1320.000; Wed, 21 Mar 2018 03:59:36 -0500
From: "Ketan Talaulikar (ketant)" <>
To: "Acee Lindem (acee)" <>, Aijun Wang <>
CC: Dhruv Dhody <>, "" <>
Thread-Topic: [Idr] BGP-LS extension for inter-as topology retrieval in different scenario
Thread-Index: AdO0ctzTW983pn7wRkG5g91zHcVBqALvt1ygAAuDOgAACgXiUAAf8NCAAAFbDAAAByY/wA==
Date: Wed, 21 Mar 2018 08:59:36 +0000
Message-ID: <>
References: <00a101d3b472$dd1a8310$974f8930$> <> <> <> <> <>
In-Reply-To: <>
Accept-Language: en-US
Content-Language: en-US
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: []
Content-Type: multipart/alternative; boundary="_000_4007e402919f4aa3b065cc253e5e047dXCHALN008ciscocom_"
MIME-Version: 1.0
Archived-At: <>
Subject: Re: [Idr] BGP-LS extension for inter-as topology retrieval in different scenario
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Inter-Domain Routing <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Wed, 21 Mar 2018 08:59:50 -0000

Hi Aijun

As Acee and I have pointed out in the meeting and again on this list, there seems to be some misunderstanding of BGP-LS advertisement of prefixes. Please check inline below.

From: Acee Lindem (acee)
Sent: 21 March 2018 07:07
To: Aijun Wang <>cn>; Ketan Talaulikar (ketant) <>
Cc: Dhruv Dhody <>om>;
Subject: Re: [Idr] BGP-LS extension for inter-as topology retrieval in different scenario

Hi Aijun,

From: Aijun Wang <<>>
Date: Wednesday, March 21, 2018 at 2:29 AM
To: "Ketan Talaulikar (ketant)" <<>>
Cc: Dhruv Dhody <<>>, IDR List <<>>, Acee Lindem <<>>
Subject: Re: [Idr] BGP-LS extension for inter-as topology retrieval in different scenario

Hi Ketan and Dhruv:

Thanks for your clarification and responses about the questions that you raised during the meeting. The followings are my considerations for these issues, if you still argues about them, we can digest the related RFC/Drafts more deeply.
1. Let's first respond the issue raised by Dhruv(it seems more easily explained:)). Normally, there will be no OSPF/IS-IS protocol deployed on the inter-AS links, then there will be no LINK NLRI of these inter-AS links being reported via the BGP-LS. So the AS Sub TLV will only be carried within the NODE NLRI of  ASBR, which is not enough to retrieve the information about the ASBR in other end. Then the newly proposed TLVs for TE Scenario are necessary to rebuild the inter-AS topology.
These TLVs should be introduced as new Link Descriptor TLVs as Ketan proposed. I will correct this point in next version.
[KT] After having thought over this a bit more, I would recommend the following since these are described in just that the procedure is not clearly specified:

-        There is no need to introduce any new TLVs

-        The Local Node descriptor should include the local AS number and the local IGP ID

-        The Remote Node descriptor should include the remote AS number and the remote IGP ID

-        The link descriptor should include the local address and/or the local-id. The remote address/ID MAY be included if available.

2.Regarding the newly defined “Redistributed Routes Originator TLV” .
Actually, there's associated "Local Node descriptors" with the "Prefix Descriptor" within the "IPv4/IPv6 Topology Prefix NLRI". But as I discussed with Acee offline after the meeting, there is no indication in RFC7752 that the "Local Node descriptor" will carry the originator information of the redistributed inter-AS prefixes.
[KT] The underlying IGP LSA or LSP info is reflected in the BGP-LS.
From the context of the related parts in this RFC, one can often deduce that the "Local Node descriptor" will only describe the information about the node that built with the BGP-LS peer relation with the SDN controller, not the node that originated the redistributed prefixes.
If the above assumption is not true, why we need to introduce the new extension TLV "Source Router ID TLV" in as SR-EXT later)

The Local Node Descriptor will reflect the OSPF or IS-IS Router that advertised the prefix at the corresponding flooding scope in the IGP. It should NOT reflect the BGP speaker advertising the BGP-LS address family – this wouldn’t be very useful. Also note the LS in BGP-LS stands for “Link-State” so it would only be appropriate for the Local Node Descriptor to reflect the advertising router within Link State protocol.
[KT] I agree completely. Doing it any different would be an implementation bug.

My understanding is that the “Source Router ID TLV” is used for prefixes that are leaked between areas by an ABR (Area Border Router). Hence, the Local Node descriptor would reflect the ABR leaking a prefix between areas and the Source Router ID would reflect the originating IS-IS router in the source area.
[KT] This is correct. As the example that I had provided, there is no AS scope flooding in ISIS and prefixes are leaked between ISIS levels then the originator information is lost. Similar may apply for OSPF for inter-area prefixes. The Source Router ID TLV in BGP-LS is usable for any protocol – please check


And actually, for the redistributed prefixes, the information about who reported these prefixes and who originated these prefixes are all important for the SDN controller. Then I prefer to redefine one different TLV to transfer the prefix originator information, as done by the above SR-EXT draft.

The reason that we do not use the "Source Router ID TLV" is that it covered only the IS-IS scenario currently, not include the other IGP scenarios as illustrated in our draft although it can extend to accomplish this. Even it extends this concept, it did not mention how to rebuild the inter-as topology based in this information.
And considering the various situations that summarized in, we prefer to take the overlapped TLV out of the SR-EXT draft because it has less correlation with SR than Inter-AS topology retrieval.
[KT] The TLVs are not tied to a specific use-case and there is no point duplicating TLVs with exactly the same semantics just because they are being used for different use-cases. I think this is where I have a disconnect and disagreement with this draft proposal.

Aijun Wang
China Telecom

在 2018年3月20日,10:44,Ketan Talaulikar (ketant) <<>> 写道:
Hi Dhruv,

You are right and perhaps new TLVs are not required (we can reuse existing).

My point was more that the Inter-AS TE link signalling via BGP-LS (that this draft addresses) is not yet covered and but that this draft should be corrected to indicate how these node/link descriptors need to be used for such links.


From:<> <<>> On Behalf Of Dhruv Dhody
Sent: 20 March 2018 10:26
To: Ketan Talaulikar (ketant) <<>>
Cc: Aijun Wang <<>>;<>
Subject: Re: [Idr] BGP-LS extension for inter-as topology retrieval in different scenario

Hi Ketan, Aijun,

On Tue, Mar 20, 2018 at 10:13 AM, Ketan Talaulikar (ketant) <<>> wrote:
Hi Aijun,

Perhaps the comments provided during the IDR WG meeting yesterday on this draft were not clear and would like to share the same on the list.

1)     The “Redistributed Routes Originator TLV” is not necessary and if your intention is to determine the originating router for redistributed routes then this is already solved as follows:

a.      The Prefix NLRI descriptor includes the Node descriptor which allows determination of the originator of the redistribution point router.

b.      The Source Router ID TLV is required in ISIS only because the redistribution point router may be in a different level/area and unlike OSPF where the flooding for type 5 is AS scope, this TLV is required for ISIS. The BGP-LS spec allows use of this Source Router ID TLV for any protocol in general, if required.

2)     The 2nd part of your draft which relates to signalling of inter-AS TE links is required and missing from the current BGP-LS specs AFAIK. However, the draft is not handling this properly. The new TLVs which you have listed in sec 3.3.2 need to be introduced as new Link Descriptor TLVs – not as attributes. While descriptor and attribute TLVs are taken from the same registry, they are very different from packaging perspective. So the draft needs to be fixed to correct this.

​   The Link NLRI (NLRI Type = 2)

is shown in the following figure.

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     |  Protocol-ID  |
     |                           Identifier                          |
     |                            (64 bits)                          |
     //               Local Node Descriptors (variable)             //
     //               Remote Node Descriptors (variable)            //
     //                  Link Descriptors (variable)                //

                      Figure 8: The Link NLRI Format

The Autonomous System sub-TLV is part of both Local and Remote Node Descriptors.
For inter-AS link, the AS sub-TLV (as part of the Remote node descriptor) carry the remote AS number?
Do we really need a new sub-TLV? ​

​Or am I missing something? ​


In summary, your draft does address a gap with respect to signalling of inter-AS TE links from IGPs into BGP-LS, but there is no gap when it comes to determination of redistributed route’s originators.


From: Idr <<>> On Behalf Of Aijun Wang
Sent: 05 March 2018 11:13
Subject: [Idr] BGP-LS extension for inter-as topology retrieval in different scenario

Hi, All:

We just uploaded one draft at to describe the BGP-LS extension for inter-as topology retrieval in different scenarios.
We are also applying the time slot on the upcoming IETF 101 meeting to present this topic. Any comments are welcome.

The abstracts of this draft are the followings:
This document describes new TLVs extended for BGP-LS to transfer the originator of redistributed routes and other inter-AS TE related TLVs to let the SDN controller to retrieve the network topology automatically under the multi-domain environments.
This extension can expand the usage of BGP-LS protocol to multi-domain; enable the network operator to collect the connection relationship between different domains and then calculate the overall network topology automatically based on the information provided by BGP-LS protocol.

Best Regards.

Aijun Wang
Network R&D and Operation Support Department
China Telecom Corporation Limited Beijing Research Institute,Beijing, China.

Idr mailing list<>