Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

Configure L2TP.

  config vpn l2tp
      Description: Configure L2TP.
      set eip {ipv4-address}
      set sip {ipv4-address}
      set status [enable|disable]
      set usrgrp {string}
      set enforce-ipsec [enable|disable]
      set lcp-echo-interval {integer}
      set lcp-max-echo-fails {integer}
      set compress [enable|disable]
  end

config vpn l2tp

Parameter Name Description Type Size
eip End IP. ipv4-address Not Specified
sip Start IP. ipv4-address Not Specified
status Enable/disable FortiGate as a L2TP gateway.
enable: Enable setting.
disable: Disable setting.
option -
usrgrp User group. string Maximum length: 35
enforce-ipsec Enable/disable IPsec enforcement.
enable: Enable enforce-ipsec
disable: Disable enforce-ipsec
option -
lcp-echo-interval Time in seconds between PPPoE Link Control Protocol (LCP) echo requests. integer Minimum value: 0 Maximum value: 32767
lcp-max-echo-fails Maximum number of missed LCP echo messages before disconnect. integer Minimum value: 0 Maximum value: 32767
compress Enable/disable data compression.
enable: Enable compress
disable: Disable compress
option -

Configure L2TP.

  config vpn l2tp
      Description: Configure L2TP.
      set eip {ipv4-address}
      set sip {ipv4-address}
      set status [enable|disable]
      set usrgrp {string}
      set enforce-ipsec [enable|disable]
      set lcp-echo-interval {integer}
      set lcp-max-echo-fails {integer}
      set compress [enable|disable]
  end

config vpn l2tp

Parameter Name Description Type Size
eip End IP. ipv4-address Not Specified
sip Start IP. ipv4-address Not Specified
status Enable/disable FortiGate as a L2TP gateway.
enable: Enable setting.
disable: Disable setting.
option -
usrgrp User group. string Maximum length: 35
enforce-ipsec Enable/disable IPsec enforcement.
enable: Enable enforce-ipsec
disable: Disable enforce-ipsec
option -
lcp-echo-interval Time in seconds between PPPoE Link Control Protocol (LCP) echo requests. integer Minimum value: 0 Maximum value: 32767
lcp-max-echo-fails Maximum number of missed LCP echo messages before disconnect. integer Minimum value: 0 Maximum value: 32767
compress Enable/disable data compression.
enable: Enable compress
disable: Disable compress
option -