How To Use the Network Control Language (NCL) Commands To Manage a Router

Accessing the Management Information Base

The levels within a MIB branch that lead to a single variable form a pathname that is used by the following three commands to access the variable:

CommandFunction

Get

Display on the console the value of a MIB variable (page 7-20).

List

Display on the console a variable or part of the MIB structure

 

[page 7-17).

Reset

Reset the value of a MIB variable (to 0) (page 7-21).

 

Example of a Pathname to a Mib Variable

 

The “buf” variables shown on page 7-13 describe the router’s use of

 

global memory buffers. Of the four levels in this branch, the highest level

 

specifies the managed object, “buf”. The next lower level has only one

 

branch for this router, “[1]” (which, in this case, happens to be the slot

 

number). The next lower level distinguishes two buffer types, “msg” or

 

“pkt”. Multiple branches descend from each one of those buffer types

 

for the specific variables.

 

The names of the objects at each level make up a pathname for the

 

variable. For example, the pathname for the message buffer size variable

 

shown in figure 7-4 is

 

buf.1.msg.size

 

 

N o t e

For a listing and description of all variables contained in the enterprise-

 

specific MIB on your router, refer to the Operator’s Reference.

 

The highest-level objects, such as ‘‘buf’’, in the “Managed Objects Table”

 

on page 7-14 are the first names in the pathnames used in NCL

 

commands. They are also branches (groups) within the Wellfleet private

 

enterprise branch of the standard MIB, accessible from outside the

 

router using SNMP functions.

 

The number of levels and intermediate branches is different for different

 

branches.

7-16

Page 109
Image 109
HP 445 manual Example of a Pathname to a Mib Variable, Buf.1.msg.size