From 192c4b2ff5ee1beeca89dea46dee5dd77c9497ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20K=C3=BCthe?= Date: Mon, 9 Jan 2023 07:56:21 +0100 Subject: [PATCH] add docs for babeld to enable the lci in the configuration file --- docs/routing/babeld/babeld.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/routing/babeld/babeld.md b/docs/routing/babeld/babeld.md index 27d952c..201a157 100644 --- a/docs/routing/babeld/babeld.md +++ b/docs/routing/babeld/babeld.md @@ -140,7 +140,11 @@ Once babeld is started, forwarding is enabled in the kernel for IPv4 and IPv6. A ## Local configuration interface -babeld offers a local configuration interface. This can be activated with the flag `-g`. For example, to enable the configuration interface on port `33123`, you can use the following command: +There are two ways to activate the Local configuration interface. Once you can pass a command line argument for it or you can do this in the babeld configuration file. + +### Command line argument + +The local configuration interface can be activated with the flag `-g`. For example, to enable the configuration interface on port `33123`, you can use the following command: ``` babeld -g 33123 ``` @@ -150,6 +154,15 @@ If babeld is used with Systemd, you can change the arguments in the `/etc/defaul DAEMON_ARGS="-S /var/lib/babeld/state -g 33123" ``` +### Configuration file + +To enable the local configuration interface there is a directive `local-port`: +``` +local-port 33123 +``` + +### Usage + The configuration interface can be used to find out various status information on the one hand and to configure babeld on the other. Furthermore, the configuration interface can be used by monitoring programs such as babelweb2. To connect to the configuration interface, you can use telnet: