SNMP 测试命令

snmpwalk 172.16.8.110  .1.3.6.1.2.1.4.20.1

可以查看到IP 地址。   安装HP 的OPENVIEW后才有snmpwalk。 很多东西都有SNMP 的Browser,比如SNMPC还可以从网上下载。

MIB Variable Types

The MIBs supported by the TPF system reside in core storage. The TPF system supports the MIB-II structure except for certain values (routing tables and physical address tables, for example) that do not apply to TPF. All MIBs supported by the TPF system are defined by the following Request for Comments (RFC) documents:

  • RFC 1155 Structure and Identification of Management Information for TCP/IP-based internets
  • RFC 1213 Management Information Base for Network Management of TCP/IP-based internets: MIB-II
  • RFC 2233 The Interfaces Group MIB using SMlv2.

Go to http://www.ietf.org for more information about these RFCs and any related extensions.

All MIB variables supported by TPF have read-only access. The following table shows the MIB-II variables defined by RFC 1213 that are supported by the TPF system. MIB variables that are not accessible are shown in bold italic font. The variables are listed in each SNMP group in the numeric order of their object identifiers.

Table 14. MIB Variables Supported by the TPF System

Variable DescriptorObject Identifier
System Group
sysDescr1.3.6.1.2.1.1.1
sysObjectID1.3.6.1.2.1.1.2
sysUpTime1.3.6.1.2.1.1.3
sysContact1.3.6.1.2.1.1.4
sysName1.3.6.1.2.1.1.5
sysLocation1.3.6.1.2.1.1.6
sysServices1.3.6.1.2.1.1.7
Interfaces Group
ifNumber1.3.6.1.2.1.2.1
ifTable1.3.6.1.2.1.2.2
ifEntry1.3.6.1.2.1.2.2.1
ifIndex1.3.6.1.2.1.2.2.1.1
ifDescr1.3.6.1.2.1.2.2.1.2
ifType1.3.6.1.2.1.2.2.1.3
ifMtu1.3.6.1.2.1.2.2.1.4
ifSpeed1.3.6.1.2.1.2.2.1.5
ifPhysAddress1.3.6.1.2.1.2.2.1.6
ifAdminStatus1.3.6.1.2.1.2.2.1.7
ifOperStatus1.3.6.1.2.1.2.2.1.8
ifLastChange1.3.6.1.2.1.2.2.1.9
ifInOctets1.3.6.1.2.1.2.2.1.10
ifInUcastPkts1.3.6.1.2.1.2.2.1.11
ifInNUcastPkts1.3.6.1.2.1.2.2.1.12
ifInDiscards1.3.6.1.2.1.2.2.1.13
ifInErrors1.3.6.1.2.1.2.2.1.14
ifInUnknownProtos1.3.6.1.2.1.2.2.1.15
ifOutOctets1.3.6.1.2.1.2.2.1.16
ifOutUcastPkts1.3.6.1.2.1.2.2.1.17
ifOutNUcastPkts1.3.6.1.2.1.2.2.1.18
ifOutDiscards1.3.6.1.2.1.2.2.1.19
ifOutErrors1.3.6.1.2.1.2.2.1.20
ifOutQLen1.3.6.1.2.1.2.2.1.21
ifSpecific1.3.6.1.2.1.2.2.1.22
IP Group
ipForwarding1.3.6.1.2.1.4.1
ipDefaultTTL1.3.6.1.2.1.4.2
ipInReceives1.3.6.1.2.1.4.3
ipInHdrErrors1.3.6.1.2.1.4.4
ipInAddrErrors1.3.6.1.2.1.4.5
ipForwDatagrams1.3.6.1.2.1.4.6
ipInUnknownProtos1.3.6.1.2.1.4.7
ipInDiscards1.3.6.1.2.1.4.8
ipInDelivers1.3.6.1.2.1.4.9
ipOutRequests1.3.6.1.2.1.4.10
ipOutDiscards1.3.6.1.2.1.4.11
ipOutNoRoutes1.3.6.1.2.1.4.12
ipReasmTimeout1.3.6.1.2.1.4.13
ipReasmReqds1.3.6.1.2.1.4.14
ipReasmOKs1.3.6.1.2.1.4.15
ipReasmFails1.3.6.1.2.1.4.16
ipFragsOKs1.3.6.1.2.1.4.17
ipFragsFails1.3.6.1.2.1.4.18
ipFragCreates1.3.6.1.2.1.4.19
ipAddrTable1.3.6.1.2.1.4.20
ipAddrEntry1.3.6.1.2.1.4.20.1
ipAdEntAddr1.3.6.1.2.1.4.20.1.1
ipAdEntIfIndex1.3.6.1.2.1.4.20.1.2
ipAdEntNetMask1.3.6.1.2.1.4.20.1.3
ipAdEntBcastAddr1.3.6.1.2.1.4.20.1.4
ipAdEntReasmMaxSize1.3.6.1.2.1.4.20.1.5
ICMP Group
icmpInMsgs1.3.6.1.2.1.5.1
icmpInErrors1.3.6.1.2.1.5.2
icmpInDestUnreachs1.3.6.1.2.1.5.3
icmpInTimeExcds1.3.6.1.2.1.5.4
icmpInParmProbs1.3.6.1.2.1.5.5
icmpInSrcQuenchs1.3.6.1.2.1.5.6
icmpInRedirects1.3.6.1.2.1.5.7
icmpInEchos1.3.6.1.2.1.5.8
icmpInEchoReps1.3.6.1.2.1.5.9
icmpInTimestamps1.3.6.1.2.1.5.10
icmpInTimestampReps1.3.6.1.2.1.5.11
icmpInAddrMasks1.3.6.1.2.1.5.12
icmpInAddrMaskReps1.3.6.1.2.1.5.13
icmpOutMsgs1.3.6.1.2.1.5.14
icmpOutErrors1.3.6.1.2.1.5.15
icmpOutDestUnreachs1.3.6.1.2.1.5.16
icmpOutTimeExcds1.3.6.1.2.1.5.17
icmpOutParmProbs1.3.6.1.2.1.5.18
icmpOutSrcQuenchs1.3.6.1.2.1.5.19
icmpOutRedirects1.3.6.1.2.1.5.20
icmpOutEchos1.3.6.1.2.1.5.21
icmpOutEchoReps1.3.6.1.2.1.5.22
icmpOutTimestamps1.3.6.1.2.1.5.23
icmpOutTimestampReps1.3.6.1.2.1.5.24
icmpOutAddrMasks1.3.6.1.2.1.5.25
icmpOutAddrMaskReps1.3.6.1.2.1.5.26
TCP Group
tcpRtoAlgorithm1.3.6.1.2.1.6.1
tcpRtoMin1.3.6.1.2.1.6.2
tcpRtoMax1.3.6.1.2.1.6.3
tcpMaxConn1.3.6.1.2.1.6.4
tcpActiveOpens1.3.6.1.2.1.6.5
tcpPassiveOpens1.3.6.1.2.1.6.6
tcpAttemptFails1.3.6.1.2.1.6.7
tcpEstabResets1.3.6.1.2.1.6.8
tcpCurrEstab1.3.6.1.2.1.6.9
tcpInSegs1.3.6.1.2.1.6.10
tcpOutSegs1.3.6.1.2.1.6.11
tcpRetransSegs1.3.6.1.2.1.6.12
tcpConnTable1.3.6.1.2.1.6.13
tcpConnEntry1.3.6.1.2.1.6.13.1
tcpConnState1.3.6.1.2.1.6.13.1.1
tcpConnLocalAddress1.3.6.1.2.1.6.13.1.2
tcpConnLocalPort1.3.6.1.2.1.6.13.1.3
tcpConnRemAddress1.3.6.1.2.1.6.13.1.4
tcpConnRemPort1.3.6.1.2.1.6.13.1.5
tcpInErrs1.3.6.1.2.1.6.14
tcpOutRsts1.3.6.1.2.1.6.15
UDP Group
udpInDatagrams1.3.6.1.2.1.7.1
udpNoPorts1.3.6.1.2.1.7.2
udpInErrors1.3.6.1.2.1.7.3
udpOutDatagrams1.3.6.1.2.1.7.4
udpTable1.3.6.1.2.1.7.5
udpEntry1.3.6.1.2.1.7.5.1
udpLocalAddress1.3.6.1.2.1.7.5.1.1
udpLocalPort1.3.6.1.2.1.7.5.1.2
SNMP Group
snmpInPkts1.3.6.1.2.1.11.1
snmpOutPkts1.3.6.1.2.1.11.2
snmpInBadVersions1.3.6.1.2.1.11.3
snmpInBadCommunityNames1.3.6.1.2.1.11.4
snmpInBadCommunityUses1.3.6.1.2.1.11.5
snmpInASNParseErrs1.3.6.1.2.1.11.6
NOT USED1.3.6.1.2.1.11.7
snmpInTooBigs1.3.6.1.2.1.11.8
snmpInNoSuchNames1.3.6.1.2.1.11.9
snmpInBadValues1.3.6.1.2.1.11.10
snmpInReadOnlys1.3.6.1.2.1.11.11
snmpInGenErrs1.3.6.1.2.1.11.12
snmpInTotalReqVars1.3.6.1.2.1.11.13
snmpInTotalSetVars1.3.6.1.2.1.11.14
snmpInGetRequests1.3.6.1.2.1.11.15
snmpInGetNexts1.3.6.1.2.1.11.16
snmpInSetRequests1.3.6.1.2.1.11.17
snmpInGetResponses1.3.6.1.2.1.11.18
snmpInTraps1.3.6.1.2.1.11.19
snmpOutTooBigs1.3.6.1.2.1.11.20
snmpOutNoSuchNames1.3.6.1.2.1.11.21
snmpOutBadValues1.3.6.1.2.1.11.22
NOT USED1.3.6.1.2.1.11.23
snmpOutGenErrs1.3.6.1.2.1.11.24
snmpOutGetRequests1.3.6.1.2.1.11.25
snmpOutGetNexts1.3.6.1.2.1.11.26
snmpOutSetRequests1.3.6.1.2.1.11.27
snmpOutGetResponses1.3.6.1.2.1.11.28
snmpOutTraps1.3.6.1.2.1.11.29
snmpEnableAuthenTraps1.3.6.1.2.1.11.30
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值