The invention discloses a
landmark separation
message forwarding method and device, a switch
chip and a storage medium. The
landmark separation
message forwarding method comprises the steps that S1, asystem is initialized, and a message is received; s2, acquiring a message entry port, and querying a port enable bit of a
landmark separation register; s3, analyzing the
Ethernet type of the Ethernetmessage; s4, judging a port enable bit value of the landmark separation register; s5, judging whether the type of the
Ethernet message is equal to the
Ethernet type of the standard separation messageregister or not, if not, forwarding the message according to a traditional message, and if yes, entering the step S6; and S6, separating the message and forwarding the message according to the standard. According to the invention, a user can flexibly configure the support of the landmark separation message according to the specific usage
scenario of the switch
chip, so that the adaptability of the ASIC
chip is enhanced; the matching range of the recognition length can be 1-128bit, so that the expansibility is high; in addition, the ASIC chip supports the traditional message and the standard separation message at the same time, so that the additional cost is reduced.