Method and device for clearing media access control forwarding entry

US10277418B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10277418-B2
Application numberUS-201715663398-A
CountryUS
Kind codeB2
Filing dateJul 28, 2017
Priority dateJun 7, 2012
Publication dateApr 30, 2019
Grant dateApr 30, 2019

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present application provides a method and a device for clearing a MAC forwarding entry. The method includes: detecting, by a first RB, that a topology of a network accessed by a local terminal changes; and sending, by the first RB, a first packet to a second RB, so that the second RB clears a corresponding forwarding entry after receiving the first packet, where the second RB refers to an RB configured with at least one VLAN the same as that of the first RB.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: detecting, by a first routing bridge device (RB) of a first network, a change in a topology of a second network accessed by a local terminal, the first RB being an edge RB of the first network, wherein the second network is connected to the first network through the first RB; and sending, by the first RB, a first packet to a second RB after detecting the change in the topology of the second network, wherein the first packet is used to instruct the second RB to clear a media access control (MAC) forwarding entry corresponding to a virtual local area network (VLAN) indicated by the first packet, and wherein the second RB is configured with at least one VLAN that is configured to the first RB; and wherein the first packet is sent through an RBridge channel, and the first packet comprises an Operation, Administration, Maintenance (OAM) channel header and a payload, and wherein the OAM channel header comprises a channel protocol type indicating that the payload is a topology change notification (TCN) packet, a topology change (TC) packet, or a MAC flush packet. 2. The method according to claim 1 , wherein, in an appointed forwarder (AF) mechanism, detecting the change in the topology comprises detecting, by the first RB, that the first RB is switched from a non-AF to an AF. 3. The method according to claim 2 , wherein the first packet is the MAC flush packet, and the MAC flush packet comprises VLAN information that instructs the second RB to clear the MAC forwarding entry corresponding to the VLAN information. 4. The method according to claim 3 , wherein the MAC flush packet further comprises: a MAC address of the local terminal that is used to instruct the second RB to clear the MAC forwarding entry, the MAC forwarding entry corresponding to the VLAN information and comprising the MAC address; or a nickname of an RB that is used for instructing the second RB to clear the MAC forwarding entry, the MAC forwarding entry corresponding to the VLAN information and comprising the nickname. 5. The method according to claim 1 , wherein, in a mechanism in which the first RB simulates a Spanning Tree Protocol (STP) root bridge, detecting the change in the topology comprises receiving, by the first RB, a first topology change notification (TCN) packet or a first topology change (TC) packet from an access port facing the local terminal. 6. The method according to claim 5 , wherein, when the second RB and the first RB are located in a same STP domain, the first packet is the TCN packet or the TC packet, and the first packet is used to instruct the second RB to clear a local MAC forwarding entry. 7. The method according to claim 5 , wherein the method is applied in at least one of the following scenarios: an STP scenario, wherein the first packet is used to instruct the second RB to clear MAC forwarding entries in all VLANs which an access port facing the local terminal joins; a Rapid Spanning Tree Protocol (RSTP) scenario, wherein the first packet is used to instruct the second RB to clear MAC forwarding entries in all VLANs which an access port connected to the local terminal joins; and a Multi-Instance Spanning Tree Protocol (MSTP) scenario, wherein the first packet comprises instance information that instructs the second RB to clear the MAC forwarding entry of the VLAN corresponding to the instance information. 8. The method according to claim 5 , wherein, when the second RB is an RB outside an STP domain in which the first RB is located, the first packet is the MAC flush packet that comprises VLAN information that instructs the second RB to clear the MAC forwarding entry corresponding to the VLAN information. 9. The method according to claim 1 , wherein the MAC forwarding entry comprises a correspondence between a MAC address of a terminal and a nickname of an ingress RB of the first network. 10. A method comprising: receiving, by a second routing bridge (RB), a first packet, wherein the first packet is sent by a first RB of a first network after the first RB detects a change in a topology of a second network accessed by a local terminal, wherein the first packet is used to instruct the second RB to clear a media access control (MAC) forwarding entry corresponding to a virtual local area network (VLAN) indicated by the first packet, wherein the second RB is configured with at least one VLAN that is configured to the first RB, wherein the first RB is an edge RB of the first network, and wherein the second network is connected to the first network through the first RB; and clearing, by the second RB, the MAC forwarding entry corresponding to the VLAN according to the first packet; and wherein the first packet is sent through an RBridge channel, and the first packet comprises an Operation, Administration, Maintenance (OAM) channel header and a payload, and wherein the OAM channel header comprises a channel protocol type indicating that the payload is a topology change notification (TCN) packet, a topology change (TC) packet, or a MAC flush packet. 11. The method according to claim 10 , wherein the first packet is the MAC flush packet that comprises VLAN information and wherein clearing the MAC forwarding entry comprises clearing the MAC forwarding entry corresponding to the VLAN indicated by the VLAN information. 12. The method according to claim 11 , wherein the MAC flush packet further comprises: a MAC address of the local terminal used to clear the MAC forwarding entry, the MAC forwarding entry comprising the MAC address and corresponding to VLANs indicated by the VLAN information; or a nickname of an RB used to clear the MAC forwarding entry, the MAC forwarding entry comprising the nickname and corresponding to VLANs indicated by the VLAN information. 13. The method according to claim 10 , when the first packet is the topology change notification (TCN) packet or the topology change (TC) packet, further comprising: sending, by the second RB, the TCN packet or the TC packet to another switch device in a same STP domain, so that the another switch device clears a local MAC forwarding entry. 14. The method according to claim 10 , wherein clearing the MAC forwarding entry comprises: in a Spanning Tree Protocol (STP) scenario, clearing MAC forwarding entries in all VLANs which an access port facing the local terminal joins; or in a Rapid Spanning Tree Protocol (RSTP) scenario, clearing MAC forwarding entries in all VLANs which an access port connected to the local terminal joins; or in a Multi-Instance Spanning Tree Protocol (MSTP) scenario in which the TCN packet or the TC packet comprises instance information, clearing, according to the instance information and a locally configured correspondence between instances and VLANs, the MAC forwarding entry of a VLAN corresponding to an instance indicated by the instance information. 15. A device comprising: a processor; and a computer-readable storage medium storing instructions; and wherein the processor is configured to execute the instructions to implement a method comprising: detecting a change in a topology of a second network accessed by a local terminal; and sending a first packet to a second routing bridge (RB) after detecting the change in the topology of the second network, wherein the first packet is used to instruct the second RB to clear a media access control (MAC) forwarding entry corresponding to a virtual local area network (VLAN) indicated by the first packet, wherein the first packet is sent through an RBridge channel, and the first packet comprises an Operation, Administration, Maintenance (OAM) channel header

Assignees

Inventors

Classifications

  • H04L12/462Primary

    LAN interconnection over a bridge based backbone · CPC title

  • Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272) · CPC title

  • Layer 2 routing, e.g. in Ethernet based MAN's · CPC title

  • Discovery or management of network topologies · CPC title

  • H04L45/02Primary

    Topology update or discovery · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10277418B2 cover?
The present application provides a method and a device for clearing a MAC forwarding entry. The method includes: detecting, by a first RB, that a topology of a network accessed by a local terminal changes; and sending, by the first RB, a first packet to a second RB, so that the second RB clears a corresponding forwarding entry after receiving the first packet, where the second RB refers to an R…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L12/462. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Apr 30 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).