Chriztoffer Hansen wrote:
On Sun, 28 Feb 2021 at 08:34, Joe Maimon <jmaimon@jmaimon.com> wrote:
set metric shows -metric and +metric
I have no idea how to use that, with IOS you can use the + or - with the metric number to either add to the existing metric or subtract And the docs do not adequately explain the use of metric +/-, either?
- https://docs.frrouting.org/en/latest/search.html?q=set+metric&check_keywords... - https://docs.frrouting.org/en/latest/routemap.html#clicmd-setmetric%3C[+|-](1-4294967295)|rtt|+rtt|-rtt%3E
Yes, but 1) vtysh does not show the +- symbol 2) the code does not contain the +- symbol with the number range 3) entering +- symbol with a number fails. This much appears to have been fixed between 7.4 and 7.7 so lets put it to rest. -metric and +metric appear to have been removed and - now appears in the configuration parser and is accepted.