摘要 |
<p>The present invention provides a packet learning method, apparatus, and system. The method includes: receiving a packet, where the packet carries a physical address of a host in a network; identifying a priority of the packet according to identifier information in the packet; and judging whether a cache table has storage space; and if so, learning the packet and the priority of the packet; or if not, comparing the priority of the packet with a lowest priority in the cache table, and if the priority of the packet is higher than the lowest priority in the cache table, learning and recording the packet and the priority of the packet into a position corresponding to the lowest priority in the cache table.</p> |