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

Accessing the Management Information Base

Accessing the ManagementInformation Base

The router’s management information base (MIB) is the repository of all variables gathered and used by the router, as well as accessible to the router’s console and to other devices in the network using SNMP. The MIB is in the form of hierarchical structure composed of managed objects and underlying variables. This structure can be represented as an inverted tree, such as the one shown below for the ‘‘buffers’’ information base structure.

High-Level man-

aged object

buf

[1]

Intermediate-Level managed objects

msg

pkt

init

free

min

miss

size

init

free

min

miss

size

Figure 7-4."buf" Information Base Structure

MIB variables

Slot Numbers

Slot numbers are intermediate-level managed objects that appear in the MIB structure of some objects, such as the ‘‘[1]’’ in the ‘‘buf’’ structure shown above. For HP Series 200 and 400 routers, the slot number is always ‘‘1’’. For HP Series 600 routers, such as the HP Router 650, the

NCL Commands 7

7-13