Most people will use the counter that keeps track
of octets (bytes) transfered by a network device so we have to do just
that. We will start with a description of how to collect data.
-Some people will make a remark that there are tools who can do this data
+Some people will make a remark that there are tools that can do this data
collection for you. They are right! However, I feel it is important that
you understand they are not necessary. When you have to determine why
things went wrong you need to know how they work.
understand yet, you should be able to find out how to start the
program and use it.
- snmpget myrouter public system.sysdescr.0
+ snmpget myrouter public system.sysDescr.0
The device should answer with a description of itself, perhaps empty.
Until you got a valid answer from a device, perhaps using a different
"password", or a different device, there is no point in continuing.
- snmpget myrouter public interfaces.ifnumber.0
+ snmpget myrouter public interfaces.ifNumber.0
Hopefully you get a number as a result, the number of interfaces.
If so, you can carry on and try a different program called "snmpwalk".
- snmpwalk myrouter public interfaces.iftable.ifentry.ifdescr
+ snmpwalk myrouter public interfaces.ifTable.ifEntry.ifDescr
If it returns with a list of interfaces, you're almost there.
Here's an example: