PowerEdge:Dell PowerEdge FX2/M1000e/VRTXでのSNMPv3のセットアップ

概要: 次の記事では、Dell PowerEdge FX2、M1000e、VRTXでSNMPv3トラップを設定する方法について説明します。

この記事は次に適用されます: この記事は次には適用されません: この記事は、特定の製品に関連付けられていません。 すべての製品パージョンがこの記事に記載されているわけではありません。

手順

Dell PowerEdge FX2、M1000e、VRTXでSNMPトラップをセットアップして設定する方法

 

ユーザーの設定:

$ racadm getconfig -g cfguseradmin -i 16
# cfgUserAdminIndex=16
cfgUserAdminUserName=example_snmpv3 << This will be the user the customer creates to send SNMPv3 Traps
# cfgUserAdminPassword=******** (Write-Only) << Supply a password during user creation
cfgUserAdminEnable=1 << Enable the user
cfgUserAdminPrivilege=0x00000fff << Ensure the user has sufficient credentials to send SNMPv3 traps
cfgUserAdminSNMPv3Enable=1 << Enable SNMPv3 for this user
cfgUserAdminSNMPv3AuthenticationType=SHA  << Configure the Authentication Type  (Can be set to none, md5 or sha)
cfgUserAdminSNMPv3PrivacyType=AES  << Configure the Authentication Type (Can be set to none, DES or AES) 

SNMPパラメーターの設定:

$ racadm getconfig -g cfgOobSnmp
cfgOobSnmpAgentEnable=1
cfgOobSnmpAgentCommunity=public
cfgOobSnmpProtocol=SNMPv3 << Configure SNMPv3
cfgOobSnmpTrapFormat=SNMPv3 << Configure SNMPv3
cfgOobSnmpDiscoveryPort=161
cfgOobSnmpAlertPort=162 

SNMPトラップの宛先の設定:

$ racadm getconfig -g cfgTraps -i 1
# cfgTrapsIndex=1
cfgTrapsEnable=1 << Enable the trap
cfgTrapsAlertDestIPAddr=192.168.0.120 << Point the trap to a listening device
cfgTrapsCommunityName=public
# cfgTrapsSNMPv3UserId=5
cfgTrapsSNMPv3UserName=example_snmpv3 << Ensure the user above is configured in this field 

 


上記の設定のRACADMコマンドの完全なリストは次のとおりです。

ユーザーの作成:

$ racadm config -g cfguseradmin -o cfgUserAdminUserName -i 16 example_snmpv3
$ racadm config -g cfguseradmin -o cfguseradminpassword -i 16 calvin
$ racadm config -g cfguseradmin -o cfguseradminenable -i 16 1
$ racadm config -g cfguseradmin -o cfgUserAdminPrivilege -i 16 0x00000fff
$ racadm config -g cfguseradmin -o cfguseradminsnmpv3enable -i 16 1
$ racadm config -g cfguseradmin -o cfguseradminsnmpv3authenticationtype -i 16 2
$ racadm config -g cfguseradmin -o cfguseradminsnmpv3privacytype -i 16 2 

SNMPパラメーターの設定:

$ racadm config -g cfgoobsnmp -o cfgOobSnmpProtocol 1
$ racadm config -g cfgoobsnmp -o cfgOobSnmpTrapFormat 2 

SNMPトラップの宛先の設定:

$ racadm config -g cfgtraps -o cfgtrapsenable -i 1 1
$ racadm config -g cfgtraps -o cfgtrapsalertdestipaddr -i 1 192.168.0.120
$ racadm config -g cfgtraps -o cfgtrapssnmpv3username -i 1 example_snmpv3 

対象製品

Chassis Management Controllers, PowerEdge FX2/FX2s, PowerEdge M1000E, POWEREDGE VRTX
文書のプロパティ
文書番号: 000138524
文書の種類: How To
最終更新: 15 4月 2025
バージョン:  5
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。