Response Time Reporter
The Response Time Reporter (RTR) feature enables you to monitor network performance and resources by measuring response times and the availability of your network devices.
RTR configuration is associated with a specific virtual router, distinct from any other virtual router.
Configuration Tasks
- Configure the probe typean echo probe or a path echo probe.
- (Optional) Configure probe characteristics:
- frequency
- hops-of-statistics-kept (path echo)
- max-response-failure (path echo)
- operations-per-hop (path echo)
- owner
- receive-interface
- request-data-size
- samples-of-history-kept
- tag
- timeout (echo)
- tos
NOTE: You cannot set any of these characteristics until you have set the probe type. The default values of these characteristics depend on the type of the entry.
- (Optional) Set reaction conditions.
- Schedule the probe.
- (Optional) Capture statistics and collect error information.
- (Optional) Collect history.
Configuring the Probe Type
To begin configuring RTR, enter RTR Configuration mode and configure the probe typeeither an echo probe or a path echo probe.
rtr
host1(config)#rtr 1Use the no version to delete all configuration information for an RTR probe. type
- echoLimited to end-to-end RTR operations; corresponds to SNMP ping
- pathEchoFinds a path to the destination and echoes each device in the path; corresponds to SNMP traceroute
- You must specify this value before any other.
- If you change the type for an existing RTR entry, all values are reset, including the administrative status. There is no default value.
- More than one RTR entry can become active, provided each entry's target address is unique.
- If you configure multiple RTR entries to use the same target address, you must issue the receive-interface command to specify the interface on which the RTR probe expects to receive responses. (For information, see Setting the Receiving Interface.)
- If you use a target address already configured for another RTR entry that is active, the test will not run if both entries are in the same virtual router. If they are in distinct virtual routers, however, there is no restriction.
- Example
host1(config-rtr)#type echo protocol ipIcmpEcho 10.10.0.9Use the no version to remove the type configured for the probe. Configuring Optional Characteristics
In addition to configuring the probe's type, you can configure the probe characteristics presented in Table 8.
frequency
- Use to set the rate (in seconds) that the RTR probe uses to start a response time operation.
- Example
host1(config-rtr)#frequency 90Use the no version to return to the default value, 60 seconds. operations-per-hop
- Use to set the number of RTR probe operations sent to a given hop.
- You can apply this option only to a pathEcho type.
- Example
host1(config-rtr)#operations-per-hop 5Use the no version to return to the default, 3. owner
- Use to identify the owner of the probe.
- If the SNMP agent is the owner of the probe, the owner's name can begin with agent.
- Example
host1(config-rtr)#owner 192.10.27.6 rtc.boston.com 555.1212Use the no version to return to the default, no owner. request-data-size
host1(config-rtr)#request-data-size 20Use the no version to return to the default value, 1 byte. tag
host1(config-rtr)#tag westfordUse the no version to return to the default, no tag. timeout
- Use to set the time (in milliseconds) that the probe waits for a response.
- You can apply this option only to an echo type.
- Do not set the value for timeout to more than the value set for frequency. If you do, the timeout value is ignored.
- If you set the timeout to 0, no timeout is set.
- Example
host1(config-rtr)#timeout 3000Use the no version to return to the default value, 5000 milliseconds. tos
host1(config-rtr)#tos 16Use the no version to return to the default value, 0. The default applies to both the echo and pathEcho types. Capturing Statistics
The primary objective of RTR is to collect statistics and information about network performance. You can control the number and type of statistics collected.
hops-of-statistics-kept
- Use to set the number of hops per path for which statistics are collected.
- When the number of hops reaches the specified number (that is, size), no additional statistical information about the path is stored.
- This option applies only to pathEcho entries.
- To turn off this feature, set the value to 0.
- Example
host1(config-rtr)#hops-of-statistics-kept 5Use the no version to set the default, 16 hops. max-response-failure
- Use to set the maximum number of consecutive failures to respond to a probe's request.
- When the maximum number is reached, the test stops.
- This option applies only to pathEcho entries.
- To turn off this feature, set the value to 0.
- Example
host1(config-rtr)#max-response-failure 2Use the no version to set the default, 5 consecutive failures. Collecting History
RTR can collect data samples for a given probe. These samples are referred to as history data. When RTR collects history, it refers to tests. A test is the lifetime of a probe operation.
samples-of-history-kept
- Use to set the maximum number of entries in the history table for each RTR probe.
- This command enables you to control the number of samples saved in the history table.
- If you set the number of samples to 0, no samples are kept.
- Because collecting history increases memory usage, do so only when there is a problem in your network.
- Example
host1(config-rtr)#samples-of-history-kept 5Use the no version to set the default, 16 hops for pathEcho type, 1 hop for echo type. Setting the Receiving Interface
When you configure multiple RTR entries to use the same target address, you must issue the receive-interface command to set the interface on which the probe expects to receive responses. This action enables the router to map incoming responses to the proper RTR entry, even when multiple RTR entries have the same target address.
receive-interface
- Use to specify the interface on which the RTR probe expects to receive responses.
- You must set this attribute when multiple RTR entries are configured to use the same target address.
- Example
host1(config-rtr)#receive-interface fastEthernet 3/0Use the no version to restore the default value, which is to receive a response on any interface. Setting Reaction Conditions
You can set the RTR probe to react to events that take place and to send notifications about these events.
NOTE: The only no version for all the rtr reaction-configuration commands is no rtr reaction-configuration rtrIndex. Use the no version to clear all traps. This works for all the options.
rtr reaction-configuration action-type
- Use to specify the type of actions to occur depending on the events controlled by RTR.
- The default is to take the traps of enabled events.
- Example
host1(config)#rtr reaction-configuration 1 action-type trapOnlyThere is no no version. rtr reaction-configuration operation-failure
- Use to enable the operation-failure reaction.
- The operation-failure event is triggered when a number of consecutive probe operations are not received or when they are received after a timeout.
- Example
host1(config)#rtr reaction-configuration 1 operation-failure 3There is no no version. rtr reaction-configuration path-change
- Use to enable the path-change reaction.
- The path-change event is triggered when a change is detected in the hop table. At most, there can be one such event per test.
- Example
host1(config)#rtr reaction-configuration 1 path-changeThere is no no version. rtr reaction-configuration test-completion
- Use to enable test-completion reaction.
- The test-completion event is triggered when a test is completed successfully.
- For echo, a successful test means that all probes were sent.
- For pathEcho, a successful test means that the destination was reached at least once.
host1(config)#rtr reaction-configuration 1 test-completionThere is no no version. rtr reaction-configuration test-failure
- Use to enable test-failure reaction.
- The test-failure event is triggered when a test fails. Failure is determined in the following ways:
- If Echo, this event is triggered after testFailureValue probes are either not received or are received after a timeout.
- If PathEcho, this event is triggered when the test ends and no responses are received from the destination.
host1(config)#rtr reaction-configuration 1 test-failureThere is no no version. Scheduling the Probe
When you have configured the RTR probe, you must schedule the operation to begin collecting statistics and other information about problems that may arise.
rtr schedule
host1(config)#rtr schedule 5Use the no version to stop the test. The no version stops the probe operation by putting it in the pending state. The no version also resets the restart-time attribute and the life attribute. rtr schedule life
- Use to schedule the test's length.
- Life is a value that depends on the type of the RTR entry; it is not a length of time.
- If the type is echo, life relates to the number of probes sent until a test finishes.
- If the type is pathEcho, life relates to the maximum number of hops used by the traceRoute trap.
host1(config)#rtr schedule 5 life 1800Use the no version to stop the test. The no version stops the probe operation by putting it in the pending state. The no version also resets the life attribute. rtr schedule restart-time
host1(config)#rtr schedule 5 restart-time 15Use the no version to stop the test. The no version stops the probe operation by putting it in the pending state. The no version also resets the restart-time attribute. rtr schedule start-time
host1(config)#rtr schedule 5 start-time nowUse the no version to stop the test. The no version stops the probe operation by putting it in the default state, pending. Shutting Down the Probe
You can shut down the RTR probe operation.
rtr reset
- Use to shut down the RTR, stop all probe operations, and clear the RTR configuration for the given virtual router.
NOTE: We recommend that you use this command only in extremely serious situations, such as problems with the configurations of a number of probe operations.
- Example
host1(config)#rtr resetUse the no version to negate the reset operation. Monitoring RTR
You can monitor RTR by displaying status and configuration information.
show rtr application
- numberOfEntriesNumber of RTR entries according to type
- entriesEnabledRTR entries with administrative status enabled
- entriesActiveRTR entries with operational status enabled
host1#show rtr applicationnumberOfEntries entriesEnabled entriesActive------------------ ----------------- ---------------echo 1 1 1pathEcho 1 1 1total 2 2 2show rtr collection-statistics
- Use to display statistical information for a particular probe operation or for all operations.
- Field descriptions
- rtrIndexIndex number of the RTR probe
- operationsSentNumber of probe operations sent
- operationsRecvdNumber of probe operations received
- lastGoodResponseTime when last valid probe operation was received
- operStatusOperational status of the probe: enabled, disabled
- minRttMinimum round-trip time in milliseconds
- maxRttMaximum round-trip time in milliseconds
- avgRttAverage round-trip time in milliseconds
- rttSumSqrSum of the square of all round-trip times in milliseconds
- testAttemptsNumber of times the test ran
- testSuccessesNumber of times the test ran successfully
- currentHopCurrent hop (TTL) used in the test
- currentOperationCurrent probe operation index sent to the hop
host1#show rtr collection-statisticsEcho Entries:rtrIndex operationsSent operationsRcvd lastGoodResponse---------- -------------- -------------- ----------------1 5208 5187 08/30/2000 05:09rtrIndex operStatus minRtt maxRtt avgRtt rttSumSqr---------- ---------- ------ ------ ------ ---------1 enabled 0 1785 3 7109208PathEcho Entries:rtrIndex testAttempts testSuccesses lastGoodResponse---------- ------------ ------------- ----------------2 156 156 08/30/2000 05:09rtrIndex operStatus currentHop currentOperation---------- ---------- ---------- ----------------2 enabled 2 4show rtr configuration
- rtrIndexIndex number of the RTR probe
- typeProbe type: echo, pathEcho
- targetAddressAddress of the probe's target
- reqSizeProtocol data size in the request packet
- freqRate in seconds that the RTR probe uses to start a response time operation
- lifeLength of the test
- sourceInterface from which the probe is sent
- restartTimeRestart time of the test in seconds
- ownerOwner of the probe
- samplesMaximum number of entries saved in the history table for this RTR probe
- adminAdministrative status of the probe: enabled, disabled
- tosSetting of the type of service (ToS) byte in the probe's IP header
- reactionConfigurationRTR reactions that are configured for the probe
- receiveInterfaceType and specifier of the interface on which the probe expects to receive responses; this field is blank if the optional receive-interface characteristic is not configured
- operFailOperation failure event is triggered when this number of consecutive probe operations is not received or when the operations are received after a timeout
- testFailTest failure event is triggered when this number of probe operations is not received or when the operations are received after a timeout
- timeoutTime in milliseconds that the probe waits for a response
- tagIdentifier configured for the probe
- operPerHopNumber of RTR probe operations sent to a given hop
- maxFailMaximum number of consecutive failures to respond to a probe's request. When the maximum number is reached, the test stops. Applies only to pathEcho entries.
- hopKptNumber of hops per path for which statistics are collected. When this number is reached, no additional statistical information about the path is stored. Applies only to pathEcho entries.
host1#show rtr configurationrtrIndex type targetAddress reqSize freq life------- -------- ------------ ------ ------ -----1 echo 10.5.0.200 1 1 202 pathEcho 10.5.0.11 1 1 30rtrIndex source restartTime owner---------- ------------------ ----------- ----------1 fastEthernet0/0 102 60rtrIndex samples admin tos reactionConfiguration---------- ------- -------- --- ------------------------1 5 enabled 02 5 enabled 0rtrIndex receiveInterface---------- ----------------1 fastEthernet0/0rtrIndex operFail testFail timeout tag---------- -------- -------- ------- ------1 1 1 10000rtrIndex operPerHop maxFail hopKpt tag---------- ---------- ------- ------ ------2 5 3 16show rtr history
- rtrIndexIndex number of the RTR probe
- operationIndex number of the probe operation
- rttRound-trip time in milliseconds
- statusDescription
- concurrentLimitFailTarget already being used by another rtrIndex
- ifInactiveToTargetInterface used to reach target is not operational
- invalidHostAddressTarget address is not supported
- noRouteToTargetTarget address is not reachable
- responseReceivedProbe operation replied by target
- requestTimedOutProbe operation not replied to by target or reply received after timeout
- unknownDestAddressTarget address is invalid
- unableToResolveNameTarget address could not be looked up
- timeStampDate and time when the RTR entry was created
- testIndex number of the pathEcho test
- hopIndex number of the hop count
- operationIndex number of the probe operation
- addressAddress of router at the hop
host1#show rtr historyEcho Entries:rtrIndex operation rtt statusDescription timeStamp-------- --------- --- ----------------- ---------1 5476 0 responseReceived 08/30/2000 05:171 5477 0 responseReceived 08/30/2000 05:171 5478 0 responseReceived 08/30/2000 05:171 5479 0 responseReceived 08/30/2000 05:171 5480 0 responseReceived 08/30/2000 05:17PathEcho Entries:rtrIndex test hop operation rtt statusDescription---------- ------ ---- --------- ------ -----------------2 165 3 5 0 responseReceived2 165 3 1 0 responseReceived2 165 3 2 0 responseReceived2 165 3 3 0 responseReceived2 165 3 4 0 responseReceivedrtrIndex test hop operation timeStamp address---------- ------ ---- --------- ---------------- --------2 165 3 5 08/30/2000 20:39 10.5.0.112 165 3 1 08/30/2000 20:40 10.5.0.112 165 3 2 08/30/2000 20:40 10.5.0.112 165 3 3 08/30/2000 20:40 10.5.0.112 165 3 4 08/30/2000 20:40 10.5.0.11show rtr hops
- rtrIndexIndex number of the RTR probe
- hopIndex number of the hop count
- addressAddress of the router at the hop
- minRttMinimum round-trip time in milliseconds
- maxRttMaximum round-trip time in milliseconds
- avgRttAverage round-trip time in milliseconds
- rttSumSqrSum of the square of all round-trip times in milliseconds
- operationsSentNumber of probe operations sent
- operationsRcvdNumber of probe operations received
- lastGoodResponseTime when last valid probe operation was received
host1#show rtr hopsrtrIndex hop address minRtt maxRtt avgRtt rttSumSqr---------- ---- ----------- ------ ------ ------ --------2 1 192.168.1.1 1 276 1 9553632 2 10.2.0.3 0 1109 2 10094451rtrIndex hop operationsSent operationsRcvd lastGoodResponse-------- --- -------------- -------------- ------------2 1 36985 36838 09/18/2000 20:202 2 30717 21494 09/18/2000 20:20show rtr operational-state
- rtrIndexIndex number of the RTR probe
- typeType of RTR probe: echo, pathEcho
- entryStatusIf the entry was created via the SNMP DISMAN MIB, the row may be partially constructed; if that is the case, the CLI displays notReady as the entry's status
- adminStatusDerived from the rtr schedule start-time command; if the option is now, the status is enabled; if the option is pending, the status is disabled
- operStatusEnabled only if entryStatus and adminStatus are enabled and the test is running; operStatus remains enabled if the test finishes and restart time is not 0
host1#show rtr operational-statertrIndex type entryStatus adminStatus operStatus---------- -------- ----------- ----------- ----------1 echo active enabled enabled2 pathEcho active enabled enabled