Rgetm: Displaying the Values of a Foreign
Variable Class
Use NCL’s Rgetm command to display the values of the variables in a
branch of a foreign enterprise-specific section of the MIB of a remote
node.
Syntax
rgetm identifier [X.X.X.X] [community]
identifier is the complete object identification path
identifying a branch of foreign MIB variables.
[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
rgetm 1.3.6.1.4.1.N.n.n.n 15.8.2.2
Displays the values of the enterprise-specific MIB variable branch
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.
NCL
Commands
16
Using the Network Control Language
Accessing a Foreign Management Information Base
16-53