Dell Networking Nシリーズ スイッチ: SNMPの設定方法
Summary: Dell Networking Nシリーズ スイッチでネットワーク監視用にSimple Network Management Protocol (SNMP)を設定する方法。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
概要
この記事では、Dell Nシリーズ スイッチでSNMPを設定する手順について説明します。
SNMPのコンポーネント
- SNMPマネージャー
- SNMP エージェント
- コミュニティ文字列
SNMPマネージャー
- SNMPマネージャーは、通常、1つ以上のネットワーク管理システム(NMS)を実行するために使用されるコンピューターです。
- SNMPマネージャーは、ネットワーク デバイス上のSNMPエージェントとの通信を担当します。(スイッチ、ルーター、サーバーなど)
SNMP エージェント
- SNMPエージェントは、ネットワーク要素(スイッチ、ルーター、サーバーなど)内にパッケージ化されているプログラムです。
- ネットワーク要素でエージェントを有効にすると、デバイスから情報を収集し、クエリー時にSNMPマネージャーで使用できるようになります。
コミュニティ文字列
- SNMPコミュニティー文字列は、ネットワーク要素(スイッチ、ルーター、サーバーなど)へのアクセスを許可または拒否する各SNMPリクエストとともに送信されるユーザーIDまたはパスワードのようなものです。
- コミュニティ文字列が正しい場合、デバイスは要求された情報で応答します。コミュニティ文字列が正しくない場合、デバイスは単に要求を無視します。
SNMPエージェントおよびマネージャ

SNMPを実装するためのコマンド
| スイッチ コマンド | 説明 |
console# configure |
スイッチ構成モードに入ります。 |
console(config)# snmp-server community "community string" [ro | rw] |
コミュニティー文字列を作成し、管理ステーションが読み取り専用(Get status configuration)か読み取り/書き込み(Get and set configuration)かを指定します |
console(config)# snmp-server enable traps all |
トラップがトリガーされたときに管理ステーションに送信されるようにします。 |
console(config)# snmp-server host xx.xx.xx.xx "community string" |
トリガー イベント時にトラップが送信されるホストおよびコミュニティー文字列を構成します。 |
SNMPが有効になっている場合、スイッチはデフォルトでバージョンV2cを実行します。
SNMPの設定例
console# configure
console(config)# snmp-server community test ro
出力例
console(config)# show snmp
Community-String Community-Access View Name IP Address IP Mask
-------------------- ---------------- ---------------- ---------------- ----------------
test Read Only Default All All
Community-String Group Name IP Address IP Mask
-------------------- ------------------------------ ---------------- ----------------
test DefaultRead All AllCause
.
Resolution
.
Affected Products
PowerSwitch N1100-ON Series, PowerSwitch N1500 Series, PowerSwitch N2000 Series, PowerSwitch N2100 Series, PowerSwitch N3000 Series, Dell EMC PowerSwitch N3000E-ON Series, PowerSwitch N4000 SeriesArticle Properties
Article Number: 000135459
Article Type: Solution
Last Modified: 10 Apr 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.