The display ecc peer-public-key command displays information about the Elliptic Curves Cryptography (ECC) public key configured on the remote end.
Parameter | Description | Value |
---|---|---|
brief | Displays the brief information about the ECC public key configured on the remote end. | - |
name key-name | Displays information about an ECC public key with a specified name configured on the remote end. | The value is a string of 1 to 30 case-sensitive characters, spaces not supported. |
Usage Scenario
You can run the display ecc peer-public-key command on a client to check information about the public key configured on the remote end. The public key enables a server to authenticate users and ensures the login of authorized users.
# Display the information about the ECC public keys of 127.0.0.1.
<HUAWEI> display ecc peer-public-key
=====================================
Key name: 127.0.0.1
Encoding type: DER
=====================================
Key Code:
04013184 A3311697 89DF558B 7F67BF9D BD95DBD5 280D659F 0E29852C AEC2FFBA
1913AC2A 88247ADA 46BEBEBE 1829C0DA 3BABC8FC 8F6EAD28 2AE2C6A8 116BAA3A
540E6B00 34E033D8 9D84841B 0D33DAD8 DEDD1C09 2B70B3DB 5AF0FCB2 37DF1C82
C4C622A6 85B23698 195DA60F 06858ADB DD743937 B4A29C4C FB28B40B BCEEE036
1DE61BD2 24
# Display the brief information about all the ECC public keys.
<HUAWEI> display ecc peer-public-key brief
Bits Name
----------------------
521 127.0.0.1
384 192.168.131.203
Item |
Description |
---|---|
Bits |
Length of the ECC public key configured on the remote end. |
Name |
Name of the ECC public key configured on the remote end. |
Key name |
Name of the ECC public key configured on the remote end. |
Encoding type |
Encoding type of the ECC public key configured on the remote end.
|
Key Code |
Code of the public key in the local ECC key pair configured using the ecc local-key-pair create command. |