| Argument | Type | Description |
|---|
| name | string | |
| mtu | num | |
| connect-to | address (flags=D46v) | |
| mac-address | macAddr | |
| use-ipsec | bool { } | Ignored for passive (incoming) connections (for incoming connections please use l2tp-server settings) |
| ipsec-secret | string { } | Ignored for passive (incoming) connections (for incoming connections please use l2tp-server settings) |
| allow-fast-path | bool | |
| l2tp-proto-version | enum (l2tpv3-ip | l2tpv3-udp) | L2TPv3 encapsulation mode (IP or UDP) |
| circuit-id | string | L2TPv3 remote end identifier (virtual circuit ID) |
| cookie-length | enum (0 | 4-bytes | 8-bytes) | Ignored for passive (incoming) connections (for incoming connections please use l2tp-server settings) |
| digest-hash | enum (none | md5 | sha1) | Ignored for passive (incoming) connections (for incoming connections please use l2tp-server settings) |
| use-l2-specific-sublayer | bool | Enables L2TPv3 ethernet pseudowire level 2 default sublayer |
| local-address | alt { ipAddr
, ip6Addr
, } | local IPv4 or IPv6 address (unmanaged L2TP connection) |
| local-tunnel-id | num { } | local tunnel ID (unmanaged L2TP connection) |
| local-session-id | num { } | local session ID (unmanaged L2TP connection) |
| remote-tunnel-id | num { } | remote tunnel ID (unmanaged L2TP connection) |
| remote-session-id | num { } | remote session ID (unmanaged L2TP connection) |
| peer-cookie | string { } | cookie hex value for received packets (8 or 16 characters or empty) (unmanaged L2TP connection) |
| send-cookie | string { } | cookie hex value for sent packets (8 or 16 characters or empty) (unmanaged L2TP connection) |
| unmanaged-mode | bool { } | enables/disables unmanaged (static) tunnel mode |