Hello Zhi Zheng,
Thank you for your email. It'd be great to hear the WG's thoughts on your
questions.
My thoughts as an individual (disclaimer: I have just taken a quick look at
RFC5880)
1. Should a receiver in AdminDown respond to a Poll?RFC5880 is ambiguous.
Section 6.8.6 has this check before responding with F bit, which means a
receiver in AdminDown would not respond to a Poll sequence.If bfd.SessionState
is AdminDown
Discard the packet
OTOH Section 6.8.7 has the following text (note "without respect to the
session state") which contradicts 6.8.6. If a BFD Control packet is received
with the Poll (P) bit set to 1,
the receiving system MUST transmit a BFD Control packet with the Poll
(P) bit clear and the Final (F) bit set as soon as practicable,
without respect to the transmission timer or any other transmission
limitations, without respect to the session state, and without
respect to whether Demand mode is active on either system.
I don't know what the authors intended, but I lean towards the 6.8.7 behaviour
as being preferable. But even if the receiver doesn't respond to the poll
sequence as per 6.8.6), once it is taken out of AdminDown state, a BFD
"handshake" has to occur before the session comes back up, so there should be
no harm done.
2. What happens to an outstanding Poll Sequence when the initiator transitions
from Up to Down?
The poll sequence was introduced to allow parameter changes without taking down
the session. When a session goes down, it'll again need the BFD handshake
before coming up, so any parameter changes which initiated the poll sequence
will be seen by the other side before the session can come up.
Now with chair hat on: I think it'd be good to clarify the expected behaviour
in the bis documents. But I don't know whether we first need errata on 5880
(and what would be needed to accept the errata, i.e. how do we confirm what the
authors wanted as desired behaviour). Jeff/Ketan?
Regards,Reshad.
On Saturday, November 28, 2026 at 09:45:58 PM EST, 郑智 <[email protected]>
wrote:
Dear BFD WG and authors,
While comparing Holo, FRR, and GoBFD, we observed two differences in how these
implementations handle Poll Sequences. We would appreciate the working group's
guidance on the intended behavior in each case.
1. Should a receiver in AdminDown respond to a Poll?
Section 6.8.6 specifies the order in which a receiver processes a BFD Control
packet:
When a BFD Control packet is received, the following procedure MUST be
followed, in the order specified. If the packet is discarded according to
these rules, processing of the packet MUST cease at that point.
The check on the local session state precedes the Poll-response step:
If bfd.SessionState is AdminDown
Discard the packet
The Poll-response step appears later in the same section:
If the Poll (P) bit is set, send a BFD Control packet to the remote system
with the Poll (P) bit clear, and the Final (F) bit set (see section 6.8.7).
Section 6.8.7 specifies the receiver's obligation to send a Final:
If a BFD Control packet is received with the Poll (P) bit set to 1, the
receiving system MUST transmit a BFD Control packet with the Poll (P) bit clear
and the Final (F) bit set as soon as practicable, without respect to the
transmission timer or any other transmission limitations, without respect to
the session state, and without respect to whether Demand mode is active on
either system.
Under the ordering in Section 6.8.6, a receiver whose local session is in
AdminDown discards the packet before reaching the Poll-response step. Section
6.8.7, however, says that the receiver must send a Final "without respect to
the session state."
We observed both behaviors. When the local session was in AdminDown, Holo
discarded the Poll without sending a Final. FRR and GoBFD each sent a Final.
Does the requirement in Section 6.8.7 apply to a Poll that Section 6.8.6
discards solely because the receiver's local session is in AdminDown, or does
it apply only to a Poll that reaches the Poll-response step?
2. What happens to an outstanding Poll Sequence when the initiator transitions
from Up to Down?
Section 6.5 describes how a Poll Sequence ends on receipt of a Final:
When the system sending the Poll sequence receives a packet with Final, the
Poll Sequence is terminated, and any subsequent BFD Control packets are sent
with the Poll bit cleared.
Section 6.8.6 gives the corresponding reception rule:
If a Poll Sequence is being transmitted by the local system and the Final
(F) bit in the received packet is set, the Poll Sequence MUST be terminated.
Our question concerns a sequence that is still outstanding when the initiator
transitions from Up to Down, before it receives a Final. We could not find an
instruction in either section on how to handle the sequence at that transition.
We observed that FRR cleared the outstanding Poll Sequence when the session
went Down. Holo retained the sequence and continued sending BFD Control packets
with P=1 while Down. In the test where the peer was administratively disabled
and then re-enabled, both endpoints returned to Up approximately 0.3 seconds
after re-enablement, and the pending interval change took effect.
When the initiator transitions from Up to Down before receiving a Final, should
it clear the outstanding Poll Sequence, retain it, or is either behavior
permitted?
Would the working group consider clarifying these two cases in RFC 5880bis?
Best regards,
Zhi Zheng
Wuhan University
_______________________________________________
Rtg-bfd mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
Rtg-bfd mailing list -- [email protected]
To unsubscribe send an email to [email protected]