Quidway--S3700-28TP-SI-AC-snmp

来自三线的随记

OS VERSION

[Quidway]display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.70 (S3700 V100R006C05)
Copyright (C) 2003-2013 HUAWEI TECH CO., LTD
Quidway S3700-28TP-SI-AC Routing Switch uptime is 1 week, 4 days, 13 hours, 44 minutes

EOFEA 0(Master) : uptime is 1 week, 4 days, 13 hours, 43 minutes
128M bytes DDR Memory
16M bytes FLASH
Pcb      Version :  VER B
Basic  BOOTROM  Version :  349 Compiled at Mar 15 2013, 11:00:55
Software Version : VRP (R) Software, Version 5.70 (V100R006C05)


Snmp

[Quidway]undo snmp-agent sys-info version v1   
[Quidway]undo snmp-agent sys-info version v2c


version

[Quidway]snmp-agent sys-info version ?
  all  Enable the device to support SNMPv1, SNMPv2c and SNMPv3
  v1   Enable the device to support SNMPv1
  v2c  Enable the device to support SNMPv2c
  v3   Enable the device to support SNMPv3


v3 related settings

创建MIB视图,名称为 phpipam

包含iso节点下的所有内容, iso是根下面最大的子节点

[Quidway]snmp-agent mib-view included phpipam iso


创建SNMP v3 组phpipam_group ,并配置网管可以对设备进行读的视图为phpipam,网管管理设备时需要加密认证(privacy指明对报文进行认证和加密)

snmp-agent group v3 phpipam_group privacy read-view phpipam


设置SNMPv3用户名为phpipam_user,加入SNMP v3组 phpipam_group ,认证算法为MD5,认证密码为 password ,加密算法为des56,加密密码为 password,不设置通过ACL指定网管访问。

snmp-agent usm-user v3 phpipam_user phpipam_group authentication-mode md5 password privacy-mode des56 password