×

Loop failure handling method and switch

  • US 10,764,085 B2
  • Filed: 06/05/2019
  • Issued: 09/01/2020
  • Est. Priority Date: 12/06/2016
  • Status: Active Grant
First Claim
Patent Images

1. A loop failure handling method, applied to a switch, wherein the method comprises:

  • receiving a first packet comprising a source media access control (MAC) address, wherein the source MAC address is a MAC address of a device generating the first packet;

    obtaining a first flapping count corresponding to the source MAC address, wherein the first flapping count indicates a quantity of times that the source MAC address flaps between different ports of the switch;

    determining, based on the first flapping count, whether a loop failure occurs in a network in which the switch is located;

    obtaining a flapping port set corresponding to the source MAC address when the loop failure occurs in the network in which the switch is located, wherein the flapping port set comprises a plurality of ports of the switch to which the source MAC address flaps sequentially;

    determining a primary port in the plurality of ports, wherein the primary port is a port that must be suppressed; and

    enabling a flooding suppression function on the primary port, wherein the flooding suppression function suppresses forwarding of a received flooding packet by the primary port.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×