How to enable HTTPS/SSH and disable HTTP/Telnet for switch management on PowerConnect 5500 series switches
概要: steps necessary to restrict management access to using HTTPS and SSH
この記事は次に適用されます:
この記事は次には適用されません:
この記事は、特定の製品に関連付けられていません。
すべての製品パージョンがこの記事に記載されているわけではありません。
手順
This article provides the steps necessary to restrict management access to using HTTPS and SSH.
Caution: This process requires use of the Command Line Interface (CLI). This process can be utilized through a serial or telnet session. However these steps must be followed in order to prevent unintentionally blocking access to remote management.
This procedure assumes:
- The switch is already configured with an IP address and is reachable within the network.
- There is an account created with Privilege Level 15. To verify this, use the command: console#show users accounts.
Note: After completing these steps, you can expect to receive errors about certificate authenticity. This is due to the certificates and keys being self-generated. This is not an error.
Caution: Before disabling either telnet or HTTP access, verify SSH or HTTPS access.
Note: If SSH or HTTPS is enabled and the disabling of telnet and HTTP is desired, skip to step 3 to disable telnet and step 5 to disable HTTP.
- Connect to the switch via CLI
- To enable SSH, enter the following commands:
- console> enable
- console# config
- console(config)# crypto key generate rsa
- console(config)# crypto key generate dsa
- console(config)# ip ssh server
- To disable telnet, enter: console(config)#no ip telnet server
- To enable HTTPS, enter the following commands"
- console(config)# crypto certificate 1 generate key
- console(config)# ip https certificate 1
- console(config)# ip http secure-server
Note: This system is capable of the generation and storage of 2 certificates. To generate the second key, replace the number 1 with 2. To activate the second key, use (config)#ip https certificate 2.
- To disable HTTP, enter: console(config)# no ip http server
- After verifying connectivity via SSH or HTTPS, save the configuration by entering: console#copy running-config startup-config
対象製品
PowerConnect 5524, PowerConnect 5524P, PowerConnect 5548, PowerConnect 5548p文書のプロパティ
文書番号: 000120459
文書の種類: How To
最終更新: 05 6月 2025
バージョン: 6
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。