361
key-string
Use
key-string
to configure a key string for a key.
Use
undo key-string
to restore the default.
Syntax
key-string
{
cipher
|
plain
}
string
undo key-string
Default
No key string is configured for a key.
Views
Key view
Predefined user roles
network-admin
mdc-admin
Parameters
cipher
: Specifies a key in encrypted form.
plain
: Specifies a key in plaintext form. For security purposes, the key specified in plaintext form will
be stored in encrypted form.
string
: Specifies the key. Its plaintext form is a case-sensitive string of 1 to 255 characters. Its
encrypted form is a case-sensitive string of 33 o 373 characters.
Usage guidelines
If the length of a plaintext key exceeds the length limit supported by an application, the application
uses the supported length of the key to authenticate packets.
Examples
# Set the key string to
123456
in plaintext form for key 1.
<Sysname> system-view
[Sysname] keychain abc mode absolute
[Sysname-keychain-abc] key 1
[Sysname-keychain-abc-key-1] key-string plain 123456
send-lifetime utc
Use
send-lifetime utc
to set the sending lifetime for a key of a keychain in absolute time mode.
Use
undo send-lifetime
to restore the default.
Syntax
send-lifetime utc start-time start-date
{
duration
{
duration-value
|
infinite
}
|
to end-time
end-date
}
undo send-lifetime
Default
The sending lifetime is not configured for a key of a keychain.
Views
Key view
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...