HP (Hewlett-Packard) 200 Network Router User Manual


 
Rgets: Displaying the Value of an Internet MIB
Variable
Use NCL’s Rgets command to display the value of an individual Internet
MIB variable for a remote network node (not this router). You can also
use Rgets to display the value of an individual Internet standard MIB
variable on this (local) router. Rgets defaults the standard Internet MIB
portion of the complete pathname, “iso.org.dod.internet.mgmt.mib” or
“1.3.6.1.2.1”.
Syntax
rgets identifier [X.X.X.X] [community]
identifier is the object identification path identifying a
specific Internet MIB variable as defined in RFC 1156. Do not
include the path to the Internet MIB, 1.3.6.1.2.1, since it is
assumed.
[X.X.X.X] (optional) is the IP address of the remote target
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.
Examples
rgets 6.4.0 192.32.1.94
Displays the value of the Internet MIB variable 1.3.6.1.2.1.6.4.0
(maximum number of TCP connections) from the node whose IP
address is 192.32.1.94:
1.3.6.1.2.1.6.4.0 = (the maximum number of TCP
connections)
rgets 7.1.0 192.32.2.194
Displays the value of the Internet MIB variable 1.3.6.1.2.1.7.1.0 (number
of UDP datagrams delivered to UDP users) from the node whose IP
address is 192.32.2.194:
1.3.6.1.2.1.7.1.0 = (the number of UDP datagrams)
NCL
Commands
16
Using the Network Control Language
Accessing the Internet Management Information Base
16-47