Skip to main content

bgp_session_compatibility

Checks the settings of each configured BGP peering and reports any issue with those settings locally or incompatiblity with its remote counterparts. Each row represents one configured BGP peering on a node and contains information about the session it is meant to establish. For dynamic peers, there is one row per compatible remote peer. Statuses that indicate an independently misconfigured peerings include NO_LOCAL_AS, NO_REMOTE_AS, NO_LOCAL_IP (for eBGP single-hop peerings), LOCAL_IP_UNKNOWN_STATICALLY (for iBGP or eBGP multi-hop peerings), NO_REMOTE_IP (for point-to-point peerings), and NO_REMOTE_PREFIX (for dynamic peerings). INVALID_LOCAL_IP indicates that the peering's configured local IP does not belong to any active interface on the node; UNKNOWN_REMOTE indicates that the configured remote IP is not present in the network. A locally valid point-to-point peering is deemed HALF_OPEN if it has no compatible remote peers, UNIQUE_MATCH if it has exactly one compatible remote peer, or MULTIPLE_REMOTES if it has multiple compatible remote peers. A locally valid dynamic peering is deemed NO_MATCH_FOUND if it has no compatible remote peers, or DYNAMIC_MATCH if it has at least one compatible remote peer.

FieldTypeDescription
NodeNodeThe node where this session is configured.
VRFStringThe VRF in which this session is configured.
Local_ASLongThe local AS of the session.
Local_InterfaceInterfaceLocal interface of the session.
Local_IPIpThe local IP of the session.
Remote_ASStringThe remote AS or list of ASes of the session.
Remote_NodeNodeRemote node for this session.
Remote_InterfaceInterfaceRemote interface for this session.
Remote_IPSelfDescribingRemote IP or prefix for this session.
Address_FamiliesList of StringsAddress Families participating in this session.
Session_TypeStringThe type of this session.
Configured_StatusStringConfigured status.

Copyright notice

Some of these fields are passed through directly from Batfish. The descriptions shown for those fields are taken verbatim from the Batfish documentation.

Batfish is licensed under the Apache License, Version 2.0 (the "License"). See https://github.com/batfish/batfish/blob/master/LICENSE.