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

Accessing a Foreign Management Information BaseAccessing a Foreign Management

Information Base

Use these two commands in conjunction with the SNMP agent and the IP routing application to provide access to the enterprise-specific section of the MIB of any remote node—other than an HP or Wellfleet router—that provides a standard SNMP/MIB implementation. You must use a complete MIB pathname with these commands.

For More Information This section lists the remote MIB commands together with their syntax and functions. For a more detailed description of these commands, refer to the HP Router Operator’s Reference.

Command Syntax The following example of the Rget command demonstrates the conventions used in this table:

rget identifier [x.x.x.x] [community]

where:

rgetw is the command name

identifier is a required value that you provide

[x.x.x.x] and [community] are optional values that you provide

Command

Function

rget identifier [x.x.x.x] [community]

Display the value of an individual MIB

 

variable from a remote foreign node.

Rgetm identifier [x.x.x.x] [community]

Display the value of a branch of MIB

 

variables from a remote foreign node.

These commands display their output on the console screen. To output the display to a printer or file instead of the console screen, place the command syntax within the Print command. For detailed information on the Print command, refer to the Operator’s Reference.

7-24