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.

Dell NetworkingがレガシーPowerConnect 7000およびNシリーズ スイッチのスイッチ管理のためにHTTPSとSSHを有効にし、HTTPとTelnetを無効にする

Summary: PowerConnect 7000でHTTPSおよびSSHへの管理アクセスを制限する方法。

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

この記事では、PowerConnect 7000でHTTPSおよびSSHへの管理アクセスを制限するために必要な手順について説明します。

この手順では、次のことを前提としています。
  • スイッチは、すでにIPアドレスが設定され、ネットワーク内で到達可能である。
  • 特権レベル15で作成されたアカウントがある。これを確認するには、次のコマンドを使用します。
show users accounts
新しいNシリーズ スイッチとその他の管理オプションについては、「Dell Networking N2000、N3000、N4000シリーズ スイッチの管理アクセスを設定する方法」を参照してください。
  1. コンソール、telnet、またはsshを使用してスイッチに接続します。
  2. 7000シリーズでは、SSHまたはTelnet経由でリモート管理を行うために、Privileged Exec(Enable)モードのパスワードが必要です。このパスワードを設定しないと、CLIでの管理が大幅に制限される可能性があります。enableパスワードを追加する:
console> enable
console# config
console(config)# enable password MYPASSWORD
  1. SSHを有効にするには、次のコマンドを入力します。
console(config)# crypto key generate rsa
console(config)# crypto key generate dsa
console(config)# ip ssh server

特定のコマンドで問題が発生した場合は、最新のファームウェア バージョンを実行していることを確認します。 

注意:telnetアクセスまたはHTTPアクセスのいずれかを無効にする前に、SSHアクセスまたはHTTPSアクセスを確認してください。
  1. telnetを無効にするには、次のコマンドを実行します。 
console(config)# ip telnet server disable
  1. HTTPSを有効にするには、次のコマンドを入力します。
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

このシステムは、2つの証明書を生成して保存できます。2番目のキーを生成するには、番号1を2で置き換えます。2 番目のキーをアクティブにするには、次を使用します。

(config)# ip http secure-certificate 2
  1. HTTPを無効にするには、次のコマンドを入力します。
console(config)# no ip http server
  1. SSHまたはHTTPSを使用して接続を確認した後、次のように入力して設定を保存します。
console# copy running-config startup-config
 
注:これらの手順を完了すると、証明書の信頼性に関するエラーが表示されます。これは、証明書とキーが自己生成されているためです。これはエラーではありません。

Article Properties


Affected Product

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

Product

PowerConnect 7048P, PowerConnect 7048R

Last Published Date

28 Mar 2024

Version

5

Article Type

How To