Closed ThomasOberhammer closed 1 month ago
I have been looking into this using gdb
and figured that the non-zero exit code originates from this function which will return 13 (CMD_WARNING_CONFIG_FAILED
):
https://github.com/FRRouting/frr/blob/frr-8.5.3/vtysh/vtysh.c#L263
The error itself is most likely coming from here: https://github.com/FRRouting/frr/blob/frr-8.5.3/zebra/interface.c#L4179
We tested this also with version 9.1, the behaviour is still the same.
This issue is stale because it has been open 180 days with no activity. Comment or remove the autoclose
label in order to avoid having this issue closed.
This issue will be automatically closed in the specified period unless there is further activity.
Describe the bug
When deleting a GRE interfaces using the
ip
command, the IP of the interface will still be shown in the running configuration. Removing it via thevtysh
interface results in an error.Is this a bug, or does the IP have to be removed in a different way?
To Reproduce
Expected behavior IP should be removed from the running configuration without returning an error.
Versions
Additional context The actual problem is that this breaks the reload script. The command itself works and removes the IP from the running config, but this is still seen as an error.