I've just got SNMP working on my Thomson SpeedTouch 510 ADSL router, so I can better
monitor my bandwidth in order to decide whether to move from a 512 unlimited account
to a Max DSL 20GB capped one.
For the benefit of future googlers, here are some solutions to issues
I ran into:
1) I'm running the latest 4.3.2.6.0 firmware - I upgrading in the hope
that it might support multicast, but I haven't had any success with
it.
2) The username you log in as with this firmware is "Administrator".
3) You need to turn on the SNMP client
telnet to the router,
then service => system => list
....
13 SNMP_AGENT udp 161 disabled
....
enable it
| {Administrator}[service system]=>modify
| name = SNMP_AGENT
| [state] = enabled
| [log] =
6) Set community names - RO = public and RW = private:
snmp => community
{Administrator}[snmp community]=>modify
securityname = ROCommunity
communityname = public
Please retype communityname for verification.
communityname = public
:snmp community modify securityname=ROCommunity communityname=_DEV_435BF38718FA44D1
{Administrator}[snmp community]=>modify
securityname = RWCommunity
communityname = private
Please retype communityname for verification.
communityname = private
:snmp community modify securityname=RWCommunity communityname=_DEV_8F162D13A059CB2D
Then save the config
{Administrator}=>config
{Administrator}[config]=>save
filename = user
:config save filename=user
5) I have the router configured not to do NAT - I need to address the
router with its internal address - if I use the external address it
replies with the internal one:
# tcpdump -n -vv -i eth1 udp port 161
tcpdump: listening on eth1, link-type EN10MB (Ethernet), capture size 68 bytes
15:13:01.523592 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], length: 68)
82.68.155.89.50567 > 82.68.155.94.161: { SNMPv1 { GetNextRequest(11) R=132504297 [|snmp] } }
15:13:01.525542 IP (tos 0x0, ttl 64, id 4219, offset 0, flags [none], length: 85)
192.168.1.254.161 > 82.68.155.89.50567: { SNMPv1 { GetResponse(11) R=132504297 [|snmp] } }
$ snmpwalk -v1 -c public 192.168.1.254 .1.3.6.1.2.1
SNMPv2-MIB::sysDescr.0 = STRING: SpeedTouch 510
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.637.61.2
SNMPv2-MIB::sysUpTime.0 = Timeticks: (265319) 0:44:13.19
SNMPv2-MIB::sysContact.0 = STRING: Service Provider
SNMPv2-MIB::sysName.0 = STRING: router
SNMPv2-MIB::sysLocation.0 = STRING: Customer Premises
SNMPv2-MIB::sysServices.0 = INTEGER: 72
--
Alan J. Wylie
http://www.wylie.me.uk/
"Perfection [in design] is achieved not when there is nothing left to add,
but rather when there is nothing left to take away."
-- Antoine de Saint-Exupery