/interface/l2tp-ether

当前显示英文原文,切换到「中文」可查看译文。

l2tp-ether

Layer 2 Tunnel Protocol Version 3 (L2TPv3).


interface/l2tp-ether

Type: Directory

Layer 2 Tunnel Protocol Version 3 (L2TPv3).

FlagNameDescription
XdisabledWhether an item is disabled.
DdynamicWhether the interface was created dynamically.
RrunningWhether the interface is running.
uunmanagedWhether the interface is unmanaged.
ArgumentTypeDescription
namestringInterface name.
mtunum
connect-toaddress (flags=D46v)Remote server address. Set to 0.0.0.0 for incoming connections.
mac-addressmacAddrMAC address of the L2TP interface.
use-ipsecboolIgnored for passive (incoming) connections. For incoming connections use l2tp-server settings.
ipsec-secretstringIgnored for passive (incoming) connections. For incoming connections use l2tp-server settings.
allow-fast-pathboolWhether to allow FastPath processing.
l2tp-proto-versionenum (l2tpv3-ip | l2tpv3-udp) { l2tpv3-ip:1, l2tpv3-udp:2 }L2TPv3 encapsulation mode (IP or UDP).
circuit-idstringL2TPv3 remote end identifier (virtual circuit ID).
cookie-lengthenum (0 | 4-bytes | 8-bytes) { 0:0, 4-bytes:4, 8-bytes:8 }Ignored for passive (incoming) connections. For incoming connections use l2tp-server settings.
digest-hashenum (none | md5 | sha1) { none:99, md5:0, sha1:1 }Ignored for passive (incoming) connections. For incoming connections use l2tp-server settings.
use-l2-specific-sublayerboolEnables L2TPv3 Ethernet pseudowire Level 2 default sublayer.
local-addressalt { local-ipv4-address: ipAddr , local-ipv6-address: ip6Addr }Local IPv4 or IPv6 address for unmanaged L2TP connections.
local-tunnel-idnumLocal tunnel ID for unmanaged L2TP connections.
local-session-idnumLocal session ID for unmanaged L2TP connections.
remote-tunnel-idnumRemote tunnel ID for unmanaged L2TP connections.
remote-session-idnumRemote session ID for unmanaged L2TP connections.
peer-cookiestringCookie hex value for received packets (8 or 16 characters or empty) for unmanaged L2TP connections.
send-cookiestringCookie hex value for sent packets (8 or 16 characters or empty) for unmanaged L2TP connections.
unmanaged-modeboolEnables or disables unmanaged (static) tunnel mode.
Read-only ArgumentTypeDescription
actual-mtunumActual maximum transmission unit of the tunnel.