The invention provides a
message forwarding method and
system. The method is applied to a switch, and comprises the following steps: a switch
chip receives a message to be forwarded; after determining that a target ARP table item corresponding to the message to be forwarded is not stored in an ARP table, a CPU acquires the target ARP table item, associates a priority identifier for the target ARP table item, and issues the target ARP table item to a switch
chip ARP table; when ARP storage resources in the switch
chip ARP table are exhausted and the target ARP table item is associated with a high priority identifier, the CPU replaces any ARP table item that is associated with a
normal priority identifier in the switch chip ARP table as the target ARP table item; and the switch chip forwards the message to be forwarded according to the target ARP table item. By adopting the
message forwarding method and
system provided by the invention, the ARP table items of the switch chip are associated with different priority identifiers, the ARP table items with low priority are replaced by the ARP table items with high priority, and thus the switch chip can store the three
layers of forwarded ARP table items when the ARP storage resources are exhausted, and
network delay or interruption caused by excessive usage of the CPU when forwarding the three
layers of messages can be avoided.