Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
 

Related Documentation

 

Starting a Traceroute Test

Before you start a traceroute test, configure a Traceroute MIB view. This allows SNMP Set requests on tracerouteMIB. To start a test, create a row in traceRouteCtlTable and set traceRouteCtlAdminStatus to enabled. You must specify at least the following before setting traceRouteCtlAdminStatus to enabled:

  • traceRouteCtlOwnerIndexSnmpAdminString
  • traceRouteCtlTestNameSnmpAdminString
  • traceRouteCtlTargetAddressInetAddress
  • traceRouteCtlRowStatusRowStatus

For all other values, defaults are chosen unless otherwise specified. traceRouteCtlOwnerIndex and traceRouteCtlTestName are used as the index, so their values are specified as part of the OID. To create a row, set traceRouteCtlRowStatus to createAndWait or createAndGo on a row that does not already exist. A value of active for traceRouteCtlRowStatus indicates that all necessary information has been specified and the test can begin; traceRouteCtlAdminStatus can be set to enabled. An SNMP Set request that sets traceRouteCtlRowStatus to active will fail if the necessary information in the row is not specified or is inconsistent. For information about how to configure a view, see Setting SNMP Views.

There are two ways to start a traceroute test:

Using Multiple Set PDUs

You can use multiple Set request PDUs (multiple PDUs, with one or more varbinds each) and set the following variables in this order to start the test:

  • traceRouteCtlRowStatus to createAndWait
  • All appropriate test variables
  • traceRouteCtlRowStatus to active

    The Junos OS now verifies that all necessary information to run a test has been specified.

  • traceRouteCtlAdminStatus to enabled

Using a Single Set PDU

You can use a single Set request PDU (one PDU, with multiple varbinds) to set the following variables to start the test:

  • traceRouteCtlRowStatus to createAndGo
  • All appropriate test variables
  • traceRouteCtlAdminStatus to enabled
 

Related Documentation

 

Published: 2013-07-16

 

Related Documentation

 

Published: 2013-07-16