...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
Команда для получения таблицы значений: snmpwalk -v2c -c public 192.168.0.1 1.3.6.1.4.1.9.9.109.1.1.1.1.3 iso.3.6.1.4.1.9.9.109.1.1.1.1.3.0 = Gauge32: 3 iso.3.6.1.4.1.9.9.109.1.1.1.1.3.1 = Gauge32: 0 iso.3.6.1.4.1.9.9.109.1.1.1.1.3.2 = Gauge32: 0 iso.3.6.1.4.1.9.9.109.1.1.1.1.3.3 = Gauge32: 0 Команда для получения конкретного значения: snmpget -v2c -c public 192.168.0.1 1.3.6.1.4.1.9.9.109.1.1.1.1.3.0 iso.3.6.1.4.1.9.9.109.1.1.1.1.3.0 = Gauge32: 3 |
Просмотр всех зарегестрированных OID'ов на устройстве
| Примечание |
|---|
Для просмотра всех зарегестрированных OID'ов на устройстве должен быть включен SNMP-сервер. |
Командный режим:
ROOT
Синтаксис:
show snmp oids
Пример:
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100# show snmp oids
OID Object
------------------------------------------------ ------------------------------------------------
.1.0.8802.1.1.2.1.2.6 lldpStatsTxPortTable
.1.0.8802.1.1.2.1.2.7 lldpStatsRxPortTable
.1.0.8802.1.1.2.1.3.1 lldpLocChassisIdSubtype
.1.0.8802.1.1.2.1.3.2 lldpLocChassisId
.1.0.8802.1.1.2.1.3.3 lldpLocSysName
.1.0.8802.1.1.2.1.3.4 lldpLocSysDesc
.1.0.8802.1.1.2.1.3.5 lldpLocSysCapSupported
.1.0.8802.1.1.2.1.3.6 lldpLocSysCapEnabled
.1.0.8802.1.1.2.1.3.7 lldpLocPortTable
.1.0.8802.1.1.2.1.3.8 lldpLocManAddrTable
.1.0.8802.1.1.2.1.4.1 lldpRemTable
.1.0.8802.1.1.2.1.4.2 lldpRemManAddrTable
.1.3.6.1.2.1.1.1 sysDescr
.1.3.6.1.2.1.1.2 sysObjectID
.1.3.6.1.2.1.1.3 sysUpTime
.1.3.6.1.2.1.1.4 sysContact
.1.3.6.1.2.1.1.5 sysName
.1.3.6.1.2.1.1.6 sysLocation
.1.3.6.1.2.1.1.7 sysServices
.1.3.6.1.2.1.1.8 sysORLastChange
.1.3.6.1.2.1.1.9 sysORTable
.1.3.6.1.2.1.2.1 ifNumber
.1.3.6.1.2.1.2.2 ifTable
.1.3.6.1.2.1.4.1 ipForwarding
.1.3.6.1.2.1.4.2 ipDefaultTTL
.1.3.6.1.2.1.4.13 ipReasmTimeout
.1.3.6.1.2.1.4.24.6 inetCidrRouteNumber
.1.3.6.1.2.1.4.24.7 inetCidrRouteTable
.1.3.6.1.2.1.4.25 ipv6IpForwarding
.1.3.6.1.2.1.4.26 ipv6IpDefaultHopLimit
.1.3.6.1.2.1.4.31.1 ipSystemStatsTable
.1.3.6.1.2.1.4.31.2 ipIfStatsTableLastChange
.1.3.6.1.2.1.4.31.3 ipIfStatsTable
.1.3.6.1.2.1.4.32 ipAddressPrefixTable
.1.3.6.1.2.1.4.33 ipAddressSpinLock
.1.3.6.1.2.1.4.34 ipAddressTable
.1.3.6.1.2.1.4.35 ipNetToPhysicalTable
.1.3.6.1.2.1.4.36 ipv6ScopeZoneIndexTable
.1.3.6.1.2.1.5.29 icmpStatsTable
.1.3.6.1.2.1.5.30 icmpMsgStatsTable
.1.3.6.1.2.1.10.131.1.1.1 tunnelIfTable
.1.3.6.1.2.1.10.131.1.1.2 tunnelConfigTable
.1.3.6.1.2.1.10.131.1.1.3 tunnelInetConfigTable
.1.3.6.1.2.1.16.1.1 etherStatsTable
.1.3.6.1.2.1.17.1.1 dot1dBaseBridgeAddress
.1.3.6.1.2.1.25.1.2 hrSystemDate
.1.3.6.1.2.1.26.2.1 ifMauTable
.1.3.6.1.2.1.31.1.1 ifXTable
.1.3.6.1.2.1.47.1.1.1 entPhysicalTable
.1.3.6.1.4.1.9.2.9.9 tsMsgSend
.1.3.6.1.4.1.9.9.48.1.1 ciscoMemoryPoolTable
.1.3.6.1.4.1.9.9.109.1.1.1 cpmCPUTotalTable
.1.3.6.1.4.1.9.9.168.1.2.1 cntpPeersVarTable
.1.3.6.1.4.1.9.9.285.1.1.1 portChannelTable
.1.3.6.1.4.1.89.2.13.1 rndActiveSoftwareFileTable
.1.3.6.1.4.1.89.2.16.1 rndImageInfoTable
.1.3.6.1.4.1.89.53.15 rlPhdUnitEnvParamTable
.1.3.6.1.4.1.2021.4.1 memIndex
.1.3.6.1.4.1.2021.4.2 memErrorName
.1.3.6.1.4.1.2021.4.3 memTotalSwap
.1.3.6.1.4.1.2021.4.4 memAvailSwap
.1.3.6.1.4.1.2021.4.5 memTotalReal
.1.3.6.1.4.1.2021.4.6 memAvailReal
.1.3.6.1.4.1.2021.4.7 memTotalSwapTXT
.1.3.6.1.4.1.2021.4.8 memAvailSwapTXT
.1.3.6.1.4.1.2021.4.9 memTotalRealTXT
.1.3.6.1.4.1.2021.4.10 memAvailRealTXT
.1.3.6.1.4.1.2021.4.11 memTotalFree
.1.3.6.1.4.1.2021.4.12 memMinimumSwap
.1.3.6.1.4.1.2021.4.13 memShared
.1.3.6.1.4.1.2021.4.14 memBuffer
.1.3.6.1.4.1.2021.4.15 memCached
.1.3.6.1.4.1.2021.4.16 memUsedSwapTXT
.1.3.6.1.4.1.2021.4.17 memUsedRealTXT
.1.3.6.1.4.1.2021.4.100 memSwapError
.1.3.6.1.4.1.2021.4.101 memSwapErrMsg
.1.3.6.1.4.1.2021.10 laTable
.1.3.6.1.4.1.2021.11.1 ssIndex
.1.3.6.1.4.1.2021.11.2 ssErrorName
.1.3.6.1.4.1.2021.11.3 ssSwapIn
.1.3.6.1.4.1.2021.11.4 ssSwapOut
.1.3.6.1.4.1.2021.11.5 ssIOSent
.1.3.6.1.4.1.2021.11.6 ssIOReceive
.1.3.6.1.4.1.2021.11.7 ssSysInterrupts
.1.3.6.1.4.1.2021.11.8 ssSysContext
.1.3.6.1.4.1.2021.11.9 ssCpuUser
.1.3.6.1.4.1.2021.11.10 ssCpuSystem
.1.3.6.1.4.1.2021.11.11 ssCpuIdle
.1.3.6.1.4.1.2021.11.50 ssCpuRawUser
.1.3.6.1.4.1.2021.11.51 ssCpuRawNice
.1.3.6.1.4.1.2021.11.52 ssCpuRawSystem
.1.3.6.1.4.1.2021.11.53 ssCpuRawIdle
.1.3.6.1.4.1.2021.11.54 ssCpuRawWait
.1.3.6.1.4.1.2021.11.55 ssCpuRawKernel
.1.3.6.1.4.1.2021.11.56 ssCpuRawInterrupt
.1.3.6.1.4.1.2021.11.57 ssIORawSent
.1.3.6.1.4.1.2021.11.58 ssIORawReceived
.1.3.6.1.4.1.2021.11.59 ssRawInterrupts
.1.3.6.1.4.1.2021.11.60 ssRawContexts
.1.3.6.1.4.1.2021.11.61 ssCpuRawSoftIRQ
.1.3.6.1.4.1.2021.11.62 ssRawSwapIn
.1.3.6.1.4.1.2021.11.63 ssRawSwapOut
.1.3.6.1.4.1.2021.11.64 ssCpuRawSteal
.1.3.6.1.4.1.2021.11.65 ssCpuRawGuest
.1.3.6.1.4.1.2021.11.66 ssCpuRawGuestNice
.1.3.6.1.4.1.2021.11.67 ssCpuNumCpus
.1.3.6.1.4.1.35265.1.147.2.2.1.2.1 eltEsrIpSlaCandConfGeneralTable
.1.3.6.1.4.1.35265.1.147.2.2.1.2.2 eltEsrIpSlaRunConfGeneralTable
.1.3.6.1.4.1.35265.1.147.2.2.1.2.3 eltEsrIpSlaCandConfTestTable
.1.3.6.1.4.1.35265.1.147.2.2.1.2.4 eltEsrIpSlaRunConfTestTable
.1.3.6.1.4.1.35265.1.147.2.2.1.2.5 eltEsrIpSlaCandConfScheduleTable
.1.3.6.1.4.1.35265.1.147.2.2.1.2.6 eltEsrIpSlaRunConfScheduleTable
.1.3.6.1.4.1.35265.1.147.2.2.1.2.7 eltEsrIpSlaCandConfThresholdTable
.1.3.6.1.4.1.35265.1.147.2.2.1.2.8 eltEsrIpSlaRunConfThresholdTable
.1.3.6.1.4.1.35265.1.147.2.2.1.2.9 eltEsrIpSlaCandConfResponderTable
.1.3.6.1.4.1.35265.1.147.2.2.1.2.10 eltEsrIpSlaRunConfResponderTable
.1.3.6.1.4.1.35265.1.147.2.2.1.2.11 eltEsrIpSlaCandConfResponderGeneralTable
.1.3.6.1.4.1.35265.1.147.2.2.1.2.12 eltEsrIpSlaRunConfResponderGeneralTable
.1.3.6.1.4.1.35265.1.147.2.2.1.2.13 eltEsrIpSlaCandConfLoggingTable
.1.3.6.1.4.1.35265.1.147.2.2.1.2.14 eltEsrIpSlaRunConfLoggingTable
.1.3.6.1.4.1.35265.1.147.2.2.1.3.1 eltEsrIpSlaStatTestTable
.1.3.6.1.4.1.35265.1.147.2.2.1.3.2.1 eltEsrIpSlaHistoryTable
.1.3.6.1.4.1.35265.1.147.2.3.1.3.1 eltEsrOspfNbrTable
.1.3.6.1.4.1.35265.1.147.2.4.1.3.1 eltEsrBgp4V2PeerTable
.1.3.6.1.4.1.35265.1.147.2.5.1.1.1 eltEsrFwConnectionStatTable
.1.3.6.1.4.1.35265.5.1 eltexFileTable
.1.3.6.1.4.1.35265.5.2 eltexFileHistoryTable
.1.3.6.1.4.1.35265.5.3 eltexFileHistoryTableFreeIndex
.1.3.6.1.4.1.35265.5.4 eltexFileHistoryTableMaxSize
.1.3.6.1.4.1.35265.5.6 eltexFileHistoryTableOperation
.1.3.6.1.4.1.35265.20.1.1 eltQosPolicyStatsTable
.1.3.6.1.4.1.35265.20.2.1 eltQosClassStatsTable
.1.3.6.1.4.1.35265.21.1 tunnelWiFiConfigTable
.1.3.6.1.4.1.35265.21.2 tunnelWiFiDataLinksNumber
.1.3.6.1.4.1.35265.21.3 tunnelWiFiManagementLinksNumber
.1.3.6.1.4.1.35265.21.4 tunnelWiFiTable
.1.3.6.1.4.1.35265.21.5 tunnelWiFiOpTable
.1.3.6.1.4.1.35265.38.30.1 eltexConfigTable
.1.3.6.1.4.1.35265.38.80.1 eltexIfNumberTable
.1.3.6.1.4.1.35265.38.80.2 eltexSubRunConfigTable
.1.3.6.1.4.1.35265.38.80.3 eltexSubCandConfigTable
.1.3.6.1.4.1.35265.38.80.4 eltexBridgeRunConfigTable
.1.3.6.1.4.1.35265.38.80.5 eltexBridgeCandConfigTable
.1.3.6.1.4.1.35265.38.80.6 eltexUtilizationIfTable
.1.3.6.1.4.1.35265.38.85.1 eltexVrfRunConfigTable
.1.3.6.1.4.1.35265.38.85.2 eltexVrfCandConfigTable
.1.3.6.1.4.1.35265.38.90.1 eltexSfpTable
.1.3.6.1.4.1.35265.38.90.2 eltexSfpDDMTable
.1.3.6.1.4.1.35265.38.95.1 eltexRoutingFIBLimit
.1.3.6.1.4.1.35265.38.95.2 eltexRoutingFIBUsage
.1.3.6.1.4.1.35265.38.95.3 eltexRoutingFIB6Limit
.1.3.6.1.4.1.35265.38.95.4 eltexRoutingFIB6Usage
.1.3.6.1.4.1.35265.38.95.5 eltexRoutingRIBLimitsTable
.1.3.6.1.4.1.35265.38.95.6 eltexRoutingRIBUsageTable
.1.3.6.1.4.1.35265.38.95.7 eltexRoutingRIB6LimitsTable
.1.3.6.1.4.1.35265.38.95.8 eltexRoutingRIB6UsageTable
.1.3.6.1.4.1.35265.38.100 eltexSystemUptime
.1.3.6.1.4.1.35265.38.130.1 eltexCpuProcessesStatTable
.1.3.6.1.4.1.35265.42.34 eltexIpAddressTable
.1.3.6.1.4.1.35265.42.100 eltexNeighborsNumberTable
.1.3.6.1.4.1.35265.43.1 eltexBrasSessionTable
.1.3.6.1.4.1.35265.43.4 eltexBrasServiceTable
.1.3.6.1.4.1.35265.44.6.1 eltexVrrpRunConfigTable
.1.3.6.1.4.1.35265.44.6.2 eltexVrrpCandConfigTable
.1.3.6.1.4.1.35265.44.6.3 eltexVrrpRunConfigAssociatedIpAddrTable
.1.3.6.1.4.1.35265.44.6.4 eltexVrrpCandConfigAssociatedIpAddrTable
.1.3.6.1.6.3.10.2.1.1 snmpEngineID
.1.3.6.1.6.3.10.2.1.2 snmpEngineBoots
.1.3.6.1.6.3.10.2.1.3 snmpEngineTime
.1.3.6.1.6.3.10.2.1.4 snmpEngineMaxMessageSize
.1.3.6.1.6.3.11.2.1 snmpMPDStats
.1.3.6.1.6.3.15.1.1 usmStats
esr-100# |