How to distinguish a single-hop BFD session and a multi-hop one on the AR router

For static BFD sessions, when the session is created for the first time, a single-hop BFD session is bound to a local interface, while a multi-hop session is not.
For dynamic BFD sessions, query the routes to determine whether a BFD session is a single-hop session or a multi-hop session. BFP for Internal Border Gateway Protocol (IBGP) sessions are multi-hop sessions.

Scroll to top