Patent ID: 9736073
Date: 2017-08-15
CPC Classifications: H04L

Claim:
1. A packet switch device, comprising: an input port to receive a packet; a loop-back port; a storage module to store a plurality of flow tables, each of the flow tables comprising at least one flow entry and at least one action; and a switch engine to determine whether the packet comprises a flow header, the switch engine comparing the packet with a default flow table of the plurality of flow tables when the packet does not comprise a flow header; wherein the switch engine compares the packet with the flow entry of the default flow table and performs the corresponding action when the packet matches the flow entry; wherein when the switch engine determines the corresponding action comprises comparing the packet with another one of the flow tables, the switch engine according to the corresponding action attaches the flow header to the packet to set a flow ID corresponding to the another one of the flow tables in the flow header and transmits the packet with the flow ID to the loop-back port, wherein the packet with the flow ID is transmitted directly back to the switch engine through the loop-back port.