发明名称 |
Methods and apparatus for compensating for time-based sampling by sample packet elimination during export of sampled packets |
摘要 |
Methods and apparatus for compensating for time-based sampling using packet elimination are disclosed herein. An example method may be implemented in a network device communicatively connected to a network. The method may include: receiving a packet over the network at a monitoring point; replicating the received packet; determining whether to sample the replicated packet using a time-based sampling scheme; upon determining that the replicated packet should be sampled, queuing the replicated packet to a port of the network device; determining whether to eliminate the queued packet by comparing a configured sample rate with a current sample rate; upon determining that the current sample rate is less than the configured sample rate, exporting the queued packet from the network device; and upon determining that the current sample rate is greater than or equal to the configured sample rate, dropping the queued packet. |
申请公布号 |
US8861374(B2) |
申请公布日期 |
2014.10.14 |
申请号 |
US201213435364 |
申请日期 |
2012.03.30 |
申请人 |
Cisco Technology, Inc. |
发明人 |
Cherian Zachariah;Chao Eric Tsoh-Chang;Gokli Neal Kaushal;Martin Stacy Lee |
分类号 |
H04L12/26 |
主分类号 |
H04L12/26 |
代理机构 |
Meunier Carlin & Curfman, LLC |
代理人 |
Meunier Carlin & Curfman, LLC |
主权项 |
1. A method for compensating for time-based sampling by sample elimination in a network device communicatively connected to a network, the method comprising:
receiving a packet over the network at a monitoring point of the network device; replicating the received packet; determining whether to sample the replicated packet using a time-based sampling scheme, wherein the time-based sampling scheme comprises sampling a predetermined number of samples during a predetermined time interval; upon determining that the replicated packet should be sampled, queuing the replicated packet to a port of the network device; adjusting for oversampling caused by the time-based sampling scheme by:
determining whether to eliminate the queued packet by comparing a configured sample rate with a current sample rate;upon determining that the current sample rate is less than the configured sample rate, exporting the queued packet from the network device; andupon determining that the current sample rate is greater than or equal to the configured sample rate, dropping the queued packet. |
地址 |
San Jose CA US |