{ "bgp": {} }
Every configured BGP peer both actively connects and passively listens on TCP port 179, matching real router behavior. If the peer also connects towards BNG Blaster at the same time, the resulting connection collision is resolved automatically per RFC 4271 Section 6.8 by comparing BGP Identifiers, with the losing TCP connection closed via a NOTIFICATION (Cease, Connection Collision Resolution).
Attribute |
Description |
|---|---|
network-interface |
BGP local interface (source interface).
Default: first network interface from configuration
|
local-address |
BGP local IPv4/6 address (source address).
Default: network interface address
|
local-ipv4-address |
BGP local IPv4 address (source address).
Alternative to local-address, which takes precedence.
|
local-ipv6-address |
BGP local IPv6 address (source address).
Alternative to local-address and local-ipv4-address,
which take precedence.
|
local-as |
BGP local AS.
Default: 65000 Range: 0 - 4294967295
|
peer-address |
Mandatory BGP peer IPv4/6 address (or peer-ipv4/ipv6-address).
|
peer-ipv4-address |
BGP peer IPv4 address.
Alternative to peer-address, which takes precedence.
|
peer-ipv6-address |
BGP peer IPv6 address.
Alternative to peer-address and peer-ipv4-address,
which take precedence.
|
peer-as |
BGP peer AS. If set, the session is rejected with Bad Peer AS
if the AS in the OPEN of the peer differs.
Default: 0 (not checked) Range: 0 - 4294967295
|
hold-time |
BGP hold-time in seconds.
Default: 90 Range: 0, 3 - 65535 (0 disables hold timer and
keepalive). The smaller of the local and peer hold time is used.
|
id |
BGP identifier.
Default: 1.2.3.4
|
tos |
BGP IP TOS.
Default: 0 Range: 0 - 255
|
ttl |
BGP IP TTL.
Default: 255 Range: 0 - 255
|
tcp-ao-key |
TCP authentication key. TCP-AO (RFC 5925) master key, or the
legacy TCP MD5 (RFC 2385) secret if tcp-ao-algorithm is md5.
A recommended minimum length applies per tcp-ao-algorithm
(32 characters for hmac-sha-256-128, 20 for hmac-sha-1-96, 16 for
aes-128-cmac-96, none for md5) but is not enforced, so shorter
keys can be used to test interop with peers that accept them.
Length: 1 - 80 characters
|
tcp-ao-algorithm |
TCP authentication algorithm. tcp-ao-key is ignored unless
this is also set to a value other than none, so TCP
authentication can be toggled on/off by changing only this
attribute, without removing tcp-ao-key from the config.
Any value other than none requires tcp-ao-key.
Default: none (disabled)
Values: none, hmac-sha-1-96, hmac-sha-256-128, aes-128-cmac-96,
md5
|
tcp-ao-key-id |
TCP-AO KeyID (SendID) sent with all segments. Mandatory for TCP-AO
(tcp-ao-key and tcp-ao-algorithm other than none or md5).
Not supported for md5 (RFC 2385 has no KeyID).
Range: 0 - 255
|
tcp-ao-rnext-key-id |
TCP-AO RNextKeyID, which is also the KeyID (RecvID) expected in
received segments. Not supported for md5.
Default: tcp-ao-key-id Range: 0 - 255
|
tcp-ao-exclude-options |
Exclude TCP options other than TCP-AO from the TCP-AO MAC
(RFC 5925 section 3.1), which must match the peer configuration.
Not supported for md5.
Default: false
|
bfd-profile-id |
Enable BFD for this session with this BFD profile.
The BFD session is started when BGP is established,
BFD down closes BGP with Cease subcode BFD Down (RFC 9384).
|
bfd-multihop |
Multi-hop BFD session (RFC 5883).
Default: single-hop if the peer address is in a connected
network of the network interface, otherwise multi-hop
|
reconnect |
Reconnect BGP session automatically.
If disabled, connections of the peer are refused after close.
Default: true
|
start-traffic |
Start global traffic after RAW update finished.
If enabled, the control command traffic-start is automatically
executed as soon as the BGP RAW update has finished.
Default: false
|
learn-routes |
Store received IPv4/IPv6 unicast, labeled unicast, EVPN and
L2VPN routes.
If disabled, received updates are not parsed.
Default: false
|
teardown-time |
BGP teardown time in seconds.
The session is closed after the notification at the
latest after this time or after 3 seconds. A session
with pending data (e.g. RAW update not read by the peer)
is reset (TCP RST) instead of closed (TCP FIN).
Default: 5 Range: 0 - 65535
|
raw-update-file |
BGP RAW update file.
|
family |
BGP families to be send in open message.
Default: ipv4/6-unicast, ipv4/6-labeled-unicast
Values:
ipv4-unicast, ipv6-unicast,
ipv4-multicast, ipv6-multicast,
ipv4-labeled-unicast, ipv6-labeled-unicast,
ipv4-vpn-unicast, ipv6-vpn-unicast,
ipv4-vpn-multicast, ipv6-vpn-multicast,
ipv4-flow, ipv6-flow, evpn, l2vpn
|
extended-nexthop |
BGP extended-nexthop families to be send in open message.
Default: None
Values: ipv4-unicast, ipv4-vpn-unicast
|