Check BGP Status Across the Fabric
==================================

Commands
========
    - netq check bgp [vrf <vrf>] [around <text-time>] [json]

Usage
======
Netq can be used to validate that all configured route peering is established
across the fabric.

cumulus@oob-mgmt-server:~$ netq check bgp
Total Sessions: 8 , Failed Sessions: 2
Node     Neighbor    Peer ID    Reason              Time
-------  ----------  ---------  ------------------  -------
leaf03   swp51       spine01    Interface down      4m ago
spine01  swp3        leaf03     Hold Timer Expired  4m ago

This output shows that one of the BGP peering on leaf03, connecting to spine01,
has failed. It has failed 4 minutes ago and is caused by an interface
failure on leaf03 which has lead to BGP hold timer expiration on spine01.

Netq has intelligently coordinating the BGP state with the cause of failure.

What is Checked
===============
The following parameters are checked for consistency across the BGP sessions
across the fabric:
    - Duplicate router id
    - Sessions in unestablished state and their cause
