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.
Field | Type | Description |
---|---|---|
Node | Node | The node where this session is configured. |
VRF | String | The VRF in which this session is configured. |
Local_AS | Long | The local AS of the session. |
Local_Interface | Interface | Local interface of the session. |
Local_IP | IP | The local IP of the session. |
Remote_AS | String | The remote AS or list of ASes of the session. |
Remote_Node | Node | Remote node for this session. |
Remote_Interface | Interface | Remote interface for this session. |
Remote_IP | SelfDescribing | Remote IP or prefix for this session. |
Address_Families | List of Strings | Address Families participating in this session. |
Session_Type | String | The type of this session. |
Established_Status | String | Established status. |
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.