configure keychain key active-lifetime

configure keychain keychain_name key key_id active-lifetime {local} start start_time [end end_time | [duration [seconds | maximum]]]

Description

This command configures the time period a key will be active.

Syntax Description

keychain_name Specifies the name of the keychain.
key Authentication key entry.
key_id Specifies the unique identifier within a keychain. Range is 1-65535.
active-lifetime Specifies the time period the key will be active.
local Specifies the time in the local time zone instead of UTC.
start Specifies the start of the time period.
start_time Specifies the date and time the key will become active. Format is YYYY-MM-DDThh:mm:ss.
end Specifies the end of the time period.
end_time Specifies the date and time the key will stop being active. Format is YYYY-MM-DDThh:mm:ss.
duration Specifies the length of time the key will be active.
seconds Specifies the duration in seconds. Range is 1-15552000.
maximum Specifies that the key will be active for 180 days from the start time.

Default

N/A.

Usage Guidelines

Use this command to configure the time period a key will be active.

Example

The following command configures the keychain active lifetime:

configure keychain ospfv3-keys1 key 3 active-lifetime local start 2021-08-01T00:00:00 end 2021-09-01T00:00:00

History

This command was first available in ExtremeXOS 31.3.

Platform Availability

This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.