Packet forwarding device equipped with statistics collection device and statistics collection method
First Claim
1. A packet forwarding device equipped with a statistics collection device for collecting statistic information for each one piece of information or combination of multiple information contained in the receive packet header and, a means for transmitting the received packet subjected to the specified processing, wherein the statistics collection device contains a first table, a second table, and a search table discrimination table for selecting either the first table or the second table based on information contained in the header, and a means for searching the first table, the second table and the search table discrimination table, the first table and the second table hold at least entries containing one piece of information or combinations of multiple pieces of information contained in the header, and statistic information for collection corresponding to that information, the one piece of information or combinations of multiple pieces of information contained in the header, and information indicating the table corresponding to that information are stored in the search table discrimination table, when a packet is received, the search table discrimination table is searched based on information contained in the header of that received packet, and the first table or the second table is selected, and the selected search table is searched and the statistic information to collect is determined, and that statistic information collected.
2 Assignments
0 Petitions
Accused Products
Abstract
A packet forwarding device equipped with a statistics collection device and statistics collection method for high speed ports at a low cost while maintaining the required statistical accuracy for each flow. In order to collect a statistic flow with the required accurate statistic information this device contains a high speed flow table, a flow table made up of many flow entries, a search decision table to decide whether to search the high speed flow table or large volume flow table; and the table to be searched is decided when a packet is received. The accuracy of the statistic information for the flow requiring accurate statistic information is guaranteed by the high speed flow table. Further by setting the large volume flow table and sampling rate as needed, statistic information for many flow entries can be collected with a sufficient flow of sampled statistic information, without lowering packet forwarding performance.
96 Citations
22 Claims
-
1. A packet forwarding device equipped with a statistics collection device for collecting statistic information for each one piece of information or combination of multiple information contained in the receive packet header and, a means for transmitting the received packet subjected to the specified processing, wherein
the statistics collection device contains a first table, a second table, and a search table discrimination table for selecting either the first table or the second table based on information contained in the header, and a means for searching the first table, the second table and the search table discrimination table, the first table and the second table hold at least entries containing one piece of information or combinations of multiple pieces of information contained in the header, and statistic information for collection corresponding to that information, the one piece of information or combinations of multiple pieces of information contained in the header, and information indicating the table corresponding to that information are stored in the search table discrimination table, when a packet is received, the search table discrimination table is searched based on information contained in the header of that received packet, and the first table or the second table is selected, and the selected search table is searched and the statistic information to collect is determined, and that statistic information collected.
-
13. A packet forwarding device comprising a means for receiving a packet, a statistics collection device for collecting statistic information for each one piece of information or combination of multiple information contained in the receive packet header and, a means for transmitting the received packet subjected to the specified processing, wherein
the statistics collection device has a table comprised of entries containing at least one element of information or a combination of multiple information elements within the header and statistic information corresponding to that information, and a means for searching the table based on information contained in the header, and a storage means for storing statistic collection frequency information for collected statistic information in one element of information or a combination of multiple information elements, and a selection means for selecting the statistic collection frequency information stored in one element of information or a combination of multiple information elements within the header from the storage means based on the header information, wherein, when a packet is received, said device selects statistic collection frequency information corresponding to information contained in the header of the packet received from the storage means, and decides whether or not to collect statistic information contained in the table, based on the statistic collection frequency information.
Specification