From: Donald Sharp Date: Tue, 22 Apr 2025 19:18:41 +0000 (-0400) Subject: doc: line vty was not documented X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=06dd473602cd9b8c36bac3de39279e56e48abe78;p=mirror%2Ffrr.git doc: line vty was not documented Try to document the sub-node `line vty` and what it can do. Call out the distinction between vtysh and VTY. Signed-off-by: Donald Sharp --- diff --git a/doc/user/basic.rst b/doc/user/basic.rst index f7d7232b17..55c53d0df1 100644 --- a/doc/user/basic.rst +++ b/doc/user/basic.rst @@ -298,10 +298,6 @@ Basic Config Commands Set system wide line configuration. This configuration command applies to all VTY interfaces. -.. clicmd:: line vty - - Enter vty configuration mode. - .. clicmd:: banner motd default Set default motd string. @@ -315,6 +311,29 @@ Basic Config Commands Set motd string from an input. +.. clicmd:: allow-reserved-ranges + + Allow peering via loopback addresses (127.0.0.0/8). This is necessary in case + of multiple FRR instances (or FRR + any other daemon) peering via loopback + interfaces running on the same router. + + Default: off. + +Line VTY Commands +------------------ + + These set of commands control VTY connections into FRR. This set + of commands control directly connecting to a daemon via the VTY + interface, not vtysh. This interface is deprecated and is going + away at some point in the future. Having said this, these cli + commands can be pushed into the frr.conf file and will be read + appropriately by the individual daemons. + +.. clicmd:: line vty + + Enter vty configuration mode. All the following sub-commands + are under line vty. + .. clicmd:: exec-timeout MINUTE [SECOND] Set VTY connection timeout value. When only one argument is specified @@ -325,17 +344,13 @@ Basic Config Commands Not setting this, or setting the values to 0 0, means a timeout will not be enabled. -.. clicmd:: access-class ACCESS-LIST +.. clicmd:: [ipv6] access-class ACCESS-LIST - Restrict vty connections with an access list. + Restrict vty connections with an v4 or v6 access list. -.. clicmd:: allow-reserved-ranges +.. clicmd:: no vty login - Allow peering via loopback addresses (127.0.0.0/8). This is necessary in case - of multiple FRR instances (or FRR + any other daemon) peering via loopback - interfaces running on the same router. - - Default: off. + Do not allow any operator to connect to FRR via the VTY interface. .. _sample-config-file: