上篇中,我们已经打通ensp虚拟网络设备与监控平台的网络,本章将对网络设备进行snmp配置,并添加到监控平台中
1、网络设备snmp配置
(1)进入网络设备系统视图,启动snmp协议、trap告警。
[Huawei]sys
Enter system view, return user view with Ctrl+Z.
[Huawei]snmp-agent
[Huawei]snmp-agent trap enable
Info: All switches of SNMP trap/notification will be open. Continue? [Y/N]:y
(2)设置只读团体名lewei123。
[Huawei]snmp-agent community read lewei123
(3)设置版本号v2c。
[Huawei]snmp-agent sys-info version v2c
(4)退出系统视图,保存配置。
[Huawei]quit <Huawei>save The current configuration will be written to the device. Are you sure to continue? (y/n)[n]:y It will take several minutes to save configuration file, please wait........ Configuration file had been saved successfully Note: The configuration file will take effect after being activated <Huawei>
3、选择华为路由器模板
4、填入设备相关信息后提交
5、等待几分钟后即可看到监控效果
错误信息