| Skip Navigation Links | |
| Exit Print View | |
![]() | man pages section 1M: System Administration Commands Oracle Solaris 11 Information Library |
- loopback diagnostics to test the driver, adapter and network.
/usr/lib/llc2/llc2_loop2 [-v]ppa
/usr/lib/llc2/llc2_loop3ppasapframes
/usr/lib/llc2/llc2_loop3ppatypeframes
/usr/lib/llc2/llc2_loop4 [-v]ppa
Theloop2 test sends a NULL XID frame to the broadcast (all 1's)destination MAC address. The source SAP (Service Access Point) value used is 0x04(SNA's SAP). Therefore, if SNA is running on the system, theloop2test will fail. The destination SAP value is the NULL SAP (0x00).This test finds out who is listening and can receive frames sent outfrom a node. The verbose (-v) option displays the MAC address of respondingnodes. All possible responders may not be displayed, since theloop2 test onlywaits for responses for 2 seconds, but during this time 50-200 nodes maybe displayed. The most likely error is:
Unexpected DLPI primitivex, expectedy.
wherex = 5 andy = 6. From/usr/include/sys/dlpi.h, theexpected return value from one of the DLPI primitives is 6 (DL_OK_ACK), butinstead a 5 (DL_ERROR_ACK) was received. This can occur for two reasons:
Theloop2 command was issued to a non-existent PPA (Physical Point of Attachment).
The SAP (0x04) is already in use (for example, the SNA subsystem is up).
Theloop3 test sends 1,495 byte Unnumbered Information (UI) frames to the NULL(all 0's) destination MAC address. This should be used along with data captureeither on the local node or another node on the same LAN toverify the transmission of data. Theppa argument specifies the adapter on which torun the test. Theppa is the relative physical position of theadapter and may be ascertained by viewing the adapter configuration (seellc2_config(1)). ForToken Ring or Ethernet, specify an evensap value from 2 through 254,or, for Ethernet only, anytype value from 1519 (0x05ef) through 65535 (0xffff).It is advised to pick a value that is easily recognized when thedata capture output is viewed.frames is the decimal number of 1,495bytes packets to transmit. The test will only display a message if afailure occurs.
Theloop4 test sends a TEST frame (no information field) to thebroadcast (all 1's) destination MAC address. The source SAP value used is 0x04(SNA's SAP). Therefore, if SNA is running on the system, theloop4 test will fail. The destination SAP value is the NULL SAP (0x00). This test finds out who is listening and can receive frames sentout from a node. The verbose (-v) option displays the MAC address ofresponding nodes. All possible responders may not be displayed since theloop4 test onlywaits for responses for 2 seconds, but during this time 50-200 nodes maybe displayed. Theloop4 test displays information similar to the following exampleif other nodes are listening and respond (verbose mode):
-Attaching -Binding -Sending TEST -Responders 1-0000c0c12449 2-08000e142990 3-08000e142a51 4-0000c0450044 5-0000c0199e46 -Unbinding-Detaching5 nodes responding
The errors displayed are the same as forloop2.
Seeattributes(5) for descriptions of the following attributes:
|
llc2_config(1),llc2(4),attributes(5),llc2(7D)
For information about how to start the service, seellc2(7D)
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.Legal Notices | ![]() ![]() |