github.com/osrg/gobgp/v3@v3.30.0/docs/sources/bgp-confederation.md (about) 1 # BGP Confederation 2 3 This page explains how to configure BGP confederation feature when BGP peers 4 are part of a larger mesh representing a single autonomous system (AS). 5 6 ## Prerequisites 7 8 Assume you finished [Getting Started](getting-started.md). 9 10 ## Contents 11 12 - [Configuration](#configuration) 13 14 ## Configuration 15 16 If AS30 is a confederation composed of AS65001 and AS65002, the confederation members must configure 17 the following attributes to ensure GoBGP communicates in the correct manner with other member ASNs. 18 Each confederated autonomous systems must configure the `[global.confederation.config]` with 19 `enabled = true` and `identifier = 30`. The identifier parameter is used to designate what the 20 confederation should present as it's ASN non-confederation members. Each member of the confederation 21 must also configure `member-as-list` with a list of other ASNs which compose the confederation. For 22 example, AS65001 would configure this attribute as `member-as-list = [ 65002 ]`. 23 24 ```toml 25 [global] 26 [global.config] 27 as = 65001 28 router-id = "10.0.0.1" 29 [global.confederation.config] 30 enabled = true 31 identifier = 30 32 member-as-list = [ 65002 ] 33 34 [[neighbors]] 35 [neighbors.config] 36 peer-as = 65002 37 neighbor-address = "10.0.0.2" 38 ```