The invention relates to the technical field of data interaction, in particular to a data
interaction method and
system for a reinforced switch and the switch, and the method comprises the steps: capturing an ARP (
Address Resolution Protocol) message for the reinforced switch in real time, and according to a
message format, performing data interaction on the ARP message; obtaining an
Ethernet source
MAC address, an operation type, a sending end
MAC address, a sending end
IP address and sending time of each ARP message in each monitoring time period; the high-frequency
responsivity, the mapping anomaly degree, the first evaluation value, the flow anomaly degree, the second evaluation value and the discrimination coefficient of the
IP address of each sending end in each monitoring time period are calculated, the legality of the
IP address of each sending end is evaluated, and the reinforced switch allows the legal IP address to perform data interaction. According to the method, the
ARP spoofing attack can be timely and effectively detected and defended, the influence range of the
ARP spoofing attack is controlled, and the security and stability of data interaction of the reinforced switch are improved.