FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
isaac_ra
Staff
Staff
Article Id 409664
Description This article describes the steps to configure a data plan on FortiGate for LTE. It explains how to enable data usage tracking and configure a data plan to control mobile data usage.
Scope FortiGate.
Solution

To configure a data plan on FortiGate, follow these steps:

 

  1. Enable data-usage-tracking first, otherwise "config data-plan" will not be available:

 

config system lte-modem
    set data-usage-tracking enable

 

  1. Once data-usage-tracking is enabled, the sub-configuration data-plan will appear:

     

config system lte-modem
    set data-usage-tracking enable
        config data-plan

 

  1. Set the billing-period to either daily, monthly, or weekly. If the billing period is set to monthly, the billing hour parameter is not available.

Example configuration from the CLI:

 

config system lte-modem
    set data-usage-tracking enable
        config data-plan
            edit TEST1
                set target-sim-slot SIM-slot-2
                set data-limit 1000
                set data-limit-alert 83
                set billing-period daily
                set billing-hour 21

            next
            edit TEST2
                set target-sim-slot SIM-slot-2
                set data-limit 10000
                set billing-period monthly
                set billing-date 1

 

Important to note that when deploying the changes from FortiManager, the default values should not be altered and set to 0. For instance, a default value of 4294967295 for billing-hour means that this option is deactivated; if set to 0 and billing-period monthly is chosen, the configuration install will throw an error:

 

FMG_config.png

 

See this document: config system lte-modem for more information.