Discard-sniffing device and method
The present invention discloses devices and methods for identifying, analyzing, and repairing network problems. The present invention can be implemented various types of networks including a packet-switched network and an Ethernet passive optical network (EPON), caused by a variety of reasons, culminating in undesirable packet discard. A method of discard-sniffing (DS) is disclosed for monitoring discarded network traffic. A discard reason register stores discard decisions and indications for discard-designated frames, allowing a network administrator to analyze causes for frames being discarded. The discard-designated frames can be routed to alternate destinations based on their designation. Optionally, a configuration register is available to disable DS capability.
1 . A method for detecting discarded frames, the method comprising the steps of:
(a) providing a network for routing frames of data;
(b) routing said frames through a device, wherein said device includes at least one functional block for detecting each discarded frame;
(c) setting at least one discard functionality, in each said functional block, to indicate a detection of a discard-designated frame; and
(d) storing values of said at least one discard functionality in a discard reason register.
2 . The method of claim 1 , wherein said step of providing a network includes providing a packet-switched network.
3 . The method of claim 1 , wherein said step of providing a network includes providing an Ethernet passive optical network (EPON).
4 . The method of claim 1 , wherein said step of routing through a device includes a device having a configuration register operative to disable said detection.
5 . The method of claim 1 , wherein said step of setting at least one discard functionality includes setting at least one discard functionality selected from the group consisting of: a flag counter, a logical link identifier, a tag offset, a discard decision, and a configuration-dependent indication.
6 . The method of claim 1 , wherein said at least one discard functionality can be attached to said discard-designated frame.
7 . The method of claim 1 , wherein said discard-designated frame can be routed to at least one alternate destination based on said at least one discard functionality.
8 . The method of claim 7 , wherein said at least one alternate destination includes a network management system.
9 . A device for detecting discarded frames, the device comprising:
(a) at least one functional block for detecting each discarded frame in a data network;
(b) at least one discard functionality, in each said functional block, to indicate a detection of a discard-designated frame; and
(c) a discard reason register for storing values of said at least one discard functionality.
10 . The device of claim 9 , wherein said data network is a packet-switched network.
11 . The device of claim 9 , wherein said data network is an Ethernet passive optical network (EPON).
12 . The device of claim 9 , the device further comprising:
(d) a configuration register operative to disable said detection.
13 . The device of claim 9 , wherein said at least one discard functionality includes at least one functionality selected from the group consisting of: a flag counter, a logical link identifier, a tag offset, a discard decision, and a configuration-dependent indication.
14 . The device of claim 9 , wherein said at least one discard functionality is configured to be attached to said discard-designated frame.
15 . The device of claim 9 , wherein said discard-designated frame is configured to be routed to at least one alternate destination based on said at least one discard functionality.
16 . The device of claim 15 , wherein said at least one alternate destination includes a network management system.