1-17rsa local-key-pair createSyntaxrsa local-key-pair createViewSystem viewParametersNoneDescriptionUse the rsa local-key-pair create command to generate an RSA key pair for the current switch.Note that:z After entering this command, you will be prompted to provide the length of the key modulus. Thelength is in the range 512 to 2048 bits and defaults to 1024 bits. If the key pair already exists, thesystem will ask you whether you want to overwrite it.z The configuration of this command can survive a reboot. You only need to configure it once.Related commands: rsa local-key-pair destroy, display rsa local-key-pair public.Examples# Generate local RSA key pair. system-viewSystem View: return to User View with Ctrl+Z.[Sysname] rsa local-key-pair createThe local-key-pair will be created.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]:Generating keys...........................++++++.......++++++.................................++++++++...++++++++........Done!# Display the public key of the current switch’s RSA key pair.[Sysname] display rsa local-key-pair public=====================================================Time of Key pair created: 02:31:51 2000/04/09Key name: Sysname_HostKey type: RSA encryption Key=====================================================Key code:308188