Claims
- 1. A method of testing a primary device for two-way communication between the primary device and one or more neighbor devices in communication therewith in a network, the method comprising:
inserting into an echo packet an originating device identifier in an originating device field and a primary device identifier in a primary device field; transmitting the echo packet containing the originating device identifier and the primary device identifier from the primary device; and receiving a reply packet at the primary device and detecting two-way communication if the reply packet contains the originating device identifier in the originating device field and the primary device identifier in the primary device field.
- 2. The method of claim 1 wherein receiving and transmitting the packet comprises receiving and transmitting the packet across a data link layer.
- 3. The method of claim 1 wherein receiving a reply packet further comprises detecting one-way communication if the reply packet does not contain one of the originating device identifier and the primary device identifier.
- 4. The method of claim 3 further comprising notifying a user of the primary device of the one-way communication.
- 5. The method of claim 3 further comprising notifying a network manager of the one-way communication.
- 6. The method of claim 1 wherein transmitting the packet further comprises starting a timer and setting a time limit for detecting two-way communication.
- 7. The method of claim 1 wherein receiving a packet and transmitting a packet comprises receiving a plurality of packets and transmitting a plurality of packets, respectively.
- 8. A system for testing a primary device for two-way communication between the primary device and one or more other devices in communication therewith in a network, the system comprising:
a message generator operable to generate an echo message with an originating device identifier located in an originating device field and a primary device identifier located in a primary device field; a transmitter operable to transmit from the primary device the echo message containing the originating device identifier and the primary device identifier; and a receiver operable to receive a reply packet at the primary device and detect two-way communication if the reply packet contains the originating device identifier in the originating device field and the primary device identifier in the primary device field.
- 9. The system of claim 8 wherein the receiver receives messages from a data link layer and the transmitter transmits messages to the data link layer.
- 10. The system of claim 8 further comprising a cache table for storing the originating device identifier in the primary device.
- 11. The system of claim 8 further comprising an error message generator operable to generate a message that a one-way communication condition exists if the reply packet does not contain the originating device identifier in the originating device field.
- 12. The system of claim 8 wherein the primary device is in communication with the one or more other devices through a fiber medium.
- 13. The system of claim 8 wherein the primary device is in communication with the one or more other devices through fiber optic cable.
- 14. The system of claim 8 wherein the echo message generator is operable to generate a plurality of echo messages and the transmitter is operable to transmit the plurality of echo messages.
- 15. The system of claim 8 wherein the primary device is in communication with the one or more other devices through copper media.
- 16. The system of claim 8 further comprising a detector operable to detect an error selected from the group consisting of unidirectional link, bi-directional link, neighbor mismatch, and a loop.
- 17. The system of claim 8 wherein the device identifiers are encapsulated in a header of the packet.
- 18. A computer program product for testing a primary device for two-way communication between the primary device and one or more neighbor devices in communication therewith in a network, the product comprising:
code that inserts into an echo packet an originating device identifier in an originating device field and a primary device identifier in a primary device field; code that transmits the echo packet containing the originating device identifier and the primary device identifier from the primary device; and code that receives a reply packet at the primary device and detects two-way communication if the reply packet contains the originating device identifier in the originating device field and the primary device identifier in the primary device field; and a computer-readable storage medium for storing the codes.
- 19. The computer program product of claim 18 wherein the packets are received and transmitted across a data link layer.
- 20. The computer program product of claim 18 further comprising code that notifies a user of the primary device of detected two-way communication.
- 21. The computer program product of claim 18 further comprising code that starts a timer and sets a time limit for detecting two-way communication.
- 22. A system for testing a primary device for two-way communication between the primary device and one or more other devices in communication therewith in a network, the system comprising:
means for generating an echo message with an originating device identifier located in an originating device field and a primary device identifier located in a primary device field; means for transmitting from the primary device the echo message containing the originating device identifier and the primary device identifier; means for receiving a reply packet at the primary device and detecting two-way communication if the reply packet contains the originating device identifier in the originating device field and the primary device identifier in the primary device field.
- 23. The system of claim 22 wherein the receiver means receives messages from a data link layer and the transmitter transmits messages to the data link layer.
- 24. The system of claim 22 further comprising a cache table for storing the originating device identifier in the primary device.
- 25. The system of claim 22 wherein means for transmitting the packet further comprises means for starting a timer and setting a time limit for detecting two-way communication.
- 26. The system of claim 22 further comprising means for removing the originating device identifier from cache of the primary device after a predetermined period of time.
RELATED APPLICATION
[0001] This patent application is a continuation of U.S. patent application Ser. No. 09/386,534, filed Aug. 30, 1999, which is incorporated herein by reference in its entirety.
Continuations (1)
|
Number |
Date |
Country |
Parent |
09386534 |
Aug 1999 |
US |
Child |
10860816 |
Jun 2004 |
US |