Skip to main content

bgp_session_status

Checks whether configured BGP peerings can be established. Each row represents one configured BGP peering and contains information about the session it is configured to establish. For dynamic peerings, one row is shown per compatible remote peer. Possible statuses for each session are NOT_COMPATIBLE, ESTABLISHED, and NOT_ESTABLISHED. NOT_COMPATIBLE sessions are those where one or both peers are misconfigured; the BgpSessionCompatibility question provides further insight into the nature of the configuration error. NOT_ESTABLISHED sessions are those that are configured compatibly but will not come up because peers cannot reach each other (e.g., due to being blocked by an ACL). ESTABLISHED sessions are those that are compatible and are expected to come up.

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.
Established_StatusStringEstablished 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.