ipForwarding
,
icmpInEchoes
and
tcpMaxConn
? Give solutions using each of the
get
and
get-next
commands. Use a command syntax
of your choice, although the CMU SNMPlib syntax given in the lecture notes would be the most
appropriate. Be sure to distinguish where instance
values are used.
ifTable
) in the interfaces portion of the
standard MIB, edited to fit the page. The table consists of a
sequence of ifEntry
elements. Values shown are
from the router r-bgowan
at Bendigo, which is
nowadays used as a backup (over ISDN) to the microwave link to
Bundoora.
ifSpeed
entries. You might find it
helpful to refer to your lecture
notes for some useful information here.
get request
" to discover
the speed, in bps, of interface 1.
get-next ...ifSpeed.2
"?
powerful
get-next
"? In other words, what problem does the
get-next
operation solve very elegantly?
How is it used?
{system sysDescr}
". Of course, in the
"Real World™", we would normally have to be more careful to
ensure that the software we were using was able to unambiguously
fetch the variable we desired. How should SNMP software resolve
such abbreviations, especially with numeric OBJECT IDENTIFIER
strings? Hint: think of how Fully Qualified Domain Names (FQDNs)
are specified, compared to abbreviated versions.
OBJECT IDENTIFIERS
are encoded for
transmission. In general, the integers which specify the
OBJECT IDENTIFIER
are simply encoded in BER as a
SEQUENCE
of single byte values. However, the first two
integers (let's call them a and b) are encoded in
a compact form, taking only a single byte, of the form 40a
+ b. So, for the Internet, the first two integers are 1.3,
therefore they are encoded as the single byte value 43. Can you
imagine a reason why this is done? What does it say about the
values of these first two integers?
tcpdump
format) snarfed from the staff subnet
at Bendigo. It contains an SNMP
get-response
, although the full IP and
UDP headers (28 bytes total) are still present -- simply ignore
them in your analysis. Can you discover what it means?
4500 004a 2823 0000 fe11 400f 9590 14aa 9590 153c 00a1 5a9a 0036 5c6d 302c 0201 0004 0670 7562 6c69 63a2 1f02 045e 520c cd02 0100 0201 0030 1130 0f06 082b 0601 0201 0406 0041 0302 f80c