Contact Us
+1.831.460.7010

Transcript for this video

An important aspect of testing an agent’s SNMP implementation is verification of the SNMP counters.

The best way to verify the counters is to send different quantities and types of traffic to the SNMP agent to verify that the counters counted correctly.

You can use the Ixia traffic generator with SilverCreek for comprehensive, lights-out, counter testing.

Step 1: getting set up.

It is recommended that you install SilverCreek on the Ixia 400 or Ixia 1600 chassis and use its pre-installed Ixia software.

If you can’t install and use SilverCreek on the Ixia chassis, you must install the Ixia client software on a computer that has a copy of SilverCreek.

Please refer to Ixia’s user guide on how to install the Ixia Tcl Client.

You may also reference the Ixia Extension manual found on our website at http://www.iwl.com/support/download/download.html for further information.

You will need your username and password to view this page.

Step 2: verify your Ixia setup.

Follow the Quick Start guide and the Ixia Tcl developer guide and make sure you can run IxSampleTcl.tcl as instructed there.

Step 3: verify SilverCreek can use the Ixia Tcl library.

First, set the environment variable that is used by SilverCreek to find the Ixia Tcl library.

To do this in Windows, edit your autoexec.bat file by adding the following text:

SET IXIA_TRAFFIC_LIBRARY = C:\Program Files\Ixia

This can also be set in your Advanced System Properties. This is found in the Windows Control Panel under System > Advanced > Environment Variables.

To verify this variable was set correctly, run SilverCreek test Test53.configuration0.tcl, found under the Ixia-SC Counter Tests.

If no error window mentioning the environment variable results, you have set the variable correctly.

Step 4: configuring SilverCreek.

In the absence of an error window, you should be viewing thefirst window in the SilverCreek configuration process for interfacing with the Ixia Chassis.

Test53.configuration.0 configures SilverCreek to work with the Ixia Traffic Generator.

The first window prompts for the IP address of the Traffic Generator. Enter this number, then click Done.

Now you need to enter the Card slot number you are using on the Ixia chassis. This can be easily determined by observing where your network cable is attached in the front of the chassis.

Next, enter the port number used on the slot you just listed.

The next dialogue prompts for the rate of the packets to be sent. This is measured in packets per second.

If too large a number is chosen, your agent may be unable to handle them all.

The next window asks for the value that identifies the interface that is to be tested. If only one number is listed, you can safely use the default.

If more than one number is listed, you may need to use SilverCreek’s MIB browser to verify the number that corresponds to the device you will be testing.

Make sure the “Use this value next time” box is checked.

The final window asks for a source IP address to be used on test packets. In most casese you can use the default listed value.

Click Done and the configuration script will run.

If it passes, you can then continue using this test suite as you would use any other test suite in SilverCreek.

If desired, you can also alter and/or save this configuration by clicking the Test menu then on Advanced Configuration. Next, highlight ch53_IX_SC.

You can alter configuration values by highlighting the submenu values and clicking on Edit.

When finished, you can click on Save to avoid having to reenter this information next time you perform testing on the same device.

Step 5: testing.

Now I’m going to run a test to demonstrate the testing process.

For this example, I will run test53.ip.ipInReceives.1.

This test verifies that ipInReceives can count packets correctly.

It will send out 1,000 IP packets containing a UDP discard port. The packet rate is the desired packet rate you configured earlier.

This test has passed. By looking at the test details, I can see the before and after values for the ipInReceives counter and the counter incremented by a value of at least 1,000.

Tests may pass that have a packet count value larger than the amount of packets sent out by Ixia.

This is because frequently testing is done on an open network and packets may arrive from other locations on the network.

By default, if the counter value is greater than or equal to the amount of packets sent, then the test will pass.

If you desire to do more precise testing in a closed environment, the pass/fail criteria can be changed to require exact counts for packets sent and packets counted.

All our Ixia extension tests should be used as templates in customizing tests for your particular needs.

In conclusion, you can see that this extension contains 97 sample tests that make use of both the Ixia Series of Chassis and SilverCreek APIs to more fully and comprehensively test the SNMP counters.

By using the Ixia Series of Chassis to generate specific kinds of traffic at specific speeds, SilverCreek can check the product’s counters for accuracy, syntax, overflow, and rollovers.


 

Want to Know More?

 

Find more videos How to buy Contact an Expert