Cable Modem Counters |

You are here

Cable Modem Counters

8 posts / 0 new
Last post
Cable Modem Counters

Does anyone know the SNMP OID to access these numbers from a Cisco CMTS

#show cable modem counters
MAC Address US Packets US Bytes DS Packets DS Bytes
000c.e58a.d83e 56649788 6762705188 161915106 230561080519
000c.e594.1db4 52766485 8708786657 160849508 230815496173
386b.bbe0.2c04 56481632 5317743030 98884065 139739448330
0012.2505.44f0 15856273 1727261284 35720011 50489071890
000e.5c00.8baa 18992822 1923657610 49584472 70903621706

Currently we poll the modems for ds/us byte counts but docsis 3 now requires multiple interfaces or service flows, and the CMTS seems to consolidate these numbers for accounting so there has to be some way for us to poll the cmts every 5 minutes using the mac address to get these counters..

Or a linux script to telnet

Or a linux script to SSH to the CMTS and dump the entries to an array for mrtg processing :)

Getting closer, using RANCID

Getting closer, using RANCID with Clogin to process the command in a bash script.. now I need to parse it and pump it to rrd :) anyone???



IPDR is a solution for you. It is basicaly what you need and it is meant to do what you're doing.

If you only need to parse this into rrd it's pretty straightforward:
You need to create rrd with 4 DS. They must be counters.
and you just do rrdtool update .rrd N:DS1:DS2:DS3:DS4

You can do this with bash script or prefferably python/perl/php


I don't have an IPDR receptor

I don't have an IPDR receptor and it doesn't look as if there are many open source resources for it anymore. How are you grabbing the data or receiving it, and how do you know the timeframes.

Johnson Shia
it might be helpful for you

(access cable modem from provision server)
C:\>snmpwalk -v 2c -c public cmts_IP .
SNMPv2-SMI::enterprises. = Counter64: 1127827
SNMPv2-SMI::enterprises. = Counter64: 962352
SNMPv2-SMI::enterprises. = Counter64: 484045
SNMPv2-SMI::enterprises. = Counter64: 56588048

C:\>snmpwalk -v 2c -c public cmts_IP .
SNMPv2-SMI::enterprises. = Counter64: 7927
SNMPv2-SMI::enterprises. = Counter64: 6160
SNMPv2-SMI::enterprises. = Counter64: 2939
SNMPv2-SMI::enterprises. = Counter64: 48325

(Real cable modem online status)
CTI-10K#show cable modem
MAC Address IP Address I/F MAC Prim RxPwr Timing Num I
State Sid (dBmv) Offset CPE P
xxxx.xx60.1116 C6/1/0/UB w-online 1 -3.00 2092 1 N
xxxx.xx0a.0201 C6/1/0/UB w-online 3 -2.50 2093 2 N
xxxx.xx11.1111 C8/1/0/UB w-online 1 0.00 1313 1 N
xxxx.xx59.4895 C8/1/0/U0 online 15 0.50 1122 2 N

(Retrieved from Cisco CMTS running-config)
snmp-server community public RO

(Retrieved from Cisco CMTS cli command and searched Cisco related MIB and got the mapping OID content)
show cable modem mac-address counters : DS Bytes: cdxIfCmtsServiceHCOutOctets
show cable modem mac-address counters : DS Packets: cdxIfCmtsServiceHCOutPackets

Thanks for those OID's

Thanks for those OID's Johnson, where did you find the match to the show cable modem mac-address counters, are there ones for US Bytes and US Packets? I searched everywhere for those.

FYI for future reference