mirror_frr/doc
Dinesh G Dutt 3577f1c54f bgpd: Add a new command to only show failed peerings
In a data center, having 32-128 peers is not uncommon. In such a situation, to find a
peer that has failed and why is several commands. This hinders both the automatability of
failure detection and the ease/speed with which the reason can be found. To simplify this
process of catching a failure and its cause quicker, this patch does the following:

1. Created a new function, bgp_show_failed_summary to display the
   failed summary output for JSON and vty
2. Created a new function to display the reset code/subcode. This is now used in the
   failed summary code and in the show neighbors code
3. Added a new variable failedPeers in all the JSON outputs, including the vanilla
   "show bgp summary" family. This lists the failed session count.
4. Display peer, dropped count, estd count, uptime and the reason for failure as the
   output of "show bgp summary failed" family of commands
5. Added three resset codes for the case where we're waiting for NHT, waiting for peer
   IPv6 addr, waiting for VRF to init.

This also counts the case where only one peer has advertised an AFI/SAFI.

The new command has the optional keyword "failed" added to the classical summary command.

The changes affect only one existing output, that of "show [ip] bgp neighbors <nbr>". As
we track the lack of NHT resolution for a peer or the lack of knowing a peer IPv6 addr,
the output of that command will show a "waiting for NHT" etc. as the last reset reason.

This patch includes update to the documentation too.

Signed-off-by: Dinesh G Dutt <5016467+ddutt@users.noreply.github.com>
2019-09-02 14:21:44 +00:00
..
developer Merge pull request #4497 from opensourcerouting/rcu 2019-08-08 08:41:07 -04:00
extra doc: add VRRP documentation 2019-05-17 00:27:08 +00:00
figures all: remove logical-router functionality 2019-08-02 17:10:11 +03:00
manpages doc: remove trailing whitespace in vrrp manpage 2019-05-17 00:27:08 +00:00
mpls *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
user bgpd: Add a new command to only show failed peerings 2019-09-02 14:21:44 +00:00
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
Makefile build: non-recursive doc + parallel sphinx 2018-08-30 08:06:44 +02:00
subdir.am build: refactor & revamp python autoconf logic 2019-06-04 16:21:20 +02:00