-- $Log: usr_remote_ping.mib,v $ -- Revision 1.8.10.1 1997/09/05 15:09:36 psd -- Changes to MIBs so that they compile using the SimpleTester. -- --Revision 1.8 1997/05/02 20:35:39 rsivan --Fixed typo in description of usrRemotePingCFMStatusFlag -- -- Revision 1.7 1997/03/25 15:10:47 rsivan -- Removed tbd mark around ttl. -- -- Revision 1.6 1997/03/24 21:14:45 rsivan -- Added support for configuration save. -- Fixed some descriptions and some missnomers. -- -- Revision 1.5 1997/03/21 16:53:56 rsivan -- modified to SMIv2, deleted ifIndex, changed min interval, added DNSDelay, added lastTripDelay -- -- Revision 1.4 1997/03/13 23:55:04 rsivan -- Self destroy time default changed to 60 minutes. -- MaxRows made read-write. -- -- Revision 1.3 1997/03/13 18:01:36 rsivan -- Removed temp. tree root, this one is linked to USR root. -- -- Revision 1.2 1997/03/12 19:45:50 rsivan -- Misc. -- -- -- usr_traceroute.mib - A proprietary Traceroute MIB -- -- -- Author: Jeff Haag -- Created: Mar-13-1997 -- -- $Id: usr_traceroute.mib,v 1.5.2.1 1997/09/05 15:09:39 psd Exp $ -- -- -- | Copyright (c) 1997 U.S. Robotics Access Corp., Skokie, IL 60076 | -- | | -- | The information in this software is subject to change without notice | -- | and should not be construed as a commitment by U.S. Robotics Access | -- | Corp. | -- | | -- | U.S. Robotics Access Corp. assumes no responsibility for the use or | -- | reliability of its software on equipment which is not supplied by | -- | U.S. Robotics Access Corp. | -- | | -- | This software is furnished under a license and may be copied only | -- | with the inclusion of the above copyright notice. This software, or | -- | any other copies thereof, may not be provided or otherwise made | -- | available to any other person except to one who agrees to these | -- | license terms. Title to and ownership of the software shall at all | -- | times remain in U.S. Robotics Access Corp. | -- -- -- -- The traceroute MIB is a diagnostic tool intended to retrieve route -- information between a managed USR NAS and any IP system (PC, Unix, -- another NAS etc). It only requires the routers along the way to the -- the destination to implement IP routing and ICMP Time Exceeded messages. -- The destination must implement UDP and return ICMP error message -- destination unreachable. -- The functionality is similar to the Unix command 'traceroute' based -- on those same protocols. -- -- In order to determine the route to a host, the SNMP client application -- should do the following: -- -- -- *********To start the traceroute********* -- -- 1. Create a new entry in the Traceroute table by performing a command -- such as 'SNMP SET usrTracerouteRowStatus.x = createAndWait. -- -- 2. If the above succeeds, set values of the various settable objects in -- the new row. In particular, make sure to set -- usrTracerouteDestination.x to the name or address whose route is to -- be traced. -- -- 3. After setting the various objects of row x to desired values, -- modify usrTracerouteRowStatus.x to 'active'. -- -- OR -- -- 1. set values of the various settable objects in a new row. -- In particular, make sure to set usrTracerouteDestination.x to the -- name or address whose route is to be traced. -- -- 2. Create and activate new entry in the Traceroute table by performing a command -- such as 'SNMP SET usrTracerouteRowStatus.x = createAndGo. -- -- 3. The row status will automatically get set to active after row creation -- and the command will begin -- -- *********After starting the traceroute********* -- -- 4. If the above succeeds, clients will now typically monitor the values of -- 'usrTracerouteState.x' in order to find out if the process is -- 'completed' or an error has occurred -- -- 5. Once 'usrTracerouteState.x' returns the value 'completed', -- clients can view the route information in the usrTracerouteHopTable -- by looking at rows that have a matching usrTraceRouteIndex -- -- 6. A particular traceroute is completed when -- 'usrTracerouteState.x' returns 'completed'. At this point, -- all the values of row x will be steady and no more entries for this -- traceroute will be added to the hop table. -- -- 7. In order to start a new sequence using the configuration values -- already available in an existing row, set 'usrTracerouteRowStatus' -- first to 'notInService' and then again to 'active'." This will -- automatically clean up any previous corresponding entries in the -- traceroute hop table -- -- ****************** -- additional notes -- ****************** -- a) A row will be removed from the table after 60 minutes if there has been -- no activity -- b) A row may be deleted/destroyed at any time, even if the row status is -- 'active' -- USR-TRACEROUTE-MIB DEFINITIONS ::= BEGIN IMPORTS RowStatus FROM SNMPv2-TC OBJECT-TYPE FROM RFC-1212 IpAddress FROM RFC1155-SMI usrTraceroute, DisplayString, UsrConfigStatus FROM USR-DEFINITIONS-MIB; -- -- Traceroute managed objects -- usrTracerouteBase OBJECT IDENTIFIER ::= { usrTraceroute 1 } -- -- Base Objects -- usrTracerouteIndexNext OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "This object contains an appropriate value that can be used for 'usrTracerouteIndex' when creating a new row in the Traceroute Table'. If the value 0 is returned, it indicates that the table contains the maximum number of rows and thus it is not possible to add another one." ::= { usrTracerouteBase 1 } usrTracerouteIndexNRows OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Number of rows currently present in the Traceroute table." ::= { usrTracerouteBase 2 } usrTracerouteMaxRows OBJECT-TYPE SYNTAX INTEGER (1..255) ACCESS read-write STATUS mandatory DESCRIPTION "Maximum number of rows allowed in the Traceroute table. Note that setting this object to a number which is smaller than the current number of rows will NOT cause any row deletions - rather, the effect of such an action will be noted in future attempts at row creation." DEFVAL { 20 } --CONFIGURABLE ::= { usrTracerouteBase 3 } usrTracerouteConfigFileName OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "The name of a ConfigFile to read/write permanent database records. If the value of this object is an empty string, then the Traceroute process uses the default name `@file://TracerouteProcess.cfg'." ::= { usrTracerouteBase 4 } usrTracerouteCFMStatusFlag OBJECT-TYPE SYNTAX UsrConfigStatus ACCESS read-write STATUS mandatory DESCRIPTION "Setting the value of this object to `save' causes the values of the Remote Ping Group to be written out to the current config file, which is stored in the usrTracerouteConfigFileName object. While the new ConfigFile is being written, the Remote Ping process will set the value of this flag set to `saving''. Any attempts to set the value while it is not `normal' (i.e. the file is currently being written to the ConfigFile) while result in a badValue error being returned. Setting the value to `normal' will result in no action." ::= { usrTracerouteBase 5 } usrTracerouteTable OBJECT-TYPE SYNTAX SEQUENCE OF UsrTracerouteEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A table of traceroute entries." ::= { usrTraceroute 2 } usrTracerouteEntry OBJECT-TYPE SYNTAX UsrTracerouteEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A list of fields defining this traceroute" INDEX { usrTracerouteIndex } ::= { usrTracerouteTable 1 } UsrTracerouteEntry ::= SEQUENCE { usrTracerouteIndex INTEGER, usrTracerouteDestination DisplayString (SIZE (1..255)), usrTracerouteResolvedIPAddress IpAddress, usrTracerouteHopTimeout INTEGER(1..60), usrTracerouteHopProbes INTEGER(1..10), usrTracerouteMaxHops INTEGER(1..255), usrTracerouteUDPPort INTEGER(1..65000), usrTracerouteDataSize INTEGER(1..8184), usrTracerouteHopCount INTEGER, usrTracerouteState INTEGER, usrTracerouteRowStatus RowStatus } usrTracerouteIndex OBJECT-TYPE SYNTAX INTEGER ACCESS not-accessible STATUS mandatory DESCRIPTION "A unique index identifying this entry in the table." ::= { usrTracerouteEntry 1 } usrTracerouteDestination OBJECT-TYPE SYNTAX DisplayString (SIZE (1..255)) ACCESS read-write STATUS mandatory DESCRIPTION "The host name or IP address (in dot notation) of the target destination being traced by this row. A row cannot be activated unless this object has a length greater than zero. Router DNS services will always be used to resolve (names) and/or verify addresses in dot notation. If DNS fails, the object usrTracerouteRowState will indicate 'dnsFailed' or 'badAddress'. This object cannot be modified whenever usrTracerouteRowStatus is 'active'." DEFVAL { "" } ::= { usrTracerouteEntry 2 } usrTracerouteResolvedIPAddress OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS mandatory DESCRIPTION "The IP address resolved from the destination address string. If an IP address was set in the destination field it will be reflected here as well. If an address cannot be resolved, this object returns zero and the state field is set to dnsFail" ::= { usrTracerouteEntry 3 } usrTracerouteHopTimeout OBJECT-TYPE SYNTAX INTEGER(1..60) ACCESS read-write STATUS mandatory DESCRIPTION "Amount of time in seconds before retrying a hop. This object cannot be modified whenever usrTracerouteRowStatus is 'active'." DEFVAL { 3 } ::= { usrTracerouteEntry 4 } usrTracerouteHopProbes OBJECT-TYPE SYNTAX INTEGER(1..10) ACCESS read-write STATUS mandatory DESCRIPTION "The maixmum number of times to try to discern a hop before moving on to the next hop" DEFVAL { 3 } ::= { usrTracerouteEntry 5 } usrTracerouteMaxHops OBJECT-TYPE SYNTAX INTEGER(1..255) ACCESS read-write STATUS mandatory DESCRIPTION "The maixmum number of hops to trace before quitting." DEFVAL { 30 } ::= { usrTracerouteEntry 6 } usrTracerouteUDPPort OBJECT-TYPE SYNTAX INTEGER(1..65000) ACCESS read-write STATUS mandatory DESCRIPTION "The UDP port value to use when attempting to find the route" DEFVAL { 33434 } ::= { usrTracerouteEntry 7 } usrTracerouteDataSize OBJECT-TYPE SYNTAX INTEGER(1..8184) ACCESS read-write STATUS mandatory DESCRIPTION "The maixmum number of hops to trace before quitting." DEFVAL { 1 } ::= { usrTracerouteEntry 8 } usrTracerouteHopCount OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The number of hops taken to get to the destination." ::= { usrTracerouteEntry 9 } usrTracerouteState OBJECT-TYPE SYNTAX INTEGER { notActive(1), -- this row is not active. waitingDns(2), -- waiting for DNS resolution. dnsFailed(3), -- destination address could not be resolved. badAddress(4), -- the resolved IP address is illegal. hopsExceeded(5), -- the maximum number of hops was exceeded destUnreachable(6), -- a route to the host could not be found tracing(7), -- performing traceroute completed(8), -- traceroute completed successfully resourceFailure(9) -- there was not enough resources to complete the command } ACCESS read-only STATUS mandatory DESCRIPTION "The state of the 'traceroute' process associated with this row. Before this row is activated, this object will have the value 'notActive(1)'. Upon activation, if DNS resolution is needed, the object will receive the value 'waitingDns(2)'. If DNS times out or otherwise fails, this object will receive the value 'dnsFailed(3)'. If the resolved IP address is not legal, this object value will be 'badAddress(4)'. If the a timeout occurs or the hop count is exceeded, the value will be 'hopTimeout(6)' or 'hopsExceeded(7)'. If a route to the host could not be found, a 'destUnreachable(8)' value will be returned. If none of the above fails, the first traceroute command will be sent and this object will indicate the value 'tracing(9)'. After the completes this object will receive the value completed(10)'." ::= { usrTracerouteEntry 10 } usrTracerouteRowStatus OBJECT-TYPE SYNTAX RowStatus ACCESS read-write STATUS mandatory DESCRIPTION "This object is used to create, modify or delete a row in this table. Setting this object to 'createAndWait' creates the row with default values. Right after creation the value of this object will be 'notReady'. When all parameters are given proper values, this object will return the value 'notInService', at which point the client can set the object to 'active' to activate the row. Modifying this object from 'active' to 'notInService' will cancel any on-going traceroute and remove entries for it from the usrTracerouteHopTable. Setting the object to 'active' again will start a new traceroute with the supplied parameters Setting this object to 'destroy' will stop any on-going activity and delete the row." DEFVAL { createAndWait } ::= { usrTracerouteEntry 11 } usrTracerouteHopTable OBJECT-TYPE SYNTAX SEQUENCE OF UsrTracerouteHopEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A table of traceroute hop entries." ::= { usrTraceroute 3 } usrTracerouteHopEntry OBJECT-TYPE SYNTAX UsrTracerouteHopEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A list of fields containing the hop information for all traceroute instances" INDEX { usrTracerouteTableIndex, usrTracerouteHopIndex } ::= { usrTracerouteHopTable 1 } UsrTracerouteHopEntry ::= SEQUENCE { usrTracerouteTableIndex INTEGER, usrTracerouteHopIndex INTEGER, usrTracerouteHopIPAddress IpAddress, usrTracerouteHopRoundTripTime INTEGER } usrTracerouteTableIndex OBJECT-TYPE SYNTAX INTEGER ACCESS not-accessible STATUS mandatory DESCRIPTION "The index into the usrTracerouteTable corresponding to this hop." ::= { usrTracerouteHopEntry 1 } usrTracerouteHopIndex OBJECT-TYPE SYNTAX INTEGER ACCESS not-accessible STATUS mandatory DESCRIPTION "The hop number corresponding to the usrTracerouteHopIPAddress in this row." ::= { usrTracerouteHopEntry 2 } usrTracerouteHopIPAddress OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS mandatory DESCRIPTION "The IP address for a hop. An address of zero means that there was no response from that hop." ::= { usrTracerouteHopEntry 3 } usrTracerouteHopRoundTripTime OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Round trip time for this hop in milliseconds." ::= { usrTracerouteHopEntry 4 } END