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 send-lifetime {user}

set key-string {password}

set algorithm [md5|hmac-sha1|...]

next

end

next

end

config key

Parameter

Description

Type

Size

Default

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

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 send-lifetime {user}

set key-string {password}

set algorithm [md5|hmac-sha1|...]

next

end

next

end

config key

Parameter

Description

Type

Size

Default

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.