show users accounts有关较新的 N 系列交换机和其他管理选项,请参阅如何为 Dell Networking N2000、N3000 和 N4000 系列交换机设置管理访问权限。
console> enable console# config console(config)# enable password MYPASSWORD
console(config)# crypto key generate rsa console(config)# crypto key generate dsa console(config)# ip ssh server
如果特定命令出现问题,请确保您运行的是最新的固件版本。
console(config)# ip telnet server disable
console(config)# crypto certificate 1 generate console(config-crypto-cert)# key-generate <512-2048> console(config-crypto-cert)# exit console(config)# ip http secure-certificate <1 - 2> Instance of the certificate to be activated. console(config)# ip http secure-server
此系统可以生成和存储两个证书。要生成第二个密钥,请将数字1替换为2。要激活第二个密钥,请使用:
(config)# ip http secure-certificate 2
console(config)# no ip http server
console# copy running-config startup-config