getroute(1Msnmp)


getroute -- extract routing information from SNMP entity

Synopsis

getroute [-T timeout] entity_addr community_string

Description

The getroute command is an SNMP application that retrieves routing information from an entity by traversing the ipRouteDest, ipRouteIfIndex, ipRouteMetric1, ipRouteNextHop, ipRouteType, and ipRouteProto object classes for each route found.

The arguments are the entity's address and the community string for access to the SNMP entity.

The entity address can be either an IP address or entity name (if name-to-address resolution is enabled).

The community string used must be valid on the given entity. On UnixWare, community strings are kept in /etc/netmgt/snmpd.comm.

Options

The -T option can be used to specify the number of seconds the command will wait for a response from the entity specified by entity_addr. If not specified, this defaults to 20 seconds.

References

getmany(1Msnmp), getnext(1Msnmp), getone(1Msnmp), snmp(1Msnmp), snmpstat(1Msnmp)

RFC 1155, RFC 1157, RFC 1213


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004