BGP Protocol

Address Families

Family Config Name AFI/SAFI Encode Decode Route Config
IPv4 Unicast ipv4/unicast 1/1 βœ“ βœ“ βœ“
IPv6 Unicast ipv6/unicast 2/1 βœ“ βœ“ βœ“
IPv4 Multicast ipv4/multicast 1/2 βœ“ βœ“ βœ“
IPv6 Multicast ipv6/multicast 2/2 βœ“ βœ“ βœ“
IPv4 VPN ipv4/mpls-vpn 1/128 βœ“ βœ“ βœ“
IPv6 VPN ipv6/mpls-vpn 2/128 βœ“ βœ“ βœ“
IPv4 FlowSpec ipv4/flow 1/133 βœ“ βœ“ βœ“
IPv6 FlowSpec ipv6/flow 2/133 βœ“ βœ“ βœ“
IPv4 FlowSpec VPN ipv4/flow-vpn 1/134 βœ“ βœ“ βœ“
IPv6 FlowSpec VPN ipv6/flow-vpn 2/134 βœ“ βœ“ βœ“
IPv4 MPLS Label ipv4/mpls-label 1/4 βœ“ βœ“ βœ“
IPv6 MPLS Label ipv6/mpls-label 2/4 βœ“ βœ“ βœ“
L2VPN EVPN l2vpn/evpn 25/70 βœ“ βœ“ βœ“
L2VPN VPLS l2vpn/vpls 25/65 βœ“ βœ“ βœ“
BGP-LS bgp-ls/bgp-ls 16388/71 βœ• βœ“ βœ•
BGP-LS VPN bgp-ls/bgp-ls-vpn 16388/72 βœ• βœ“ βœ•
IPv4 MVPN ipv4/mvpn 1/5 βœ• βœ“ βœ•
IPv6 MVPN ipv6/mvpn 2/5 βœ• βœ“ βœ•
IPv4 RTC ipv4/rtc 1/132 βœ• βœ“ βœ•
IPv4 MUP ipv4/mup 1/85 βœ“ βœ“ βœ“
IPv6 MUP ipv6/mup 2/85 βœ“ βœ“ βœ“
IPv4 SR-Policy ipv4/sr-policy 1/73 βœ“ βœ“ βœ“
IPv6 SR-Policy ipv6/sr-policy 2/73 βœ“ βœ“ βœ“

Capabilities

Capability Code RFC Description
Multiprotocol Extensions 1 RFC 4760 Multi-protocol BGP (AFI/SAFI negotiation)
4-byte ASN 65 RFC 6793 32-bit AS numbers
Route Refresh 2 RFC 2918 Request full route re-advertisement
Enhanced Route Refresh 70 RFC 7313 Bounded clear and re-send
ADD-PATH 69 RFC 7911 Multiple paths per prefix
Extended Message 6 RFC 8654 65535-byte messages
Extended Next Hop 5 RFC 8950 IPv6 next-hop for IPv4 NLRI
Graceful Restart 64 RFC 4724 Session preservation across restarts (Restarting Speaker: R-bit via zefs marker on ze signal restart)
Long-Lived GR 71 RFC 9494 Extended stale route retention with LLGR_STALE community and depreference
BGP Role 9 RFC 9234 Peer relationship role
Hostname 73 draft FQDN capability
Software Version 75 draft Software version advertisement
Link-Local Next Hop 77 β€” IPv6 link-local as next-hop
PATHS-LIMIT 76 draft-abraitis-idr-addpath-paths-limit Per-family path count limit for ADD-PATH

Path Attributes

Attribute Code JSON Key Description
ORIGIN 1 origin igp / egp / incomplete
AS_PATH 2 as-path AS path segments
NEXT_HOP 3 next-hop Next hop IP address
MED 4 med Multi-Exit Discriminator
LOCAL_PREF 5 local-preference Local preference
ATOMIC_AGGREGATE 6 atomic-aggregate Atomic aggregate flag
AGGREGATOR 7 aggregator Aggregator ASN:IP
COMMUNITY 8 community Standard communities
ORIGINATOR_ID 9 originator-id Route reflector originator
CLUSTER_LIST 10 cluster-list Route reflector cluster list
MP_REACH_NLRI 14 β€” Multiprotocol reachable NLRI
MP_UNREACH_NLRI 15 β€” Multiprotocol unreachable NLRI
EXTENDED_COMMUNITY 16 extended-community Extended communities
LARGE_COMMUNITY 32 large-community Large communities (RFC 8092)
PREFIX_SID 40 prefix-sid Segment Routing prefix SID