upstream from CM | docsis.org

You are here

upstream from CM

3 posts / 0 new
Last post
rdantas.mello
upstream from CM

hi,

I'm a old java programmer but beginner in snmp. I got a java application that read all CM mac/oid from cmts and persist them to a database. how can I know whats the upstream each CM is connected to?
macs -> 1.3.6.1.2.1.10.127.1.3.3.1.2
ips -> 1.3.6.1.2.1.10.127.1.3.3.1.3
status -> 1.3.6.1.2.1.10.127.1.3.3.1.9
upstream -> ?

thanks

Dantas

fb445421
MIB files...

Hi!

MIB files are very handy... If you have the MIB file for DOCS-IF-MIB you can do this:

snmpbulkwalk -v 2c -c public 172.19.0.1 DOCS-IF-MIB::docsIfCmtsCmStatusUpChannelIfIndex -m all | head

.1.3.6.1.2.1.10.127.1.3.3.1.5.1 = INTEGER: 402
.1.3.6.1.2.1.10.127.1.3.3.1.5.2 = INTEGER: 402
.1.3.6.1.2.1.10.127.1.3.3.1.5.3 = INTEGER: 402
.1.3.6.1.2.1.10.127.1.3.3.1.5.4 = INTEGER: 402
.1.3.6.1.2.1.10.127.1.3.3.1.5.5 = INTEGER: 404
.1.3.6.1.2.1.10.127.1.3.3.1.5.6 = INTEGER: 404
.1.3.6.1.2.1.10.127.1.3.3.1.5.7 = INTEGER: 403
.1.3.6.1.2.1.10.127.1.3.3.1.5.8 = INTEGER: 398
.1.3.6.1.2.1.10.127.1.3.3.1.5.9 = INTEGER: 404
.1.3.6.1.2.1.10.127.1.3.3.1.5.10 = INTEGER: 403

The OID is .1.3.6.1.2.1.10.127.1.3.3.1.5 as you can see above.

MIB files are available on the 'net all over the place and makes your life a LOT easier. Here are a few examples from one modem:

DOCS-IF-MIB::docsIfCmtsCmStatusMacAddress.1 = STRING: 0:14:e8:e3:e4:2
DOCS-IF-MIB::docsIfCmtsCmStatusIpAddress.1 = IpAddress: 172.19.14.108
DOCS-IF-MIB::docsIfCmtsCmStatusDownChannelIfIndex.1 = INTEGER: 146
DOCS-IF-MIB::docsIfCmtsCmStatusUpChannelIfIndex.1 = INTEGER: 402
DOCS-IF-MIB::docsIfCmtsCmStatusRxPower.1 = INTEGER: 14.7 dBmV
DOCS-IF-MIB::docsIfCmtsCmStatusTimingOffset.1 = Gauge32: 2015
DOCS-IF-MIB::docsIfCmtsCmStatusEqualizationData.1 = Hex-STRING: 08 01 18 00 00 00 00 00 00 00 00 00 00 00 00 00
DOCS-IF-MIB::docsIfCmtsCmStatusValue.1 = INTEGER: registrationComplete(6)
DOCS-IF-MIB::docsIfCmtsCmStatusUnerroreds.1 = Counter32: 1302444
DOCS-IF-MIB::docsIfCmtsCmStatusCorrecteds.1 = Counter32: 7
DOCS-IF-MIB::docsIfCmtsCmStatusUncorrectables.1 = Counter32: 0
DOCS-IF-MIB::docsIfCmtsCmStatusSignalNoise.1 = INTEGER: 32.1 dB
DOCS-IF-MIB::docsIfCmtsCmStatusMicroreflections.1 = INTEGER: 0 dBc
DOCS-IF-MIB::docsIfCmtsCmStatusExtUnerroreds.1 = Counter64: 0
DOCS-IF-MIB::docsIfCmtsCmStatusExtCorrecteds.1 = Counter64: 0
DOCS-IF-MIB::docsIfCmtsCmStatusExtUncorrectables.1 = Counter64: 0
DOCS-IF-MIB::docsIfCmtsCmStatusDocsisRegMode.1 = INTEGER: docsis11(2)
DOCS-IF-MIB::docsIfCmtsCmStatusModulationType.1 = INTEGER: atdma(2)
DOCS-IF-MIB::docsIfCmtsCmStatusInetAddressType.1 = INTEGER: ipv4(1)
DOCS-IF-MIB::docsIfCmtsCmStatusInetAddress.1 = STRING: "172.19.14.108"
DOCS-IF-MIB::docsIfCmtsCmStatusEntry.22.1 = Timeticks: (1008128050) 116 days, 16:21:20.50
DOCS-IF-MIB::docsIfCmtsCmStatusEntry.23.1 = Gauge32: 0

There is a lot you can do with SNMP and modems and CMTSes if you like!

Oh, by the way, you may want some info from the upstream port itself:

DOCS-IF-MIB::docsIfUpChannelId.397 = INTEGER: 1
DOCS-IF-MIB::docsIfUpChannelId.398 = INTEGER: 2
DOCS-IF-MIB::docsIfUpChannelId.399 = INTEGER: 3
DOCS-IF-MIB::docsIfUpChannelId.400 = INTEGER: 4
DOCS-IF-MIB::docsIfUpChannelId.401 = INTEGER: 5
DOCS-IF-MIB::docsIfUpChannelId.402 = INTEGER: 6
DOCS-IF-MIB::docsIfUpChannelId.403 = INTEGER: 7
DOCS-IF-MIB::docsIfUpChannelId.404 = INTEGER: 8
DOCS-IF-MIB::docsIfUpChannelFrequency.397 = INTEGER: 29700000 hertz
DOCS-IF-MIB::docsIfUpChannelFrequency.398 = INTEGER: 33700000 hertz
DOCS-IF-MIB::docsIfUpChannelFrequency.399 = INTEGER: 56000000 hertz
DOCS-IF-MIB::docsIfUpChannelFrequency.400 = INTEGER: 56600000 hertz
DOCS-IF-MIB::docsIfUpChannelFrequency.401 = INTEGER: 59400000 hertz
DOCS-IF-MIB::docsIfUpChannelFrequency.402 = INTEGER: 59600000 hertz
DOCS-IF-MIB::docsIfUpChannelFrequency.403 = INTEGER: 59600000 hertz
DOCS-IF-MIB::docsIfUpChannelFrequency.404 = INTEGER: 59600000 hertz
DOCS-IF-MIB::docsIfUpChannelWidth.397 = INTEGER: 6400000 hertz
DOCS-IF-MIB::docsIfUpChannelWidth.398 = INTEGER: 6400000 hertz
DOCS-IF-MIB::docsIfUpChannelWidth.399 = INTEGER: 6400000 hertz
DOCS-IF-MIB::docsIfUpChannelWidth.400 = INTEGER: 6400000 hertz
DOCS-IF-MIB::docsIfUpChannelWidth.401 = INTEGER: 6400000 hertz
DOCS-IF-MIB::docsIfUpChannelWidth.402 = INTEGER: 6400000 hertz
DOCS-IF-MIB::docsIfUpChannelWidth.403 = INTEGER: 6400000 hertz
DOCS-IF-MIB::docsIfUpChannelWidth.404 = INTEGER: 6400000 hertz
DOCS-IF-MIB::docsIfUpChannelModulationProfile.397 = Gauge32: 7
DOCS-IF-MIB::docsIfUpChannelModulationProfile.398 = Gauge32: 7
DOCS-IF-MIB::docsIfUpChannelModulationProfile.399 = Gauge32: 7
DOCS-IF-MIB::docsIfUpChannelModulationProfile.400 = Gauge32: 7
DOCS-IF-MIB::docsIfUpChannelModulationProfile.401 = Gauge32: 7
DOCS-IF-MIB::docsIfUpChannelModulationProfile.402 = Gauge32: 7
DOCS-IF-MIB::docsIfUpChannelModulationProfile.403 = Gauge32: 7
DOCS-IF-MIB::docsIfUpChannelModulationProfile.404 = Gauge32: 7
DOCS-IF-MIB::docsIfSigQUnerroreds.397 = Counter32: 3055612272
DOCS-IF-MIB::docsIfSigQUnerroreds.398 = Counter32: 2519135356
DOCS-IF-MIB::docsIfSigQUnerroreds.399 = Counter32: 1094641154
DOCS-IF-MIB::docsIfSigQUnerroreds.400 = Counter32: 3621181848
DOCS-IF-MIB::docsIfSigQUnerroreds.401 = Counter32: 2996083798
DOCS-IF-MIB::docsIfSigQUnerroreds.402 = Counter32: 3528352626
DOCS-IF-MIB::docsIfSigQUnerroreds.403 = Counter32: 2584907427
DOCS-IF-MIB::docsIfSigQUnerroreds.404 = Counter32: 3893298633
DOCS-IF-MIB::docsIfSigQCorrecteds.397 = Counter32: 6647727
DOCS-IF-MIB::docsIfSigQCorrecteds.398 = Counter32: 540934940
DOCS-IF-MIB::docsIfSigQCorrecteds.399 = Counter32: 68401912
DOCS-IF-MIB::docsIfSigQCorrecteds.400 = Counter32: 5269991
DOCS-IF-MIB::docsIfSigQCorrecteds.401 = Counter32: 39023537
DOCS-IF-MIB::docsIfSigQCorrecteds.402 = Counter32: 9719052
DOCS-IF-MIB::docsIfSigQCorrecteds.403 = Counter32: 4009514
DOCS-IF-MIB::docsIfSigQCorrecteds.404 = Counter32: 4260151
DOCS-IF-MIB::docsIfSigQUncorrectables.397 = Counter32: 47351
DOCS-IF-MIB::docsIfSigQUncorrectables.398 = Counter32: 2640739
DOCS-IF-MIB::docsIfSigQUncorrectables.399 = Counter32: 37560280
DOCS-IF-MIB::docsIfSigQUncorrectables.400 = Counter32: 47956
DOCS-IF-MIB::docsIfSigQUncorrectables.401 = Counter32: 419543
DOCS-IF-MIB::docsIfSigQUncorrectables.402 = Counter32: 84762
DOCS-IF-MIB::docsIfSigQUncorrectables.403 = Counter32: 97430
DOCS-IF-MIB::docsIfSigQUncorrectables.404 = Counter32: 194863
DOCS-IF-MIB::docsIfSigQSignalNoise.397 = INTEGER: 42.0 dB
DOCS-IF-MIB::docsIfSigQSignalNoise.398 = INTEGER: 33.7 dB
DOCS-IF-MIB::docsIfSigQSignalNoise.399 = INTEGER: 42.0 dB
DOCS-IF-MIB::docsIfSigQSignalNoise.400 = INTEGER: 42.0 dB
DOCS-IF-MIB::docsIfSigQSignalNoise.401 = INTEGER: 33.4 dB
DOCS-IF-MIB::docsIfSigQSignalNoise.402 = INTEGER: 40.4 dB
DOCS-IF-MIB::docsIfSigQSignalNoise.403 = INTEGER: 42.0 dB
DOCS-IF-MIB::docsIfSigQSignalNoise.404 = INTEGER: 42.0 dB

/Fredrik

docisis_profile
HI I just landed into this

HI I just landed into this post because I have the same question but for OFDMA? I cannot find any OID that can tell me to which ofdma interface index is the cm connected too, is there any solution for this?

Log in or register to post comments