H3C S3100 Series Command Manual page 825

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

The configuration of this command can survive a reboot. You only need to configure it once.
Related commands: public-key local destroy, display public-key local.
Examples
# Create an RSA key pair of 512 bits.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] 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.
Input the bits in the modulus[default = 1024]: 512
Generating keys...
...++++++
...................................................................++++++
...........................++++++++
.....++++++++
......
# Display the public key part of the RSA key pair(s).
[Sysname] display public-key local rsa public
=====================================================
Time of Key pair created: 03:14:23
Key name: Sysname_Host
Key type: RSA encryption Key
=====================================================
Key code:
305C300D06092A864886F70D0101010500034B003048024100D6665EFEC14F48A5B42A413E
2FACCAA9F02C772AEDC4911E76AAEE55BA49C4A0233D2D80504068BD9C892C0DD9EBBBC7EB
8842ED61CDB418A29CA1362BB48C190203010001
=====================================================
Time of Key pair created: 03:14:36
Key name: Sysname_Server
Key type: RSA encryption Key
=====================================================
Key code:
307C300D06092A864886F70D0101010500036B003068026100A3B63F5B0E5470D9FE200545
0342011FEDE2A924C71EB19E28D257E43EF7E531D7C37FBB157712A2F2AF0F5BAF3E605954
96C5B3EAFF25BFB56F1E1CC7A7004D0FF048654BFEADB21C5AF3E24FB0516393BFEEF65A83
B7416F170886904C8BE30203010001
# Create a DSA key pair of 512 bits.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] public-key local create dsa
The range of public key size is (512 ~ 2048).
2000/04/06
2000/04/06
1-11

Advertisement

Table of Contents
loading

Table of Contents