SNMP(Simple Network Management Protocol,简单网络管理协议)是一种用于管理和监控网络设备的标准协议,广泛应用于路由器、交换机、服务器、打印机等网络设备的管理场景。以下是对它的简单介绍:
版本 | 特点 | 安全性 |
---|---|---|
SNMPv1 | 最早版本,基于团体名(Community String)认证(如 “public”),安全性低。 | 明文传输,易被窃听。 |
SNMPv2c | 扩展了协议功能(如支持批量数据获取),认证方式与 v1 相同。 | 仍使用明文团体名。 |
SNMPv3 | 引入用户认证(如用户名 + 密码)、数据加密(DES/AES)和访问控制,安全性高。 | 支持加密和权限分级。 |
二、配置过程
1、交换机配置(以s5735为例):
[JKXY-XYW-FWQ-2]snmp-agent group v3 admin privacy
#创建snmpv3 用户组admin
[JKXY-XYW-FWQ-2]snmp-agent usm-user v3 admin group admin
#创建snmpv3 用户,并加入用户组
Warning: Configuring a security algorithm is recommended, because the noauthentication or authentication mode is insecure.
[JKXY-XYW-FWQ-2]snmp-agent usm-user v3 admin authentication-mode sha2-256
#配置有用户认证密码
Please configure the authentication password (8-255)
Enter Password:
Confirm Password:
Warning: Configuring a security algorithm is recommended, because the noauthentication or authentication mode is insecure.
[JKXY-XYW-FWQ-2]snmp-agent usm-user v3 admin privacy-mode aes256
#配置用户加密密码
Please configure the privacy password (8-255)
Enter Password:
Confirm Password:
Warning: The privacy and authentication passwords are the same, which is insecure. It is recommended that the privacy and authentication passwords are different.
2、huanwei eSight上配置
(1)
维护中心-网络资源-网络设备-单个添加
(2)
填入交换机ip地址,名称
用户名为交换机创建的,认证协议,加密协议调整为交换机创建的并填入密码
(3)
版权说明:如非注明,本站文章均为 扬州驻场服务-网络设备调试-监控维修-南京泽同信息科技有限公司 原创,转载请注明出处和附带本文链接。
请在这里放置你的在线分享代码