3Com 10014302 manual public-key-code end, Syntax, View, Parameter, Description, Example

Models: 10014302

1 101
Download 101 pages 60.09 Kb
Page 58
Image 58

3Com Router Command Reference Guide Addendum for V1.2

3.11 public-key-code end

Syntax

public-key-code end

View

Public key view

Parameter

None

Description

Using the public-key-code end command, you can end the public key editing and save the configured public key. Besides, you can also use this command to return from the public key view to the system view.

After ending the public key editing by executing this command, the system will verify the validity of the key before saving the key. If there is any invalid character in the character string, the system will prompt that it will discard all the public key data configured by the user due to the presence of invalid characters and will return to the public key view from the current view . In this case, you can access the public key edit view again using the public-key-code begin command and input new public key data using the hex command. If you do not want to input the key data again, you can exit to the system view by executing the public-key-code end command.

If the system makes sure that the configured key is valid, it will save the public key into the link table of public keys and exit the current view to the system view.

In public key edit view, you are unable to exit to the system view by executing the command quit or return.

For related commands, see rsa peer-public-key,public-key-code begin, and hex.

Example

Input an invalid character string when configuring a public key.

[3Com] rsa peer-public-key mykey

[3Com-rsa-public-key] public-key-code begin

[3Com-rsa-key-code] public-key-code end

% Invalid key string, the length is zero.

Input a valid character string when configuring a public key.

[3Com] rsa peer-public-key mykey

58

Page 58
Image 58
3Com 10014302 manual public-key-code end, Syntax, View, Parameter, Description, Example