Versions used on cable modem network: Difference between revisions

From D3xt3r01.tk
Jump to navigationJump to search
No edit summary
No edit summary
Line 8: Line 8:
   .1.3.6.1.2.1.1.1.0 ( sysDescr.0 )
   .1.3.6.1.2.1.1.1.0 ( sysDescr.0 )


I'll use [[http://s-tech.elsat.net.pl/braa/ BRAA]] to get the info fast from all the network using this script.
I'll use [http://s-tech.elsat.net.pl/braa/ BRAA] to get the info fast from all the network using this script.


Note: I have modems on 10.0.0.0/21, 10.10.0.0/21, 10.200.0.0/21, 10.210.0.0/21 so feel free to modify to suit your needs !
Note: I have modems on 10.0.0.0/21, 10.10.0.0/21, 10.200.0.0/21, 10.210.0.0/21 so feel free to modify to suit your needs !

Revision as of 17:10, 30 June 2009

WHY

I need to upgrade the software version used on most of the modems so I first need to know what's out there. Here's what I did to find out

HOW

I'll get the version via snmp from the modems using this OID which should be available on most modems:

 .1.3.6.1.2.1.1.1.0 ( sysDescr.0 )

I'll use BRAA to get the info fast from all the network using this script.

Note: I have modems on 10.0.0.0/21, 10.10.0.0/21, 10.200.0.0/21, 10.210.0.0/21 so feel free to modify to suit your needs !

#!/bin/bash

for i in {0,10,200,210} ; do
        for j in `seq 0 9`; do
                echo "Doing 10.$i.$j.0-255 now"
                braa -d 50 public@10.$i.$j.0-10.$i.$j.255:161:.1.3.6.1.2.1.1.1.0
        done
done

After running the script redirecting the output to a file .. I run this script to identify the versions and model name