One aspect of the instant application provides a system and method for rerouting dropped packets back to a switch for analysis. During operation, the system determines, by packet-forwarding hardware logic on the switch, a destination port associated with a received packet, and determines whether the destination port is congested. In response to determining that the destination port is congested, the system drops the received packet from the destination port and sends the dropped packet to an internal dropped-packet-rerouting port to reroute the dropped packet back to the packet-forwarding hardware logic. In response to the packet-forwarding hardware logic determining that a packet is a rerouted packet from the internal dropped-packet-rerouting port, the system forwards the rerouted packet to a packet-analyzing entity for analysis.
DROPPED TRAFFIC REROUTING FOR ANALYSIS
2023-03-09
Patent
Electronic Resource
English