Fortinet white logo
Fortinet white logo

CLI Reference

config router key-chain

config router key-chain

Configure key-chain.

config router key-chain
    Description: Configure key-chain.
    edit <name>
        config key
            Description: Configuration method to edit key settings.
            edit <id>
                set accept-lifetime {user}
                set algorithm [md5|hmac-sha1|...]
                set key-string {password}
                set send-lifetime {user}
            next
        end
    next
end

config router key-chain

Parameter

Description

Type

Size

Default

name

Key-chain name.

string

Maximum length: 35

config key

Parameter

Description

Type

Size

Default

accept-lifetime

Lifetime of received authentication key (format: hh:mm:ss day month year).

user

Not Specified

algorithm

Cryptographic algorithm.

option

-

md5

Option

Description

md5

MD5.

hmac-sha1

HMAC-SHA1.

hmac-sha256

HMAC-SHA256.

hmac-sha384

HMAC-SHA384.

hmac-sha512

HMAC-SHA512.

id

Key ID.

string

Maximum length: 10

key-string

Password for the key (maximum = 64 characters).

password

Not Specified

send-lifetime

Lifetime of sent authentication key (format: hh:mm:ss day month year).

user

Not Specified

config router key-chain

config router key-chain

Configure key-chain.

config router key-chain
    Description: Configure key-chain.
    edit <name>
        config key
            Description: Configuration method to edit key settings.
            edit <id>
                set accept-lifetime {user}
                set algorithm [md5|hmac-sha1|...]
                set key-string {password}
                set send-lifetime {user}
            next
        end
    next
end

config router key-chain

Parameter

Description

Type

Size

Default

name

Key-chain name.

string

Maximum length: 35

config key

Parameter

Description

Type

Size

Default

accept-lifetime

Lifetime of received authentication key (format: hh:mm:ss day month year).

user

Not Specified

algorithm

Cryptographic algorithm.

option

-

md5

Option

Description

md5

MD5.

hmac-sha1

HMAC-SHA1.

hmac-sha256

HMAC-SHA256.

hmac-sha384

HMAC-SHA384.

hmac-sha512

HMAC-SHA512.

id

Key ID.

string

Maximum length: 10

key-string

Password for the key (maximum = 64 characters).

password

Not Specified

send-lifetime

Lifetime of sent authentication key (format: hh:mm:ss day month year).

user

Not Specified