Fortinet white logo
Fortinet white logo

CLI Reference

config allowed-user

config allowed-user

Description: Configure SMS remote diagnosis-allowed SMS sender.

config allowed-user

edit <name>

set sender [enable | disable]

set *phone-number +{country code}{phone number}

set allowed-command-type <name1>, <name2>, …

unset

next

show

abort

end

delete <name>

purge

show

end

show

end

Sample command:
FX201E5919000057 (sms-remote-diag) # show
config system sms-remote-diag
    set remote-diag disable
    config allowed-user
        edit user1
            set sender enable
            set phone-number +15082558567
            set allowed-command-type factory-reset get-extender-status get-modem-status get-system-status
        next
    end
end

Parameter Description Type Size Default
sender Status of the sender. option - disable
Option Decription
enable Enable the sender.
disable Disable the sender.
phone-number The sender's phone number. Format: + (country code)(phone number) phone number - none
allowed-command-type Permitted command types from the sender. options - none

Option Description
reboot Root the device.
factory-reset Reset the device to its factory settings.
set-apn Set the APN.
modem-reset Reset the modem.
get-modem-status Get the modem status.
get-extender-status Get the FortiExtender status.
get-system-version Get the system version.
get-system-status Get the system status.

config allowed-user

config allowed-user

Description: Configure SMS remote diagnosis-allowed SMS sender.

config allowed-user

edit <name>

set sender [enable | disable]

set *phone-number +{country code}{phone number}

set allowed-command-type <name1>, <name2>, …

unset

next

show

abort

end

delete <name>

purge

show

end

show

end

Sample command:
FX201E5919000057 (sms-remote-diag) # show
config system sms-remote-diag
    set remote-diag disable
    config allowed-user
        edit user1
            set sender enable
            set phone-number +15082558567
            set allowed-command-type factory-reset get-extender-status get-modem-status get-system-status
        next
    end
end

Parameter Description Type Size Default
sender Status of the sender. option - disable
Option Decription
enable Enable the sender.
disable Disable the sender.
phone-number The sender's phone number. Format: + (country code)(phone number) phone number - none
allowed-command-type Permitted command types from the sender. options - none

Option Description
reboot Root the device.
factory-reset Reset the device to its factory settings.
set-apn Set the APN.
modem-reset Reset the modem.
get-modem-status Get the modem status.
get-extender-status Get the FortiExtender status.
get-system-version Get the system version.
get-system-status Get the system status.