# US 9,356,799 B2 · Ethernet ring protection without MAC table flushing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,356,799 B2
- Document ID: US9356799B2
- Status: Granted
- Kind: B2
- Application number: 13/170,765
- Filed: 2011-06-28
- Published: 2013-01-03
- Granted: 2016-05-31
- Earliest claimed: 2011-06-28
- Assignees: Broadcom Corporation
- Applicants: Shahram Davari
- Inventors: Shahram Davari
- Web page: https://patentgrep.com/patent/US9356799B2

## CPC

- H04L 12/437: Ring fault isolation or reconfiguration {(for SDH/SONET ring networks H04J3/085)}
- H04L 12/465: {wherein a single frame includes a plurality of VLAN tags}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A network device located in an Ethernet ring may be operable to determine binding between a MAC address and a peer device in the Ethernet ring. The binding may indicate that the MAC address is behind the peer device. When an Ethernet ring failure occurs, the network device may be operable to update forwarding information based on a ring topology of the Ethernet ring, a position of the failure on the Ethernet ring and the binding. The forwarding information may indicate which ring port that is used on the network device to forward MAC frames to a destination corresponding to the MAC address. The network device may then forward the MAC frames based on the updated forwarding information. The Ethernet ring may utilize a VLAN frame format, a Q-in-Q frame format or a MAC-in-MAC frame format. The forwarding information may comprise a MAC table and/or a protection table.

## Claims

### Claim 1

A method, comprising:
transmitting, using a network device in an Ethernet ring, a frame to a peer device in the Ethernet ring using a first port in the Ethernet ring, wherein the first port in the Ethernet ring is determined using a medium access control (MAC) table and a protection table for the MAC table, wherein the MAC table comprises data indicating a first association between a MAC address and the peer device, and wherein the protection table comprises data indicating a second association between the peer device and the first port in the Ethernet ring;
obtaining, using the network device, a message indicating that a link failure has occurred on the Ethernet ring;
responsive to the message, updating, using the network device, the protection table to comprise data indicating a third association between the peer device and a second port in the Ethernet ring while maintaining the data in the MAC table;
receiving, using the network device, a plurality of messages from a plurality of other peer devices, the plurality of messages indicating that the link failure has occurred;
determining, using the network device, a location of the link failure using the plurality of messages; and
receiving, using the network device, a frame corresponding to data transmitted from the MAC address, the frame corresponding to the data transmitted from the MAC address comprising a virtual local area network (VLAN) tag,
wherein the second port is based on the location of the link failure.

### Claim 2 (depends on 1)

The method of claim 1, comprising:
identifying, using the network device, the location of the link failure using the message; and
determining, using the network device, the second port in the Ethernet ring using the location.

### Claim 3 (depends on 1)

The method of claim 1, comprising:
identifying, using the network device, a topology for the Ethernet ring; and
determining, using the network device, the second port in the Ethernet ring using the topology.

### Claim 4 (depends on 1)

The method of claim 1, wherein the Ethernet ring utilizes a Q-in-Q frame format.

### Claim 5 (depends on 1)

The method of claim 1, wherein the Ethernet ring utilizes a MAC-in-MAC frame format.

### Claim 6

A method, comprising:
storing, using a network device in an Ethernet ring, a device identifier in association with a medium access control (MAC) address to indicate that the MAC address is accessible through a peer device that is represented by the device identifier, wherein the device identifier is stored in a MAC table;
storing, using the network device, a first port identifier in association with the peer device to indicate that the peer device is accessible using a first port in the Ethernet ring that is represented by the first port identifier, wherein the first port identifier is stored in a protection table;
detecting, using the network device, a link failure on the Ethernet ring;
responsive to the link failure being detected, storing, using the network device, a second port identifier in association with the peer device to indicate that the peer device is accessible using a second port in the Ethernet ring that is represented by the second port identifier;
receiving, using the network device, a plurality of messages from a plurality of other peer devices, the plurality of messages indicating that the link failure has occurred;
determining, using the network device, a location of the link failure using the plurality of messages; and
receiving, using the network device, a frame corresponding to data transmitted from the MAC address, the frame comprising a virtual local area network (VLAN) tag,
wherein the second port identifier is based on the location of the link failure.

### Claim 7 (depends on 6)

The method of claim 6, comprising:
identifying, using the network device, a binding between the peer device and the MAC address using the VLAN tag.

### Claim 8 (depends on 7)

The method of claim 7, wherein the Ethernet ring utilizes a Q-in-Q frame format.

### Claim 9 (depends on 6)

The method of claim 6, comprising:
receiving, using the network device, the frame corresponding to the data transmitted from the MAC address, the frame comprising a backbone source MAC address; and
identifying, using the network device, a binding between the peer device and the MAC address using the backbone source MAC address.

### Claim 10 (depends on 6)

The method of claim 6, wherein:
the MAC table comprises a MAC address field and a ring node field;
data representing the MAC address is in the MAC address field; and
the device identifier is in the ring node field.

### Claim 11 (depends on 6)

The method of claim 6, wherein the second port identifier is stored in the protection table.

### Claim 12

A system, comprising:
a network device configured to operate in an Ethernet ring, the network device comprising circuitry configured to:
store, in a memory, a device identifier in association with a medium access control (MAC) address to indicate that the MAC address is accessible through a peer device that is represented by the device identifier;
store, in the memory, a first port identifier in association with the peer device to indicate that the peer device is accessible using a first port in the Ethernet ring that is represented by the first port identifier;
responsive to a link failure detected on the Ethernet ring, store, in the memory, a second port identifier in association with the peer device to indicate that the peer device is accessible using a second port in the Ethernet ring that is represented by the second port identifier;
receive a plurality of messages from a plurality of other peer devices, the plurality of messages indicating that the link failure has occurred;
determine a location of the link failure using the plurality of messages; and
receive a frame corresponding to data transmitted from the MAC address, the frame comprising a virtual local area network (VLAN) tag,
wherein the second port identifier is based on the location of the link failure.

### Claim 13 (depends on 12)

The system of claim 12, wherein the Ethernet ring utilizes a virtual local area network (VLAN) frame format.

### Claim 14 (depends on 12)

The system of claim 12, wherein the Ethernet ring utilizes a Q-in-Q frame format.

### Claim 15 (depends on 12)

The system of claim 12, wherein the Ethernet ring utilizes a MAC-in-MAC frame format.

### Claim 16 (depends on 12)

The system of claim 12, wherein the circuitry is configured to:
determine binding data between the MAC address and the peer device using the VLAN tag.

### Claim 17 (depends on 12)

The system of claim 12, wherein the circuitry is configured to:
receive the frame corresponding to the data transmitted from the MAC address, the frame comprising a backbone source MAC address; and
determine binding data between the MAC address and the peer device using the backbone source MAC address.

### Claim 18 (depends on 12)

The system of claim 12, wherein the circuitry is configured to:
associate data representing the MAC address with a MAC address field in a MAC table; and
associate the device identifier with a ring node field in the MAC table.

### Claim 19 (depends on 12)

The system of claim 12, wherein the circuitry is configured to:
associate data representing the MAC address with a MAC address field in a MAC table;
associate the device identifier with a first ring node field in the MAC table;
associate the device identifier with a second ring node field in a protection table; and
associate the first port identifier with a ring port field in the protection table.
