华为交换机snmpv2配置
时间: 2023-10-24 16:27:07 浏览: 204
华为交换机配置
华为交换机的SNMPv2配置如下:
1. 首先,需要开启SNMP协议:
snmp-agent
2. 然后,配置只读属性为"huawei"并绑定ACL 2001:
snmp-agent community read huawei acl 2001
3. 接着,配置可写属性为"huawei"并绑定ACL 2001:
snmp-agent community write huawei acl 2001
4. 确保SNMP版本允许V2(默认只允许V3):
snmp-agent sys-info version v2c
5. 最后,配置SNMP组和Trap目标地址:
snmp-agent group v3 public notify-view ViewDefault
snmp-agent target-host trap address udp-domain 192.168.1.1 params securityname public v2c
这样配置后,华为交换机就可以使用SNMPv2进行管理和监控了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [华为交换机配置SNMP](https://blog.csdn.net/gongxiaopingxsl/article/details/127319956)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [华为snmpv3配置](https://blog.csdn.net/qq_43636320/article/details/118190488)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文