摘要 |
Provided are a flow table ageing method, a switch and a controller. The flow table ageing method in the present invention comprises: a switch acquiring an ageing threshold value of a flow table item, wherein the ageing threshold value comprises a matching success threshold value of the flow table item; the switch matching the flow table item with a received data packet and counts the number of matching successes; the switch judging whether the number of matching successes reaches the matching success threshold value and obtaining a judgement result of the matching success threshold value; and the switch aging the flow table item according to the judgement result of the matching success threshold value. The embodiments of the present invention can improve the ageing precision of a flow table item and reduce the error processing of a data packet by a switch. |