< Home

send-time

Function

The send-time command sets the duration of packet sending for the keychain.

The undo send-time command deletes the configuration.

By default, no duration of packet sending is configured for the keychain.

Format

send-time daily start-time to end-time

send-time date start-date-value to end-date-value

send-time date { start-date-value } &<1-31>

send-time day start-day-name to end-day-name

send-time day { start-day-name } &<1-7>

send-time month start-month-name to end-month-name

send-time month { start-month-name } &<1-12>

send-time start-time start-date { duration { duration-value | infinite } | to end-time end-date }

undo send-time

Parameters

Parameter Description Value
start-time Specifies the start time for packet sending. The value ranges from 00:00 to 23:59, in HH:MM format.
start-date Specifies the start date for packet sending. The value ranges from 1970-01-01 to 2050-12-31, in YYYY-MM-DD format.
duration duration-value Specifies the duration of packet sending. The value ranges from 1 to 26280000, in minutes.
infinite Indicates that the key acts as a key for packet sending forever from the configured start time. -
to Connects two durations of packet sending. -
end-time Specifies the end time for packet sending. The value ranges from 00:00 to 23:59. The end-time should be greater than the start-time, in HH:MM format.
end-date Specifies the end date for packet sending. The value ranges from 1970-01-01 to 2050-12-31, in YYYY-MM-DD format.
daily Specifies the daily duration for packet sending. -
day Specifies the weekly duration for packet sending. -
start-day-name Specifies the weekly start day for packet sending. The value can be Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday.
end-day-name Specifies the weekly end day for packet sending. The value can be Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday. The end day should be greater than the start day.
date Specifies the monthly duration for packet sending. -
start-date-value Specifies the monthly start date for packet sending. The value ranges from 1 to 31.
end-date-value Specifies the monthly end date for packet sending The value ranges from 2 to 31. The end date should be greater than the start date.
month Specifies the yearly duration for packet sending. -
start-month-name Specifies the yearly start month for packet sending. The value can be January, February, March, April, May, June, July, August, September, October, November, and December.
end-month-name Specifies the yearly end month for packet sending. The value can be February, March, April, May, June, July, August, September, October, November, and December.

Views

Key-ID view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Each keychain consists of multiple key IDs that are valid within different time periods and each key ID is configured with an authentication algorithm. When a key ID becomes valid, the corresponding authentication algorithm is used, ensuring the dynamic change of authentication algorithms. Configure different key IDs for packet sending and receiving to be valid within different time periods.

Implementation Procedure

There are two keychain validity modes:
  • Absolute time range: In this mode, keychains are valid within a certain period and are invalid out of the period.

  • Periodic time range: In this mode, keychains are valid periodically.

The mode in which key IDs for packet sending become valid must be identical with that configured for the keychain.

Precautions

Only one key ID is valid within a time period.

Example

# Configure the time for packet sending with the timing mode as absolute.

<sysname> system-view
[sysname] keychain one mode absolute
[sysname-keychain-one] key-id 5 
[sysname-keychain-one-keyid-5] send-time 14:52 2008-10-1 to 14:52 2040-10-1 

# Configure the time for packet sending with the timing mode as daily periodic.

<sysname> system-view
[sysname] keychain two mode periodic daily
[sysname-keychain-two] key-id 5 
[sysname-keychain-two-keyid-5] send-time daily 14:52 to 18:10 

# Configure the time for packet sending with the timing mode as weekly periodic.

<sysname> system-view
[sysname] keychain three mode periodic weekly
[sysname-keychain-three] key-id 5 
[sysname-keychain-three-keyid-5] send-time day mon 

# Configure the time for packet sending with the timing mode as monthly periodic.

<sysname> system-view
[sysname] keychain four mode periodic monthly
[sysname-keychain-four] key-id 5 
[sysname-keychain-four-keyid-5] send-time date 12 

# Configure the time for packet sending with the timing mode as yearly periodic.

<sysname> system-view
[sysname] keychain five mode periodic yearly
[sysname-keychain-five] key-id 5 
[sysname-keychain-five-keyid-5] send-time month apr 

# Configure the time for packet sending with the timing mode as yearly periodic, and a few months are available.

<sysname> system-view
[sysname] keychain six mode periodic yearly
[sysname-keychain-six] key-id 5 
[sysname-keychain-six-keyid-5] send-time month oct to dec  
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >