Peer-Public-Key End - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

View
Any view
Default Level
1: Monitor level
Parameters
brief: Displays brief information about all the host public keys of peers.
name publickey-name: Displays information about a peer's host public key. publickey-name specifies a
host public key by its name, which is a case-sensitive string of 1 to 64 characters.
Description
Use the display public-key peer command to display information about the specified or all locally
saved public keys of peers.
With neither the brief keyword nor the name publickey-name combination specified, the command
displays detailed information about all locally saved public keys of peers.
You can use the public-key peer command or the public-key peer import sshkey command to get a
local copy of the public keys of a peer.
Related commands: public-key peer, public-key peer import sshkey.
Examples
# Display detailed information about the peer host public key named idrsa.
<Sysname> display public-key peer name idrsa
=====================================
Key name
: idrsa
Key type
: RSA
Key module: 1024
=====================================
Key Code:
30819D300D06092A864886F70D010101050003818B00308187028181009C46A8710216CEC0C01C7CE136BA76
C79AA6040E79F9E305E453998C7ADE8276069410803D5974F708496947AB39B3F39C5CE56C95B6AB7442D563
93BF241F99A639DD02D9E29B1F5C1FD05CC1C44FBD6CFFB58BE6F035FAA2C596B27D1231D159846B7CB9A775
7C5800FADA9FD72F65672F4A549EE99F63095E11BD37789955020123
# Display brief information about all locally saved public keys of the peers.
<Sysname> display public-key peer brief
Type
Module
Name
---------------------------
RSA
1024
idrsa
DSA
1024
10.1.1.1

peer-public-key end

Syntax
peer-public-key end
1-3

Advertisement

Table of Contents
loading

Table of Contents