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

Accessing the Management Information Base

How To Use the Reset Command

Use NCL’s Reset command to set the value of one or more MIB variables to zero. You can obtain the pathname by using the List command (page 7-17).

Syntax

reset MIB identifier reset 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 ‘‘Managed Objects Table’’ on page 7-14.)

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

Examples

reset buf.*

Either command resets all MIB variable

reset 11.*

values for buffers

reset buf.1.msg.*

Either command resets the message

reset 11.1.0.*

variables under buffers

reset buf.1.msg.min

Either command resets the value for

reset 11.1.0.3

message minimum value under buffers

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

NCL Commands 7

7-21