summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2023-06-14 21:59:44 +0200
committerGitHub <noreply@github.com>2023-06-14 21:59:44 +0200
commit3bbe63e7f9c514f044a275aa1f42d39a8f56585f (patch)
tree16a1029e38d7da607f7ed5cc484970ed67a8539c /docs/configuration
parent4e9ceb5db4e8600be58cac6465adb44cbcea2711 (diff)
parent56f0d129681c29016886f544677c199f73098a19 (diff)
downloadvyos-documentation-3bbe63e7f9c514f044a275aa1f42d39a8f56585f.tar.gz
vyos-documentation-3bbe63e7f9c514f044a275aa1f42d39a8f56585f.zip
Merge pull request #1029 from srividya0208/l2tpro
corrected the l2tp op command
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/vpn/l2tp.rst22
1 files changed, 12 insertions, 10 deletions
diff --git a/docs/configuration/vpn/l2tp.rst b/docs/configuration/vpn/l2tp.rst
index 8dc34ee4..6ea1cc7d 100644
--- a/docs/configuration/vpn/l2tp.rst
+++ b/docs/configuration/vpn/l2tp.rst
@@ -73,15 +73,16 @@ parameter to the client.
set vpn l2tp remote-access name-server '198.51.100.8'
set vpn l2tp remote-access name-server '198.51.100.4'
-Established sessions can be viewed using the **show vpn remote-access**
-operational command, or **show l2tp-server sessions**
+Established sessions can be viewed using the **show l2tp-server sessions**
+operational command
.. code-block:: none
- vyos@vyos:~$ show vpn remote-access
- ifname | username | calling-sid | ip | rate-limit | type | comp | state | uptime
- --------+----------+--------------+---------------+------------+------+------+--------+----------
- ppp0 | vyos | 192.168.0.36 | 192.168.255.1 | | l2tp | | active | 00:06:13
+ vyos@vyos:~$ show l2tp-server sessions
+ ifname | username | ip | ip6 | ip6-dp | calling-sid | rate-limit | state | uptime | rx-bytes | tx-bytes
+ --------+----------+---------------+-----+--------+-------------+------------+--------+----------+----------+----------
+ l2tp0 | test | 192.168.255.3 | | | 192.168.0.36 | | active | 02:01:47 | 7.7 KiB | 1.2 KiB
+
LNS (L2TP Network Server)
@@ -128,10 +129,11 @@ The rate-limit is set in kbit/sec.
set vpn l2tp remote-access authentication local-users username test rate-limit download 20480
set vpn l2tp remote-access authentication local-users username test rate-limit upload 10240
- vyos@vyos:~$ show vpn remote-access
- ifname | username | calling-sid | ip | rate-limit | type | comp | state | uptime
- -------+----------+--------------+---------------+-------------+------+------+--------+-----------
- ppp0 | test | 192.168.0.36 | 192.168.255.2 | 20480/10240 | l2tp | | active | 00:06:30
+ vyos@vyos:~$ show l2tp-server sessions
+ ifname | username | ip | ip6 | ip6-dp | calling-sid | rate-limit | state | uptime | rx-bytes | tx-bytes
+ --------+----------+---------------+-----+--------+-------------+------------+--------+----------+----------+----------
+ l2tp0 | test | 192.168.255.3 | | | 192.168.0.36 | | active | 02:01:47 | 7.7 KiB | 1.2 KiB
+
RADIUS authentication
======================