| Field | Type | Description | Value(s) |
|---|---|---|---|
localASN | uint32 | Local autonomous system number for the BGP speaker. | |
routerID | Addr | BGP router-id. If not set, it is derived from the first advertised address. | |
routeSource | Addr | Preferred source address set on routes installed from BGP (the kernel route src / RTA_PREFSRC,equivalent to FRR’s ip protocol bgp route-map SETSRC). Set this to the node’s loopback so thattraffic following BGP-learned routes is sourced from the node identity even though the unnumbered fabric uplinks carry no address of their own. If not set, the kernel selects the source address. | |
advertise | []string | Names of the links whose addresses are originated into BGP as host routes (/32, /128). Typically a loopback or dummy link holding the node IP. | |
multipath | bool | Enable ECMP (multipath) for routes learned from multiple neighbors. | |
maxPaths | uint8 | Maximum number of ECMP next-hops to install. Zero uses the implementation default. | |
neighbors | BGPNeighborConfig | BGP neighbors to peer with. |
neighbors[]
BGPNeighborConfig configures a single BGP neighbor.| Field | Type | Description | Value(s) |
|---|---|---|---|
address | Addr | Neighbor IP address for a numbered session. Mutually exclusive with link. | |
link | string | Link name for an unnumbered (IPv6 link-local) session. Mutually exclusive with address.Link aliases are supported. | |
peerASN | uint32 | Expected peer ASN. Zero accepts any ASN advertised by the peer (eBGP “external”). | |
holdTime | Duration | BGP hold time. Zero uses the implementation default. | |
bfd | BGPBFDConfig | BFD (Bidirectional Forwarding Detection) configuration for the neighbor. |
bfd
BGPBFDConfig configures BFD for a BGP neighbor.| Field | Type | Description | Value(s) |
|---|---|---|---|
transmitInterval | Duration | Desired minimum transmit interval. Zero uses the implementation default. | |
receiveInterval | Duration | Required minimum receive interval. Zero uses the implementation default. | |
detectMultiplier | uint8 | BFD detection multiplier. Zero uses the implementation default. |