SNMP 测试命令

来源:互联网 发布:淘宝关注有礼怎么设置 编辑:程序博客网 时间:2024/05/16 12:54

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