HP (Hewlett-Packard) 600 Network Router User Manual


 
Rgetms: Displaying the Values of a MIB
Variable Class
Use NCL’s Rgetms command to display the values of the variables in
a branch of the standard Internet MIB, for either a local or remote
network node. You can also use Rgetms to display the values of
Internet standard MIB variables on this (local) router. Rgetms
defaults the standard Internet MIB portion of the complete pathname,
“iso.org.dod.internet.mgmt.mib” or “1.3.6.1.2.1”.
Syntax
rgetms identifier [X.X.X.X] [community]
identifier is the object identification path identifying a
branch of Internet MIB variables 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 local or remote
node in dotted decimal notation. If you omit this field, an IP
address on the local router will 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
rgetms 7
Displays the values of the Internet MIB User Datagram Protocol
(UDP) branch on this router:
1.3.6.1.2.1.7.1.0 = (number of UDP datagrams
delivered to UDP users)
1.3.6.1.2.1.7.2.0 = (number of received UDP data-
grams for which there was no
application at the destination port)
1.3.6.1.2.1.7.3.0 = (number of undeliverable UDP
datagrams)
1.3.6.1.2.1.7.4.0 = (number of transmitted UDP
datagrams)
NCL
Commands
16
Using the Network Control Language
Accessing the Internet Management Information Base
16-43