SNMPROUTE(1) — NEWS-OS Programmer’s Manual
NAME
snmproute − SNMP application to query for routing information
SYNOPSIS
snmproute [ options ] agent [ netaddress ]
DESCRIPTION
snmproute is an application that queries an SNMP agent for routing information and displays it. Agent is either an Internet Address (ie, 192.33.4.10) or hostname that represents the SNMP agent to query. Netaddress is the network address that represents the route to be displayed. If this optional argument is not specified, then every route known by the SNMP agent will be displayed. The routing information is displayed in columns, where the columns represent destination, next hop, metric, type, and routing protocol respectively.
OPTIONS
−c community
The community to use when querying the agent. If not specified, the default community name is used (which is configured at compile time).
−t timeout-in-seconds
The amount of time use to timeout requests without responses. If not specified, the default timeout value is used (which is configured at compile time).
MIB OBJECTS
_mgmt_mib_ip_ipRoutingTable_ipRoute_ipRouteNextHop
This object provides the information regarding the agent from which the queried agent learned the routing information about netaddress.
_mgmt_mib_ip_ipRoutingTable_ipRoute_ipRouteMetric1
This object provides the information regarding the value of the routing metric on the queried agent.
_mgmt_mib_ip_ipRoutingTable_ipRoute_ipRouteType
This object provides the information regarding the type of the route netaddress is.
_mgmt_mib_ip_ipRoutingTable_ipRoute_ipRouteProto
This object provides information regarding how the routing information for network address netaddress was learned.
FILES
/etc/snmp.variablesthe variable initfile
SEE ALSO
J.D. Case, J.R. Davin, M.S. Fedor, M.L. Schoffstall, Simple Network Management Protocol, Request for Comments 1157, Network Information Center, SRI International, Menlo Park, California, May, 1990. M.T. Rose, K. McCloghrie, Structure of Management Information, Request for Comments 1155, Network Information Center, SRI International, Menlo Park, California, May, 1990. K. McCloghrie, M.T. Rose, Management Information Base, Request for Comments 1156, Network Information Center, SRI International, Menlo Park, California, May, 1990. M.T. Rose, Editor Management Information Base: MIB-II, Request for Comments 1158, Network Information Center, SRI International, Menlo Park, California, May, 1990.
NEWS-OSRelease 4.1C