Cable Modem Counters | docsis.org

You are here

Cable Modem Counters

11 posts / 0 new
Last post
windwaterwaves
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..

windwaterwaves
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 :)

windwaterwaves
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???

bajojoba
IPDR

Hi,

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

BR,
Bajo

windwaterwaves
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 (not verified)
just research...

C:\>snmpwalk -v 2c -c public cmts_IP .1.3.6.1.4.1.9.9.116.1.1.3.1.7
SNMPv2-SMI::enterprises.9.9.116.1.1.3.1.7.1046.1 = Counter64: 1127827
SNMPv2-SMI::enterprises.9.9.116.1.1.3.1.7.1046.3 = Counter64: 962352
SNMPv2-SMI::enterprises.9.9.116.1.1.3.1.7.1106.1 = Counter64: 484045
SNMPv2-SMI::enterprises.9.9.116.1.1.3.1.7.1106.15 = Counter64: 56588048

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

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

snmp-server community public RO

show cable modem mac-address counters : DS Bytes: cdxIfCmtsServiceHCOutOctets 1.3.6.1.4.1.9.9.116.1.1.3.1.7
show cable modem mac-address counters : DS Packets: cdxIfCmtsServiceHCOutPackets 1.3.6.1.4.1.9.9.116.1.1.3.1.8

Johnson Shia
it might be helpful for you

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

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

(Real cable modem online status)
CTI-10K#show cable modem
D
MAC Address IP Address I/F MAC Prim RxPwr Timing Num I
State Sid (dBmv) Offset CPE P
xxxx.xx60.1116 192.168.20.113 C6/1/0/UB w-online 1 -3.00 2092 1 N
xxxx.xx0a.0201 192.168.20.65 C6/1/0/UB w-online 3 -2.50 2093 2 N
xxxx.xx11.1111 192.168.20.2 C8/1/0/UB w-online 1 0.00 1313 1 N
xxxx.xx59.4895 192.168.20.100 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 1.3.6.1.4.1.9.9.116.1.1.3.1.7
show cable modem mac-address counters : DS Packets: cdxIfCmtsServiceHCOutPackets 1.3.6.1.4.1.9.9.116.1.1.3.1.8

windwaterwaves
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.

windwaterwaves
FYI for future reference
Jhon (not verified)
CPE info

hi! any way to see CPE firmware version from CMTS?
Thanks!!!

jyjaire
CPE info

i use in DHCP server over linux vendoroptions:
option space vendorOptions;
option vendorOptions.deviceType code 2 = string;
option vendorOptions.serialNumber code 4 = string;
option vendorOptions.hardwareVersion code 5 = string;
option vendorOptions.softwareVersion code 6 = string;
option vendorOptions.bootRomVersion code 7 = string;
option vendorOptions.oui code 8 = string;
option vendorOptions.modelNumber code 9 = string;
option vendorOptions.docsisVendor code 10 = string;
option vendorOptions-pkt code 43 = encapsulate vendorOptions;

set fw = option vendorOptions.softwareVersion;

Log in or register to post comments