Fortinet white logo
Fortinet white logo

CLI Reference

firewall identity-based-route

Configure identity based routing.

  config firewall identity-based-route
      Description: Configure identity based routing.
      edit <name>
          set comments {string}
          config rule
              Description: Rule.
              edit <id>
                  set gateway {ipv4-address}
                  set device {string}
                  set groups <name1>, <name2>, ...
              next
          end
      next
  end

config firewall identity-based-route

Parameter Name Description Type Size
comments Comments. string Maximum length: 127

config rule

Parameter Name Description Type Size
gateway IPv4 address of the gateway (Format: xxx.xxx.xxx.xxx , Default: 0.0.0.0). ipv4-address Not Specified
device Outgoing interface for the rule. string Maximum length: 35
groups <name> Select one or more group(s) from available groups that are allowed to use this route. Separate group names with a space.
Group name.
string Maximum length: 79

firewall identity-based-route

Configure identity based routing.

  config firewall identity-based-route
      Description: Configure identity based routing.
      edit <name>
          set comments {string}
          config rule
              Description: Rule.
              edit <id>
                  set gateway {ipv4-address}
                  set device {string}
                  set groups <name1>, <name2>, ...
              next
          end
      next
  end

config firewall identity-based-route

Parameter Name Description Type Size
comments Comments. string Maximum length: 127

config rule

Parameter Name Description Type Size
gateway IPv4 address of the gateway (Format: xxx.xxx.xxx.xxx , Default: 0.0.0.0). ipv4-address Not Specified
device Outgoing interface for the rule. string Maximum length: 35
groups <name> Select one or more group(s) from available groups that are allowed to use this route. Separate group names with a space.
Group name.
string Maximum length: 79