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

Page 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

Image 58
Contents 3Com Router Command Reference Guide Addendum forPublished January Download the 3Com Router Command Reference Guide from Download the Router 3000 Installation Guide fromDownload the Router 5000 Installation Guide from Download the 3Com Router Configuration Guide fromSyntax Chapter 1 CBQ Configuration Commands1.1 af Viewcar cir rate cbs size ebs size conform action exceed action 1.2 carundo car 1.3 debugging qos number1.4 display qos cbq interface display qos cbq interface type numberdisplay qos class class-name 1.5 display qos class1.6 display qos policy display qos policy policy-name class class-name3Com display qos policy 1.7 display qos policy interface display qos policy interface type number inbound outboundBehaviors Default Queue Flow Based Fair Queueing 1.8 ef ef bandwidth bandwidth cbs size undo ef1.9 gts gts cir rate cbs size ebs size queue-length length undo gtsif-match logic-not acl acl-number 1.10 if-match aclundo if-match logic-not acl acl-number access-list-number ACL number 1.11 if-match anyif-match logic-not any undo if-match logic-not any if-match logic-not class class-name 1.12 if-match classundo if-match logic-not class class-name 1.13 if-match criteria if-match logic-not criteria undo if-match logic-not criterianumber Interface number 1.14 if-match inbound-interface1.15 if-match ip-dscp if-match logic-not inbound-interface type numberif-match logic-not ip-precedence value value … 1.16 if-match ip-precedenceundo if-match logic-not ip-precedence value value … if-match logic-not destination-mac source-mac mac-address 1.17 if-match mac-addressundo if-match logic-not destination-mac source-mac mac-address if-match logic-not protocol ip 1.18 if-match protocolundo if-match logic-not protocol ip qmtoken token-number 1.19 if-match rtp1.20 qmtoken undo qmtoken1.21 qos apply policy qos class logic-and logic-or class-name 1.22 qos classundo qos class logic-and logic-or class-name 1.23 qos max-bandwidth qos max-bandwidth kilobits undo qos max-bandwidth1.24 qos policy qos policy policy-name undo qos policy policy-name1.25 qos reserved-bandwidth qos reserved-bandwidth pct percent undo qos reserved-bandwidthqos-class class-name undo qos-class class-name 1.26 qos-class1.27 queue-length queue-length queue-length undo queue-length queue-length1.28 remark ip-dscp remark ip-dscp value undo remark ip-dscp value1.29 remark ip-precedence remark ip-precedence value undo remark ip-precedence valuewfq queue-number total-queue-number 1.30 wfq1.31 wred undo wfqdiscard-prob 1.32 wred ip-dscpundo wred ip-dscp ip-precedence undo wred ip-dscp dscp-valueDescription 1.33 wred ip-precedence undo wred ip-precedence value1.34 wred weighting-constant wred weighting-constant exponent undo wred weighting-constant2.1 debugging hwtacacs Chapter 2 TACACS+ Configuration Commandsinterface-type interface-number Interface name and number 2.2 display hwtacacs accounting Example 2.3 display hwtacacs server For a related command, see reset hwtacacs server statistics 2.4 domaindomain undo domain 2.5 host Parameter Warning Reach the max limited of server in one template 2.6 hwtacacs-server template reset hwtacacs accounting statistics 2.7 reset hwtacacs accounting statistics2.8 reset hwtacacs server statistics reset hwtacacs server statistics2.9 shared-key shared-key key-string2.10 source-ip undo source-ip2.11 timer quiet 3.2 debugging ssh server Chapter 3 SSH Configuration Commands3.1 debugging rsa debugging rsa undo debugging rsa3.3 display rsa local-key-pair public display rsa local-key-pair public3Com display rsa local-key-pair public 3.4 display rsa peer-public-key display rsa peer-public-key brief name keyname3.5 display ssh server display ssh server status sessiondisplay ssh user-information username 3.6 display ssh user-information3.7 hex hex hex-dataD6C54A36 3.8 kill ssh kill ssh all userID userid3.9 protocol inbound protocol inbound ssh telnet numbers acl acl-number3.10 public-key-code begin public-key-code begin3.11 public-key-code end public-key-code end3.12 rsa local-key-pair create rsa local-key-pair create3.13 rsa local-key-pair destroy rsa local-key-pair destroy3.14 rsa peer-public-key rsa peer-public-key key-name undo rsa peer-public-key key-namessh server authentication-retries times 3.15 ssh server authentication-retriesundo ssh server authentication-retries ssh server timeout seconds undo ssh server timeout 3.17 ssh server timeout3.16 ssh server rekey-interval ssh server rekey-interval hours undo ssh server rekey-intervalssh user username assign rsa-key keyname 3.18 ssh user username assign rsa-keyundo ssh user username assign rsa-key ssh user username authentication-type password RSA all 3.19 ssh user authentication-typeundo ssh user username authentication-type password RSA all 3Com ssh user smith authentication-type password Chapter 4 NTP Configuration Commands 4.1 debugging ntp-service4.2 display ntp-service sessions display ntp-service sessions verbose4.3 display ntp-service status display ntp-service status4.4 display ntp-service trace display ntp-service tracentp-service access query synchronization server peer acl-number 4.5 ntp-service accessundo ntp-service access query synchronization server peer ntp-service authentication enable 4.6 ntp-service authentication enable4.7 ntp-service authentication-keyid undo ntp-service authentication enable4.8 ntp-service broadcast-client ntp-service broadcast-client undo ntp-service broadcast-client4.9 ntp-service broadcast-server ntp-service max-dynamic-sessions number 4.10 ntp-service max-dynamic-sessions4.11 ntp-service multicast-client undo ntp-service max-dynamic-sessions4.12 ntp-service multicast-server undo ntp-service multicast-server4.13 ntp-service refclock-master ntp-service reliable authentication-keyid number 4.14 ntp-service reliable authentication-keyidundo ntp-service reliable authentication-keyid number 4.15 ntp-service source-interface undo ntp-service source-interface4.16 ntp-service source-interface disable 4.17 ntp-service unicast-peerundo ntp-service unicast-peer 4.18 ntp-service unicast-server undo ntp-service unicast-server3Com ntp-service unicast-server 128.108.22.44 version 5.2 display x25 x2t route Chapter 5 X2T Configuration Commands5.1 debugging x25 x2t debugging x25 x2t all event packetdisplay x25 x2t switch-table 5.3 display x25 x2t switch-table5.4 translate ip translate ip ip-address port port-number x25 x.121-address5.5 translate undo translate ip ip-address port port-numberRoutertranslate x25 12322 ip 10.110.54.19 port Chapter 6 Additional ISDN Configuration Commands 6.1 isdn ignore callednum6.2 isdn ignore hlc 3Com-E1-0 interface serial 215 3Com-serial215 isdn ignore callednum6.3 isdn ignore llc 6.4 isdn waitconnectackView 6.5 display isdn spidSyntax Parameter6.6 isdn ignore dchan Example6.7 isdn protocol-type 6.8 isdn q931-timer undo isdn q931-timer timer-name all6.9 isdn spid auto-trigger 6.10 isdn spid nit 6.11 isdn spid timer 6.12 isdn spid resend 3Com-bri0 isdn spid service data 3Com-bri0/0 isdn spid service speech 6.13 isdn spid serviceExample 6.14 isdn spid1 6.15 isdn spid23Com-bri0 isdn spid2