Rget: Displaying the Value of a Foreign
Variable
Use NCL’s Rget command to display the value of an individual variable
from a foreign enterprise-specific section of the MIB of a remote node.
Syntax
rget identifier [X.X.X.X] [community]
identifier is the complete object identification path
identifying a specific MIB variable.
[X.X.X.X] (optional) is the IP address of the remote foreign
node in dotted decimal notation. If you omit this field, an IP
address on the local router would be used.
[community] (optional) is the name of the SNMP community
that grants access to that node. If you omit the name, “public” is
used. If you include a name, the IP address must also be included.
Example
rget 1.3.6.1.4.1.N.n.n.n 15.8.2.2
Displays the value of the enterprise-specific MIB variable from
the foreign node 15.8.2.2.
1.3.6.1.4.1 is the path to the private enterprise MIB
branch.
N is the corporate identifier provided by the Internet
Assigned Number authority.
n.n.n is the object identification path assigned by the
equipment manufacturer.
Using the Network Control Language
Accessing a Foreign Management Information Base
16-52