1、 现场情况
EMonitor监控管家,是一台物理设备,设备现在的IP地址是192.168.1.91。
2、可以通过WEB界面管理。
3、进入管理界面。
可以提供监控管理、拓扑管理、资源管理、告警管理、报表管理、云服务等功能。
4、在基础设置中,找到网络对象设置,点击“新增设备”。
5、添加网络设备。
网络设备首先要有一个IP地址,还需要开通SNMP协议。
华为S5700交换机举例:
登录S5700交换机,开机SNMP协议。
各大厂商开启SNMP协议可以参考:
配置华为S5700 IP地址
<Quidway>system-view
Enter system view, return user view with Ctrl+Z.
[Quidway]in
[Quidway]inte
[Quidway]interface vl
[Quidway]interface Vlanif 1
[Quidway-Vlanif1]ip add
[Quidway-Vlanif1]ip address 192.168.1.97 255.255.255.0
[Quidway-Vlanif1]
Aug 4 2020 16:40:30 Quidway LLDP/4/ADDCHGTRAP:OID 1.3.6.1.4.1.2011.5.25.134.2.5 Local management address is changed. (LocManAddr=192.168.1.97)
Aug 4 2020 16:40:30 Quidway %%01RM/4/ROUTERID_CHANGE(l)[1]:The router ID is 192.168.1.97. (InstanceID=0)
Aug 4 2020 16:40:30 Quidway %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP on the interface Vlanif1 has entered the UP state.
[Quidway-Vlanif1]
Aug 4 2020 16:40:38 Quidway DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 2, the change loop count is 0, and the maximum number of records is 4095.
[Quidway-Vlanif1]
配置SNMP
[Quidway]snmp-agent community read pu
[Quidway]snmp-agent community read public
^
Error: Wrong parameter found at '^' position.
[Quidway]sn
[Quidway]snmp-agent co
[Quidway]snmp-agent community re
[Quidway]snmp-agent community read ?
STRING<8-32> String of community name
cipher Specify community name with encrypted text
[Quidway]snmp-agent community read public ?
^
Error: Wrong parameter found at '^' position.
[Quidway]snmp-agent community read public111
[Quidway]
Aug 4 2020 16:47:34 Quidway SNMP/4/WARMSTART:OID 1.3.6.1.6.3.1.1.5.2 warmStart
[Quidway]
[Quidway]
Aug 4 2020 16:47:38 Quidway DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 3, the change loop count is 0, and the maximum number of records is 4095.
[Quidway]sn
[Quidway]snmp-agent co
[Quidway]snmp-agent community wr
[Quidway]snmp-agent community write pr
[Quidway]snmp-agent community write private
[Quidway]snmp-agent community write private
^
Error: Wrong parameter found at '^' position.
[Quidway]snmp-agent community write private111---这一条write可以不要
[Quidway]
[Quidway]sn
[Quidway]snmp-agent
Aug 4 2020 16:47:58 Quidway DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 4, the change loop count is 0, and the maximum number of records is 4095.
[Quidway]snmp-agent sy
[Quidway]snmp-agent sys-info ve
[Quidway]snmp-agent sys-info version al
[Quidway]snmp-agent sys-info version all
Warning: SNMPv1/SNMPv2c is not secure, and it is recommended to use SNMPv3.
V2C
Public111
6、可以看到监控管理设备已经可以通过SNMP协议访问到华为的S5700设备。访问状态:正常,运行状态:正常。
7、可以查看到华为设置的系统信息。
8、查看到每个端口的速率。
9、获取设备的基本信息。