The following paragraphs describe how to use the List command to step
through branches of the MIB, using the “buf” information base as an
example (see figure 16-2 above).
To begin with “buf” after displaying the objects shown in figure 16-3, you
would enter at the NCL prompt:
list buf
or
list 11 Note in figure 16- 3 that 11is the object identification code
for buffers. It can be substituted for the name ‘‘buf’’.
In response, the console displays formatted data like the following:
[1] map=0002code=1
(There is only a single branch descending from “buf”).
To see branches descending from “[1]”, you would enter:
list buf[1]
or
list 11.1 (from the code shown in the last response)
In response, the console displays formatted data like the following:
msg map=0002code=0
pkt map=0002code= 1
To see branches descending from “pkt”, you would enter:
list buf[1].pkt
or
list 11.1.1
In response, the console displays formatted data like the following:
init map=0004code=1
free map=0004code=2
min map=0004code=3
miss map=0004code=4
size map=0004code=5
corrupted map=0004code=6
NCL
Commands
16
Using the Network Control Language
Accessing the Management Information Base
16-37