HP 445 manual How To Use the Get Command, Get MIB identifier

Models: 445

1 156
Download 156 pages 52.52 Kb
Page 113
Image 113

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

Accessing the Management Information Base

How To Use the Get Command

Use the NCL Get command to display the value of MIB variables on the router. You can obtain the pathname by using the List command (page 7-17).

Syntax

get MIB identifier

get MIB identifier [*]

where:

MIB identifier is a pathname identifying a specific MIB variable. The identifier must be a pathname from one the router’s highest-level objects, such as ‘‘buf’’. (Refer to the ‘‘Managed Objects Table’’ on page 7-14.)

*is a ‘‘wild card’’ specifying all in the branch beyond the object immediately preceding the *.

Examples

To get the value for all MIB variables in a branch, use Get with the high-level managed object name for that branch.

get buf.*

Displays all MIB variable values for

 

buffers

To get the value for all MIB variables in an intermediate branch, use Get with an intermediate-level managed object name. For example:

get

buf.msg.*

Either command displays the values for

get

11.1.0.*

the message variables under buffers

To get the value for a single MIB variable, use Get with the complete pathname to the variable. For example:

get

buf.1.msg.size

Either command displays the value for the

get

11.1.0.5

message size buffer

For more information on the Get command, refer to the Operator’s Reference.

7-20

Page 113
Image 113
HP 445 manual How To Use the Get Command, Get MIB identifier