< Home

display dsa peer-public-key

Function

The display dsa peer-public-key command displays the DSA public key that has been configured.

Format

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

Parameters

Parameter Description Value
brief Displays the brief information. -
name key-name Displays the DSA public key with the specified name.

The value is a string of 1 to 30 case-insensitive characters without spaces.

NOTE:

The string can contain spaces if it is enclosed with double quotation marks (").

Views

All views

Default Level

3: Management level

Usage Guidelines

Usage Scenario

This command displays the DSA public key for you to check whether the local and peer public keys are consistent.

Precautions

You must complete the DSA public key configuration before running this command.

Example

# Display the DSA public key with the specified name.

<HUAWEI> display dsa peer-public-key name amar
=====================================
    Key name: amar
    Encoding type: DER
=====================================
Key Code:
3081DC
  0240
    AE0AE467 2BF3587F 30FE81FF A14D8070 1FC2930B A34004C1 B37824BB D3160595
    702901CD 53F0EAE0 6CC46D2D BE78F6A4 3DC4AAEF C7228E01 9C2EF7CE 87C63485
  0214
    94FC5624 DCEB09DA E9B88293 2AC88508 AB7C813F
  0240
    91FF0F2C 91996828 BAAD5068 CD2FE83E CEFA1CF4 7BCA4251 9F04FD24 6CFB50A3
    AD78CC0D 335DEFD2 0B4C3530 DAA25592 DEAFA0EB 61225712 E4AF6139 C986329F
  0240
    0E7BEFD5 594ECA9C CE574D9D 369BCD0C 19C94725 5FE8666E 73292AD6 908E4E0C
    7F0EA3AF A02F17F7 3A0B1D15 E22420CB B5EC1D2C 8BA77729 276EDEBB 8DA843C7
Table 1 Description of the display dsa peer-public-key command output

Item

Description

Key name

Type of the public key.

Encoding type

Type of the public key encoding format.

Key code

Code of the public key.

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