-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
triageNeeds further investigationNeeds further investigation
Description
Description
Enabling debugging for the resolver fails if bgpd runs without the bmp module.
Version
10.5.0
How to reproduce
Make sure bgpd is running without the bmp module loaded. Enter the following command: vtysh -c "debug resolver".
Expected behavior
No error would be displayed and resolver debugging would be enabled for nhrpd.
Actual behavior
Debugging is not enabled. Instead, an error is displayed: % [BGP] Unknown command: debug resolver.
Additional context
If the bmp module is loaded, the command succeeds and debugging is enabled both in bgpd and nhrpd. If bgpd is not running at all, the command works as expected, enabling debugging in nhrpd. If bgpd is running without the module, it is possible to enable debugging with vtysh -d nhrpd -c "debug resolver", but I think the command should work without having to specify the daemon.
Checklist
- I have searched the open issues for this bug.
- I have not included sensitive information in this report.
Metadata
Metadata
Assignees
Labels
triageNeeds further investigationNeeds further investigation