FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.33k stars 1.25k forks source link

bfdd: YANG error(s): Schema node not found. #6670

Closed EasyNetDev closed 4 years ago

EasyNetDev commented 4 years ago

Hi,

I'm trying to set the echo-interval on a bfd peer, but I'm getting this error:

R02(config)# bfd
R02(config-bfd)# peer 10.193.1.1 multihop local-address 10.190.0.2 vrf default
R02(config-bfd-peer)# receive-interval 1000
R02(config-bfd-peer)# transmit-interval 1000
R02(config-bfd-peer)# echo-interval
  (10-60000)  Configure peer echo interval value in milliseconds
R02(config-bfd-peer)# echo-interval 150
% Failed to edit configuration.

YANG error(s):
 Schema node not found.
 YANG path: /frr-bfdd:bfdd/bfd/sessions/multi-hop[source-addr='10.190.0.2'][dest-addr='10.193.1.1'][interface=
''][vrf='default']/desired-echo-transmission-interval

(put "x" in "[ ]" if you already tried following) [X] Did you check if this is a duplicate issue? [X] Did you test it on the latest FRRouting/frr master branch?

Versions

rzalamena commented 4 years ago

@AdrianBan

BFD multi hop does not support echo-mode or echo-interval, see RFC 5883 Bidirectional Forwarding Detection (BFD) for Multihop Paths, Section 3 Issues:

Finally, the Echo function MUST NOT be used over multiple hops. Intermediate hops would route the packets back to the sender, and connectivity through the entire path would not be possible to verify.

@polychaeta autoclose in 1 week.