Fortinet black logo

CLI Reference

user fortitoken

Configure FortiToken.

  config user fortitoken
      Description: Configure FortiToken.
      edit <serial-number>
          set status [active|lock]
          set comments {var-string}
          set license {string}
          set activation-code {string}
          set activation-expire {integer}
          set reg-id {string}
          set os-ver {string}
      next
  end

config user fortitoken

Parameter Name Description Type Size
status Status
active: Activate FortiToken.
lock: Lock FortiToken.
option -
comments Comment. var-string Maximum length: 255
license Mobile token license. string Maximum length: 31
activation-code Mobile token user activation-code. string Maximum length: 32
activation-expire Mobile token user activation-code expire time. integer Minimum value: 0 Maximum value: 4294967295
reg-id Device Reg ID. string Maximum length: 256
os-ver Device Mobile Version. string Maximum length: 15

Configure FortiToken.

  config user fortitoken
      Description: Configure FortiToken.
      edit <serial-number>
          set status [active|lock]
          set comments {var-string}
          set license {string}
          set activation-code {string}
          set activation-expire {integer}
          set reg-id {string}
          set os-ver {string}
      next
  end

config user fortitoken

Parameter Name Description Type Size
status Status
active: Activate FortiToken.
lock: Lock FortiToken.
option -
comments Comment. var-string Maximum length: 255
license Mobile token license. string Maximum length: 31
activation-code Mobile token user activation-code. string Maximum length: 32
activation-expire Mobile token user activation-code expire time. integer Minimum value: 0 Maximum value: 4294967295
reg-id Device Reg ID. string Maximum length: 256
os-ver Device Mobile Version. string Maximum length: 15