Fortinet white logo
Fortinet white logo

CLI Reference

config firewall identity-based-route

config 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 device {string}
                set gateway {ipv4-address}
                set groups <name1>, <name2>, ...
            next
        end
    next
end

config firewall identity-based-route

Parameter

Description

Type

Size

Default

comments

Comments.

string

Maximum length: 127

name

Name.

string

Maximum length: 35

config rule

Parameter

Description

Type

Size

Default

device

Outgoing interface for the rule.

string

Maximum length: 35

gateway

IPv4 address of the gateway (Format: xxx.xxx.xxx.xxx , Default: 0.0.0.0).

ipv4-address

Not Specified

0.0.0.0

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

id

Rule ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

config firewall identity-based-route

config 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 device {string}
                set gateway {ipv4-address}
                set groups <name1>, <name2>, ...
            next
        end
    next
end

config firewall identity-based-route

Parameter

Description

Type

Size

Default

comments

Comments.

string

Maximum length: 127

name

Name.

string

Maximum length: 35

config rule

Parameter

Description

Type

Size

Default

device

Outgoing interface for the rule.

string

Maximum length: 35

gateway

IPv4 address of the gateway (Format: xxx.xxx.xxx.xxx , Default: 0.0.0.0).

ipv4-address

Not Specified

0.0.0.0

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

id

Rule ID.

integer

Minimum value: 0 Maximum value: 4294967295

0