Commit 9c064b53 authored by James Chapman's avatar James Chapman Committed by Stephen Hemminger

iproute2: update ip-l2tp man page

Add documentation about the new l2spec_type parameter for "ip l2tp add
session".
Signed-off-by: default avatarJames Chapman <jchapman@katalix.com>
parent dd10baa5
...@@ -52,6 +52,8 @@ ip-l2tp - L2TPv3 static unmanaged tunnel configuration ...@@ -52,6 +52,8 @@ ip-l2tp - L2TPv3 static unmanaged tunnel configuration
.IR HEXSTR .IR HEXSTR
.RB " ]" .RB " ]"
.br .br
.RB "[ " l2spec_type " { " none " | " default " } ]"
.br
.RB "[ " offset .RB "[ " offset
.IR OFFSET .IR OFFSET
.RB " ] [ " peer_offset .RB " ] [ " peer_offset
...@@ -239,6 +241,12 @@ e.g. 014d3636deadbeef. The value must match the cookie value set at ...@@ -239,6 +241,12 @@ e.g. 014d3636deadbeef. The value must match the cookie value set at
the peer. It tells the local system what cookie value to expect to the peer. It tells the local system what cookie value to expect to
find in received L2TP packets. Default is to use no cookie. find in received L2TP packets. Default is to use no cookie.
.TP .TP
.BI l2spec_type " L2SPECTYPE"
set the layer2specific header type of the session.
.br
Valid values are:
.BR none ", " udp "."
.TP
.BI offset " OFFSET" .BI offset " OFFSET"
sets the byte offset from the L2TP header where user data starts in sets the byte offset from the L2TP header where user data starts in
transmitted L2TP data packets. This is hardly ever used. If set, the transmitted L2TP data packets. This is hardly ever used. If set, the
...@@ -368,6 +376,12 @@ tunnels. Hello messages are used by L2TP clients and servers to detect ...@@ -368,6 +376,12 @@ tunnels. Hello messages are used by L2TP clients and servers to detect
link failures in order to automate tearing down and reestablishing link failures in order to automate tearing down and reestablishing
dynamic tunnels. If a non-Linux peer supports Hello messages in dynamic tunnels. If a non-Linux peer supports Hello messages in
unmanaged tunnels, it must be turned off to interoperate with Linux. unmanaged tunnels, it must be turned off to interoperate with Linux.
.PP
Linux defaults to use the Default Layer2SpecificHeader type as defined
in the L2TPv3 protocol specification, RFC3931. This setting must be
consistent with that configured at the peer. Some vendor
implementations (e.g. Cisco) default to use a Layer2SpecificHeader
type of None.
.SH SEE ALSO .SH SEE ALSO
.br .br
.BR ip (8) .BR ip (8)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment