Anapaya appliance configuration (bgp only)
bgp object
Top-level configuration and state for the BGP router.
global object
Global configuration for the BGP router
Local BGP autonomous system number of the router. Uses the 32-bit as-number type from the model in RFC 6991.
The list of network prefixes this BGP instance advertises.
Router id of the router - an unsigned 32-bit integer expressed in dotted quad notation.
Set the preferred source address when installing routes in the kernel.
neighbors object[]
Configuration for BGP neighbors
Reference to the MD5 authentication password for use with the neighboring device.
auto_missing_prefixes_fix object
Configuration parameters for the automatic fix when expected prefixes are missing from the BGP neighbor. The appliance compares all the prefixes received from SCION peers with the prefixes announced to the BGP neighbor. If there is a difference, the appliance will trigger a soft reset of the BGP session. This is a workaround for a bug in FRR where sometimes route updates are missed from netlink.
Enable the automatic fix when expected prefixes are missing from the BGP neighbor. If disabled, this neighbor will not be checked for missing prefixes.
falsePrefixes that are expected to be missing from the BGP neighbor. If only these prefixes are missing from the BGP neighbor, the appliance will not trigger a soft reset of the BGP session.
bfd object
BFD configuration parameters relating to the BGP neighbor
Minimum desired control packet transmission interval in milliseconds
Possible values: >= 10 and <= 60000
300Local session detection multiplier
Possible values: >= 2
3Enable BFD for the BGP neighbor
falseLocal address to use for BFD
For multihop sessions only: configure the minimum expected TTL for an incoming BFD control packet.
Possible values: >= 1 and <= 254
254Enable BFD multihop
falseMinimum required control packet receive interval in milliseconds
Possible values: >= 10 and <= 60000
300An optional textual description of the neighbor.
Specifying ebgp-multihop allows sessions with eBGP neighbors to establish when they are multiple hops away. When the neighbor is not directly connected and this setting is not enabled, the session will not establish.
Whether the BGP peer is enabled. In cases where the enabled leaf is set to false, the local system will not initiate connections to the neighbor, and will not respond to TCP connections attempts from the neighbor. If the BGP session is established at the time that this property is set to false, the session will be ceased.
trueThe local BGP autonomous system number that is to be used when establishing sessions with the remote peer or peer group, if this differs from the global BGP router autonomous system number.
Address of the BGP peer, either IPv4 or IPv6.
BGP autonomous system number of the peer.
timers object
Timers related to a BGP neighbor
Time interval in seconds between attempts to establish a session with the peer.
30Time interval in seconds that a BGP session will be considered active in the absence of keepalive or other messages from the peer. The hold-time is typically set to 3x the keepalive-interval.
30Time interval in seconds between transmission of keepalive messages to the neighbor. Typically set to 1/3 the hold-time.
10Minimum time in seconds which must elapse between subsequent UPDATE messages relating to a common set of NLRI being transmitted to a peer. This timer is referred to as MinRouteAdvertisementIntervalTimer by RFC 4721 and serves to reduce the number of UPDATE messages transmitted when a particular set of NLRI exhibit instability.
30transport object
Transport session parameters for the BGP neighbor
Set the local IPv4 address to be used for the session when sending BGP update messages. This may be expressed as either an IP address or the name of an interface.
BGP Time To Live (TTL) security check. Reference: RFC 5082: The Generalized TTL Security Mechanism (GTSM), RFC 7454: BGP Operations and Security.
{
"bgp": {
"global": {
"as": 0,
"networks": [
"string"
],
"router_id": "string",
"src_address": "string"
},
"neighbors": [
{
"auth_password_ref": "string",
"auto_missing_prefixes_fix": {
"enabled": false,
"expected_missing_prefixes": [
"string"
]
},
"bfd": {
"desired_minimum_tx_interval": 300,
"detection_multiplier": 3,
"enabled": false,
"local_address": "string",
"minimum_ttl": 254,
"multihop": false,
"required_minimum_receive": 300
},
"description": "string",
"ebgp_multihop": 0,
"enabled": true,
"local_as": 0,
"neighbor_address": "string",
"peer_as": 0,
"timers": {
"connect_retry": 30,
"hold_time": 30,
"keepalive_interval": 10,
"minimum_advertisement_interval": 30
},
"transport": {
"local_address": "string"
},
"ttl_security": 0
}
]
}
}