Public Key Configuration Examples; Manually Specifying The Peer Public Key On The Local Device - HP 12500 Series Configuration Manual

Routing
Table of Contents

Advertisement

Task
Display the specified or all peer
public keys on the local device.

Public key configuration examples

IMPORTANT:
By default, Ethernet interfaces, VLAN interfaces, and aggregate interfaces are in DOWN state. To
configure such an interface, first use the undo shutdown command to bring the interface up.

Manually specifying the peer public key on the local device

Network requirements
As shown in
peer device) through a digital signature. Before configuring authentication parameters on Switch B,
configure the public key of Switch A on Switch B.
Configure Switch B to use the asymmetric key algorithm of RSA.
Manually specify the host public key of Switch A's public key pair on Switch B.
Figure 58 Network diagram
Configuration procedure
Configure Switch A:
1.
# Create local RSA key pairs on Switch A, setting the modulus length to the default, 1024 bits.
<SwitchA> system-view
[SwitchA] public-key local create rsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Press CTRL+C to abort.
Input the bits of the modulus[default = 1024]:
Generating Keys...
++++++
++++++
++++++++
++++++++
# Display the public keys of the local RSA key pairs.
[SwitchA] display public-key local rsa public
=====================================================
Command
display public-key peer [ brief | name
publickey-name ] [ | { begin | exclude | include }
regular-expression ]
Figure
58, to prevent illegal access, Switch B (the local device) authenticates Switch A (the
160
Remarks
Available in any
view.

Advertisement

Table of Contents
loading

Table of Contents