Rgetw: Displaying the Value of a Remote
Variable
Use NCL’s Rgetw command to display the value of an individual variable
from the enterprise-specific section of the MIB of a remote HP or
Wellfleet router.
Syntax
rgetw identifier [X.X.X.X] [community]
identifier is the object identification path identifying a
specific MIB variable. Do not include the path for the private
enterprise, 1.3.6.1.4.1.18.1.1, since it is assumed.
[X.X.X.X] (optional) is the IP address of the remote router 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.
Examples
rgetw 11.2.1.1 15.8.3.94
Displays the value of the enterprise-specific MIB variable 11.2.1.1
(the number of packet buffers allocated at router initialization)
from the HP or Wellfleet router whose IP address is 15.8.3.94:
1.3.6.1.4.1.18.1.1.11.2.1.1 = (number of allocated
packet buffers)
rgetw 2.1.1 15.8.2.194
Displays the value of the enterprise-specific MIB variable 2.1.1
(octets received without error on circuit #1) from the HP or
Wellfleet router whose IP address is 15.8.2.194:
1.3.6.1.4.1.18.1.1.2.1.1 = (octets received without
error)
Using the Network Control Language
Accessing a Remote Management Information Base
16-50