摘要 |
<p>A method for realizing flexible QinQ, including: after receiving a message, searching for a Media Access Control (MAC) address entry corresponding to the message in a MAC address table, if the corresponding MAC address entry is searched out, performing flexible QinQ for the received message according to the flexible QinQ information included in the MAC address entry, and forwarding the message after completing the flexible QinQ transformation. The present invention also provides a device for realizing flexible QinQ and a QinQ transformation board. The present invention gets rid of a high-cost network processor, enables storage of the flexible QinQ information and fast forwarding of the messages just on a simple interface board, it overcomes the problem in the prior art that the speed of massively searching the QinQ entry is slow and enlarges the profits of operators and network product users at the same time.</p> |