Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.
Some article numbers may have changed. If this isn't what you're looking for, try searching all articles. Search articles

Enable HTTPS/SSH and disable HTTP/Telnet for switch management on PowerConnect 6200 series switches.

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

Article Summary:

In some environments, secure management access may be desired.  This article provides the steps necessary to restrict management access 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.
  1. Connect to the switch via CLI
  2. To enable SSH, enter the following commands:
    1. console>enable
    2. console#config
    3. console(config)#crypto key generate rsa
    4. console(config)#crypto key generate dsa
    5. console(config)#ip ssh server
  3. To disable telnet, enter:  console(config)# ip telnet server disable
  4. To enable HTTPS, enter the following commands"
    1. console(config)# crypto certificate 1 generate
    2. console(config-crypto-cert)#key-generate <512-2048>
    3. console(config-crypto-cert)#exit
    4. console(config)#ip https certificate 1
    5. console(config)# ip https 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.
  1. To disable HTTP, enter:  console(config)# no ip http server
  2. After verifying connectivity via SSH or HTTPS, save the configuration by entering:  console#copy running-config startup-config

 

Article Properties


Affected Product

PowerConnect 6224, PowerConnect 6224F, PowerConnect 6224P, PowerConnect 6248, PowerConnect 6248P

Last Published Date

21 Feb 2021

Version

3

Article Type

How To