华为存储18500 V5配置SNMP

配置流程

zh-cn_image_0121398404.png

配置SNMPV1/V2C

配置端口

admin:/>show snmp port

  SNMP Listening Port : 161 

admin:/>change snmp port port_number=20000 
WARNING: You are about to change the listening port of the SNMP service. This operation may cause the restart of the SNMP service and use the newly configured listening port. 
Suggestion: Before you perform this operation, disconnect the network management software and SNMP service. After the configuration is successful, use the new port to connect to SNMP service. 
Have you read warning message carefully?(y/n)y 
 
Are you sure you really want to perform the operation?(y/n)y 
Command executed successfully. 

默认端口值为161,取值范围为20000~20100。

启用SNMPV1/V2C

admin:/>change snmp version v1v2c_switch=On
CAUTION: You are about to enable SNMPv1 and SNMPv2c. But you are advised to use the secure SNMPv3 protocol only.
Do you wish to continue?(y/n)y
Command executed successfully.

admin:/>show snmp version                  

  SNMP V1V2C Switch : On 

配置团体字

admin:/>change snmp community read_community=********* write_community=*********
Command executed successfully.

参数说明:

  • read_community 只读团体字,用于读取设备信息时使用,可以通过 “show snmp safe_strategy” 命令获取密码安全策略。
  • write_community 读写团体字,用于读取设备信息或配置设备时使用,可以通过 “show snmp safe_strategy” 命令获取密码安全策略。

初次登录时,请立即修改团体字,以保证系统的安全。
系统默认只读团体字为“storage_public”,读写团体字为“storage_private”。
团体字格式要求如下:
团体字长度范围为 4~32个字符,可通过“change snmp safe_strategy”命令修改长度范围,区分大小写。
团体字必须满足密码复杂度要求:
当密码复杂度为“Normal”时,团体字必须包含特殊字符,并且至少包含大写字母、小写字母以及数字中任意两者的组合。
当密码复杂度为“High”时,团体字必须包含特殊字符、大写字母、小写字母和数字。
当密码复杂度为“Low”时,团体字为特殊字符、大写字母、小写字母和数字的任意组合。
只读团体字和读写团体字不能相同。

说明:
出于兼容性考虑,系统保留了对SNMPv1和SNMPv2c的支持。为了保证数据的安全性,强烈建议使用SNMPv3协议。
可以通过“change snmp safe_strategy”命令修改团体字策略。
特殊字符包含` ~ ! @ # $ % ^ & * ( ) - _ = + \ | [ { } ] ; : ' " , < . > / ?和空格。

配置SNMPV3

  • 选择“ 设置 > 告警设置 > USM用户管理”。
  • 单击“增加”。
    系统弹出“增加USM用户”对话框。
  • 根据要求填写USM用户信息
  • 单击“确定”
  • 单击“保存”。
    系统弹出“执行结果”,提示操作成功。
  • 单击“关闭”。

注意:通过设置USM用户,可以为SNMPV3进行鉴权和数据加密。


[1] OceanStor 18000, 18000F V5系列 产品文档

posted @ 2020-07-13 16:22  吴诺克  阅读(1613)  评论(0编辑  收藏  举报
Copyright © 豆子林克 DOUZI.LINK  版权所有. 除特别申明外,本站原创内容版权遵循 CC-BY-NC-SA 协议规定