Fortinet black 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 id {string}
                set accept-lifetime {user}
                set send-lifetime {user}
                set key-string {password}
                set algorithm [md5|hmac-sha1|...]
            next
        end
        set name {string}
    next
end

config router key-chain

Parameter

Description

Type

Size

Default

name

Key-chain name.

string

Not Specified

config key

Parameter

Description

Type

Size

Default

id

Key ID.

string

Not Specified

accept-lifetime

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

user

Not Specified

send-lifetime

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

user

Not Specified

key-string

Password for the key (maximum = 64 characters).

password

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.

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 id {string}
                set accept-lifetime {user}
                set send-lifetime {user}
                set key-string {password}
                set algorithm [md5|hmac-sha1|...]
            next
        end
        set name {string}
    next
end

config router key-chain

Parameter

Description

Type

Size

Default

name

Key-chain name.

string

Not Specified

config key

Parameter

Description

Type

Size

Default

id

Key ID.

string

Not Specified

accept-lifetime

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

user

Not Specified

send-lifetime

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

user

Not Specified

key-string

Password for the key (maximum = 64 characters).

password

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.