华为交换机配置SNMP

SNMP v2

snmp-agent
snmp-agent community read pass123
snmp-agent sys-info version v2c

SNMP v3

snmp-agent
snmp-agent sys-info version v3
snmp-agent group v3 Huawei123 privacy read-view View_ALL write-view View_ALL notify-view View_ALL
snmp-agent target-host trap address udp-domain 192.168.44.113 params securityname Huawei123 v3 privacy
snmp-agent mib-view included View_ALL iso
snmp-agent usm-user v3 user
snmp-agent usm-user v3 Huawei123
snmp-agent usm-user v3 Huawei123 group Huawei123
snmp-agent usm-user v3 Huawei123 authentication-mode sha
输入密码:pass123
输入密码:pass123
snmp-agent usm-user v3 Huawei123 privacy-mode aes128
输入密码:pass123
输入密码:pass123
snmp-agent trap enable
y

本文链接:

http://blog.ps-ef.cn/HuaWei/64.html
1 + 8 =
快来做第一个评论的人吧~