371
[Sysname-pkey-public-key-key1]0001
[Sysname-pkey-public-key-key1] peer-public-key end
[Sysname]
Related commands
display public-key local public
display public-key peer
public-key peer
public-key local create
Use
public-key local create
to create local key pairs.
Syntax
In non-FIPS mode:
public-key local create
{
dsa
|
ecdsa
[
secp192r1
|
secp256r1
|
secp384r1
|
secp521r1
] |
rsa
}
[
name
key-name
]
In FIPS mode:
public-key local create
{
dsa
|
ecdsa
[
secp256r1
|
secp384r1
|
secp521r1
] |
rsa
} [
name
key-name
]
Default
No local key pairs exist.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
dsa
: Specifies the DSA key pair type.
ecdsa
: Specifies the ECDSA key pair type.
•
secp192r1
: Uses the secp192r1 curve to create a 192-bit ECDSA key pair. The secp192r1
curve is used by default in non-FIPS mode.
•
secp256r1
: Uses the secp256r1 curve to create a 256-bit ECDSA key pair. The secp256r1
curve is used by default in FIPS mode.
•
secp384r1
: Uses the secp384r1 curve to create a 384-bit ECDSA key pair.
•
secp521r1
: Uses the secp521r1 curve to create a 521-bit ECDSA key pair.
rsa
: Specifies the RSA key pair type.
name key-name
: Assigns a name to the key pair. The
key-name
argument is a case-insensitive
string of 1 to 64 characters. Valid characters are letters, digits, and hyphens (-). If you do not assign
a name to the key pair, the key pair takes the default name.
Table 40 Default local key pair names
Type
Default name
RSA
•
Host key pair:
hostkey
•
Server key pair:
serverkey
Содержание 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 ...