# ifconfig interface down # ifconfig interface unplumb Enter the following commands to bring the interface down: Use the ifconfig(1M) command to bring the Ethernet device down before running netlbtest. netlbtest cannot run and will not appear in the GUI if the network interface is connected to a live network netlbtest also requires that the ethernet device be configured offline before running the test. You must have the Ethernet card and the device driver installed, a loopback connector in place, and Intervention mode enabled before running netlbtest. If the packets arrived late but within five times the timeout value and no packet is missing, the test will pass. If a packet is received late and the current transmitted packet is not received, the test will stop with a warning message, "Packet delay.". If up to four packets are missing, the test will stop with an error message, "Missed %d packet(s).". If all of them are not received within the timeout time, the test will stop with the error message, "timed out for receiving. After one packet is not received, four more packets are transmitted. Note - Do not run nettest and netlbtest at the same device at the same time or the test might fail.Ī new debugging capability has been added in netlbtest. Each time a packet is sent, it is selected from a different starting point of the data buffer, so that any two consecutively transmitted packets will not be the same. If an error occurs (for example, packet mismatch or timeout), an error message indicating the type of error, its probable cause(s), and recommended action(s) is displayed on the SunVTS console.The data sent out is generated by a random number generator, and put into a data buffer. The test generates and sends out the desired number of packets (a tunable parameter) and expects to receive the same number of packets through the loopback interface, external or internal. For the purpose of this test, a packet is defined as an Ethernet header followed by the Ethernet data payload (refer to the IEEE 802.3z standard). The netlbtest uses DLPI RAW mode to talk to the device driver. The netlbtest runs in loopback (external/internal) mode. These devices include eri (the Ethernet device in the RIO chip) and ge (Gigabit Ethernet), ce (GigaSwift Ethernet), dmfe (10/100 Mbps Ethernet), and vca (Sun Crypto Accelerator 4000). It provides functional test coverage of the devices which have device drivers that support the Ethernet loopback test. The netlbtest replaces the gemtest previously included in SunVTS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |