Re: [Idr] draft-ietf-idr-bgp-model

"Wanghaibo (Rainsword)" <> Fri, 16 August 2019 13:41 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 33AAB120154; Fri, 16 Aug 2019 06:41:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id NsjUwq6HU_eb; Fri, 16 Aug 2019 06:41:07 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id BD9BA120048; Fri, 16 Aug 2019 06:41:06 -0700 (PDT)
Received: from (unknown []) by Forcepoint Email with ESMTP id 67D2D6881FD21A4B9CA4; Fri, 16 Aug 2019 14:41:04 +0100 (IST)
Received: from ( by ( with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 16 Aug 2019 14:41:03 +0100
Received: from ( by ( with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 16 Aug 2019 14:41:03 +0100
Received: from ( by ( with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.1.1713.5 via Frontend Transport; Fri, 16 Aug 2019 14:41:03 +0100
Received: from ([fe80::40a8:f0d:c0f3:2ca5]) by ([]) with mapi id 14.03.0439.000; Fri, 16 Aug 2019 21:40:47 +0800
From: "Wanghaibo (Rainsword)" <>
To: Linda Dunbar <>, "" <>
CC: "" <>
Thread-Topic: [Idr] draft-ietf-idr-bgp-model
Thread-Index: AQHVU8LgqmlTOA5+kkSWmUezRhvlvKb9xJsA
Date: Fri, 16 Aug 2019 13:40:46 +0000
Message-ID: <>
References: <> <>
In-Reply-To: <>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
x-originating-ip: []
Content-Type: multipart/alternative; boundary="_000_1E61161D6E31D849BEA887261DB609348C8F3B7Fnkgeml514mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <>
Subject: Re: [Idr] draft-ietf-idr-bgp-model
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Inter-Domain Routing <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 16 Aug 2019 13:41:10 -0000

Hi Linda,

Thanks for your repy.
But I think your example is multiple bgp neighbors with different local-as, not multiple bgp public instance.

For multiple bgp public instance , each of them is separate with others, and the routes is also separate with other bgp public instance routes.

For example,
bgp instance 1 as 100, it receive a route 1:1: from its l3vpn-ipv4 neighbor
bgp instance 2 as 200, it also receive a route 1:1: from its l3vpn-ipv4 neighbor

The two routes are separate with each other, they will be do their own routing selection and other process.
But when they are in one bgp instance, they must do routing selection between them, because they are same prefix.

As described in RFC8022, the control-plane-protocol can be multiple ,
   +--rw routing
      +--rw router-id?
      +--rw control-plane-protocols
      |  +--rw control-plane-protocol* [type name]
      |     +--rw type
      |     +--rw name
      |     +--rw description?
so it may create multiple bgp with different name, for example one bgp for instance 1, and one bgp for instance 2,
and each of them can set their own bgp parameters.

But my question is that , how to associate  the vrf to the public bgp instance, as I wrote below.
Because bgp doesn’t like ospf and isis. Each vrf’s bgp must associate to a publice bgp instance.
They will use some address-family such as l3vpn-ipv4, l2vpn-evpn to send routes.


From: Linda Dunbar []
Sent: Friday, August 16, 2019 7:41 AM
To: Wanghaibo (Rainsword) <>;
Subject: RE: [Idr] draft-ietf-idr-bgp-model

Disclaimer:  I am not the author for this draft.

The document does say:
Additional modules or submodules to handle other aspects of BGP configuration,
including policy, VRFs, VPNs, and additional address families are also expected

Does it mean that VRF VPN1 for AS 100 and VRF VPN2 for AS200 can’t yet be specified until the respective YANG Model document is specified?

I would think the following can be used to “realize the multiple BGP public instances” (missing the VPN part) as you requested?




Linda Dunbar

From: Idr <<>> On Behalf Of Wanghaibo (Rainsword)
Sent: Thursday, August 15, 2019 7:32 AM
Subject: [Idr] draft-ietf-idr-bgp-model

Hi authors,

I have some question about the bgp model.

In current model, the bgp module will augment to routing,
And the routing will schema mount to network-instance.

In this model, how to realize the multiple bgp public instance, like that

bgp instance 1 as-number 100
address-family vpn-ipv4
  vrf vpn1
  address-family ipv4

bgp instance 2 as-number 200
address-family vpn-ipv4
  vrf vpn2
  address-family ipv4

Bgp doesn’t like ospf or isis, the vrf’s bgp will associate to public bgp’s special address family.
I’m not find how to describe the associate in current model

Best regards,