Dell Networking Enable HTTPS and SSH and Disable HTTP and Telnet for Switch Management on Legacy PowerConnect 7000 and N-series Switches

摘要: How to restrict management access to HTTPS and SSH on PowerConnect 7000.

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

說明

This article provides the steps necessary to restrict management access to HTTPS and SSH on PowerConnect 7000.

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:
show users accounts
​​​​For newer N-Series switches and additional management options, see How to set up management access for Dell Networking N2000, N3000, and N4000 Series Switches.
  1. Connect to the switch by the console, telnet, or ssh.
  2. The 7000 series requires a Privileged Exec (Enable) mode password for remote management over ssh or telnet. Failure to set this password may result in severely limited CLI management ability. Add an enable password:
console> enable
console# config
console(config)# enable password MYPASSWORD
  1. To enable SSH, enter the following commands:
console(config)# crypto key generate rsa
console(config)# crypto key generate dsa
console(config)# ip ssh server

If issues arise with specific commands, ensure you are running the latest firmware version. 

Caution: Before disabling either telnet or HTTP access, verify SSH or HTTPS access.
  1. To disable telnet, run: 
console(config)# ip telnet server disable
  1. To enable HTTPS, enter the following commands:
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

This system can generate and store two certificates. To generate the second key, replace the number 1 with 2. To activate the second key, use:

(config)# ip http secure-certificate 2
  1. To disable HTTP, enter:
console(config)# no ip http server
  1. After verifying connectivity using SSH or HTTPS, save the configuration by entering:
console# copy running-config startup-config
 
Note: After completing these steps, expect to receive errors about certificate authenticity. These are due to the certificates and keys being self-generated. This is not an error.

受影響的產品

Networking, N Series, PowerSwitch N2000 Series, PowerSwitch N3000 Series, PowerSwitch N4000 Series, PowerConnect 7024, PowerConnect 7024F, PowerConnect 7024P, PowerConnect 7048, PowerConnect 7048P, PowerConnect 7048R

產品

PowerConnect 7048P, PowerConnect 7048R
文章屬性
文章編號: 000106988
文章類型: How To
上次修改時間: 31 3月 2025
版本:  6
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。