最佳答案
以前测试过,可以参考如下:
用S6800 R2702+H01测试情况如下:
1.3.6.1.4.1.25506.2.3.1.7.2.1.10读取设备上flash里面的安装包
***** SNMP QUERY STARTED *****
1: hh3cSysPackageVersion.12582913 (octet string) Release 2702H01 [52.65.6C.65.61.73.65.20.32.37.30.32.48.30.31 (hex)]
2: hh3cSysPackageVersion.12582914 (octet string) Release 2702 [52.65.6C.65.61.73.65.20.32.37.30.32 (hex)]
3: hh3cSysPackageVersion.12582915 (octet string) Release 2510P01 [52.65.6C.65.61.73.65.20.32.35.31.30.50.30.31 (hex)]
4: hh3cSysPackageVersion.12582916 (octet string) Release 2510P01 [52.65.6C.65.61.73.65.20.32.35.31.30.50.30.31 (hex)]
5: hh3cSysPackageVersion.12582917 (octet string) Release 2612P02 [52.65.6C.65.61.73.65.20.32.36.31.32.50.30.32 (hex)]
6: hh3cSysPackageVersion.12582918 (octet string) Release 2612P02 [52.65.6C.65.61.73.65.20.32.36.31.32.50.30.32 (hex)]
7: hh3cSysPackageVersion.12582919 (octet string) Release 2702 [52.65.6C.65.61.73.65.20.32.37.30.32 (hex)]
***** SNMP QUERY FINISHED *****
1.3.6.1.4.1.25506.2.3.1.7.2.1.9读取设备上安装包类型
***** SNMP QUERY STARTED *****
1: hh3cSysPackageFeature.12582913 (octet string) system-patch [73.79.73.74.65.6D.2D.70.61.74.63.68 (hex)]
2: hh3cSysPackageFeature.12582914 (octet string) system [73.79.73.74.65.6D (hex)]
3: hh3cSysPackageFeature.12582915 (octet string) system [73.79.73.74.65.6D (hex)]
4: hh3cSysPackageFeature.12582916 (octet string) boot [62.6F.6F.74 (hex)]
5: hh3cSysPackageFeature.12582917 (octet string) system [73.79.73.74.65.6D (hex)]
6: hh3cSysPackageFeature.12582918 (octet string) boot [62.6F.6F.74 (hex)]
7: hh3cSysPackageFeature.12582919 (octet string) boot [62.6F.6F.74 (hex)]
***** SNMP QUERY FINISHED *****
1.3.6.1.4.1.25506.2.3.1.7.2.1.7读取安装包状态:
***** SNMP QUERY STARTED *****
1: hh3cSysPackageStatus.12582913 (integer) active(1)
2: hh3cSysPackageStatus.12582914 (integer) active(1)
3: hh3cSysPackageStatus.12582915 (integer) inactive(2)
4: hh3cSysPackageStatus.12582916 (integer) inactive(2)
5: hh3cSysPackageStatus.12582917 (integer) inactive(2)
6: hh3cSysPackageStatus.12582918 (integer) inactive(2)
7: hh3cSysPackageStatus.12582919 (integer) active(1)
***** SNMP QUERY FINISHED *****
可以看到active的是索引号12582913、12582914和12582919,分别对应R2702H01补丁、R2702 system包、R2702 boot包
(0)
hh3cLswSysVersion 系统版本 1.3.6.1.4.1.25506.8.35.18.1.4
hh3cLswSlotPcbVersion 单板PCB版本 1.3.6.1.4.1.25506.8.35.18.4 .3.1.5
更多参考:
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论