Fortinet black 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}
        set name {string}
        config rule
            Description: Rule.
            edit <id>
                set id {integer}
                set gateway {ipv4-address}
                set device {string}
                set groups <name1>, <name2>, ...
            next
        end
    next
end

config firewall identity-based-route

Parameter

Description

Type

Size

Default

comments

Comments.

string

Not Specified

name

Name.

string

Not Specified

config rule

Parameter

Description

Type

Size

Default

id

Rule ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

gateway

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

ipv4-address

Not Specified

0.0.0.0

device

Outgoing interface for the rule.

string

Not Specified

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

config firewall identity-based-route

Configure identity based routing.

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

config firewall identity-based-route

Parameter

Description

Type

Size

Default

comments

Comments.

string

Not Specified

name

Name.

string

Not Specified

config rule

Parameter

Description

Type

Size

Default

id

Rule ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

gateway

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

ipv4-address

Not Specified

0.0.0.0

device

Outgoing interface for the rule.

string

Not Specified

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