Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

2.7. SNMP

		
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C]snmp-agent
[H3C]snmp-agent sys-info version all
[H3C]snmp-agent community write public
[H3C]snmp-agent mib-view include internet 1.3.6.1
		
		

[root@nis ~]# snmpwalk -c public -v 1 172.16.0.253|more
SNMPv2-MIB::sysDescr.0 = STRING: H3C Comware Platform Software
Comware software, Version 3.10, Release 1702P13
H3C S3600-28P-SI Product Version S3600-SI-1702P13

Copyright(c) 2004-2010 Hangzhou H3C Tech. Co.,Ltd. All rights reserved.

SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.25506.1.32
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (18165571) 2 days, 2:27:35.71
SNMPv2-MIB::sysContact.0 = STRING: Hangzhou H3C Technologies Co., Ltd.
SNMPv2-MIB::sysName.0 = STRING: H3C
SNMPv2-MIB::sysLocation.0 = STRING: Hangzhou China
SNMPv2-MIB::sysServices.0 = INTEGER: 78
IF-MIB::ifNumber.0 = INTEGER: 36
IF-MIB::ifIndex.14 = INTEGER: 14
IF-MIB::ifIndex.16 = INTEGER: 16
IF-MIB::ifIndex.31 = INTEGER: 31
IF-MIB::ifIndex.71 = INTEGER: 71
IF-MIB::ifIndex.79 = INTEGER: 79
IF-MIB::ifIndex.87 = INTEGER: 87
IF-MIB::ifIndex.95 = INTEGER: 95
IF-MIB::ifIndex.4227614 = INTEGER: 4227614
IF-MIB::ifIndex.4227626 = INTEGER: 4227626
IF-MIB::ifIndex.4227634 = INTEGER: 4227634