< Home

display rsa peer-public-key

Function

The display rsa peer-public-key command displays the specified RSA public key. If no public key is specified, all public keys are displayed.

Format

display rsa peer-public-key [ brief | name key-name ]

Parameters

Parameter Description Value
brief Displays the brief information about all the remote public keys. -
key-name Specifies the key name to be displayed. The value is a string of 1 to 30 characters.

Views

All views

Default Level

3: Management level

Usage Guidelines

This command displays the detailed information about all public keys or a specified public key.

Example

# Display the brief information about all RSA public keys.

<sysname> display rsa peer-public-key brief
Address         Bits   Name                           Encoding-Type
-------------------------------------------------------------------
                2048   rsakey001                      DER
Table 1 Description of the display rsa peer-public-key brief command output

Item

Description

Address

Remote IP address of the RSA public key

Bits

Bits of the RSA key

Name

Name of the RSA public key

Encoding-Type

Encoding format of the RSA public key

# Display the detailed RSA public key named abcd.

<sysname> display rsa peer-public-key name abcd
=====================================
    Key name: abcd
    Key address:
=====================================
Key Code:
308186
  028180
    739A291A BDA704F5 D93DC8FD F84C4274 631991C1 64B0DF17 8C55FA83 3591C7D4
    7D5381D0 9CE82913 D7EDF9C0 8511D83C A4ED2B30 B809808E B0D1F52D 045DE408
    61B74A0E 135523CC D74CAC61 F8E58C45 2B2F3F2D A0DCC48E 3306367F E187BDD9
    44018B3B 69F3CBB0 A573202C 16BB2FC1 ACF3EC8F 828D55A3 6F1CDDC4 BB45504F
  0201
    25
========================================================================
Table 2 Description of the display rsa peer-public-key command output

Item

Description

Key name

Name of the RSA public key

Key address

Remote IP address of the RSA public key

Key Code

RSA key information

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >