Table 18 Command output
Field Description
Key name Name of the peer public key.
Key type Key type: RSA and DSA.
Key modulus Key modulus length in bits.
Key code Public key string.
# Display brief information about all peer public keys.
<Sysname> display public-key peer brief
Type Modulus Name
---------------------------
RSA 1024 idrsa
DSA 1024 10.1.1.1
Table 19 Command output
Field Description
Type Key type: RSA and DSA.
Modulus Key modulus length in bits.
Name Name of the peer public key.
Related commands
• public-key peer
• public-key peer import sshkey
peer-public-key end
Use peer-public-key end to exit public key view to system view and save the configured peer public key.
Syntax
peer-public-key end
Views
Public key view
Predefined user roles
network-admin
Usage guidelines
To manually specify a peer public key on the local device, follow the steps:
1. Execute the public-key peer command to enter public key view.
2. Type the peer public key.
158