summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2020-04-13 16:34:11 -0300
committerRafael Zalamena <rzalamena@opensourcerouting.org>2020-04-14 09:35:08 -0300
commit2b21c5500d049185d2569ad88598708dc19ab34c (patch)
tree07c9d3275a09faedfea6c6623edb56996ca5c104
parent9532601587a9edc840d168cbd8986d7704bf7bc8 (diff)
doc: update BFD debugging section
Show more information about BFD debug feature. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
-rw-r--r--doc/user/bfd.rst29
1 files changed, 26 insertions, 3 deletions
diff --git a/doc/user/bfd.rst b/doc/user/bfd.rst
index e6a3c4977a..32397d1303 100644
--- a/doc/user/bfd.rst
+++ b/doc/user/bfd.rst
@@ -476,13 +476,36 @@ You can also clear packet counters per session with the following commands, only
Session down events: 0
Zebra notifications: 4
-Logging / debugging
-===================
+Debugging
+=========
-There are no fine grained debug controls for bfdd. Just enable debug logs.
+By default only informational, warning and errors messages are going to be
+displayed. If you want to get debug messages and other diagnostics then make
+sure you have `debugging` level enabled:
::
config
log file /var/log/frr/frr.log debugging
log syslog debugging
+
+You may also fine tune the debug messages by selecting one or more of the
+debug levels:
+
+.. index:: [no] debug bfd network
+.. clicmd:: [no] debug bfd network
+
+ Toggle network events: show messages about socket failures and unexpected
+ BFD messages that may not belong to registered peers.
+
+.. index:: [no] debug bfd peer
+.. clicmd:: [no] debug bfd peer
+
+ Toggle peer event log messages: show messages about peer creation/removal
+ and state changes.
+
+.. index:: [no] debug bfd zebra
+.. clicmd:: [no] debug bfd zebra
+
+ Toggle zebra message events: show messages about interfaces, local
+ addresses, VRF and daemon peer registrations.