# US 2020/0007434 A1 · Network interface cards, fabric cards, and line cards for loop avoidance in a chassis switch

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

- Number: US 2020/0007434 A1
- Document ID: US20200007434A1
- Status: Published application
- Kind: A1
- Application number: 16/181,935
- Filed: 2018-11-06
- Published: 2020-01-02
- Earliest claimed: 2018-06-29
- Assignees: Accton Technology Corporation
- Applicants: Accton Technology Corporation
- Inventors: Chin-Chieh HUANG
- Web page: https://patentgrep.com/patent/US20200007434A1

## CPC

- H04L 45/18: Loop-free operations
- H04L 49/40: Constructional details, e.g. power supply, mechanical construction or backplane
- H04L 49/253: using establishment or release of connections between ports
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A network interface card installed in a chassis switch, which includes a switch device and a controller, is provided. The switch device includes a plurality of ports coupled to other network interface cards in the chassis switch, and each of the other network interface cards is a fabric card or a line card. The controller is configured to perform different acts according to the card type of the network interface card, wherein the acts constitute a specific process of path planning which may prevent loops from occurring in the communication paths of control packet delivery between multiple network interface cards in the chassis switch.

## Claims

### Claim 1

A network interface card, installed in a chassis switch, comprising:
a switch device, comprising a plurality of ports coupled to other network interface cards in the chassis switch, and each of the other network interface cards is a fabric card or a line card; and
a controller, configured to, when the network interface card is a fabric card, perform acts comprising:
configuring the ports to be in a forwarding state and sending a first control packet through each of the ports;
receiving a plurality of second control packets from a plurality of line cards through the ports in response to the network interface card being a root fabric card;
determining one of the line cards to be a designated line card according to a plurality of second identities in the second control packets; and
configuring the ports other than the one coupled to the designated line card to be in a listening state in response to the network interface card being a backup fabric card;
wherein the controller is further configured to, when the network interface card is a line card, perform acts comprising:
configuring the ports to be in the listening state and receiving the first control packet from each of a plurality of fabric cards through the ports;
determining one of the fabric cards to be the root fabric card according to a plurality of first identities in the first control packet; and
configuring the ports to be in the forwarding state in response to the network interface card being the designated line card.

### Claim 2 (depends on 1)

The network interface card of claim 1, wherein the controller is further configured to determine the line cards other than the designated line card to be one or more backup line cards according to the second identities in response to the network interface card being the root fabric card, and determine the fabric cards other than the root fabric card to be one or more backup fabric cards according to the first identities when the network interface card is a line card.

### Claim 3 (depends on 1)

The network interface card of claim 1, wherein, when the network interface card is a fabric card, the controller is further configured to perform acts comprising:
sending a third control packet through each of the ports in response to the network interface card being the root fabric card;
wherein the third control packet comprises information of the root fabric card and the designated line card.

### Claim 4 (depends on 3)

The network interface card of claim 3, wherein, when the network interface card is a line card, the controller is further configured to perform acts comprising:
configuring one of the ports, which is coupled to the root fabric card, to be in the forwarding state for sending the second control packet;
receiving the third control packet through the ports; and
in response to the network interface card being the designated line card, forwarding the third control packet through each of the ports after configuring the ports to be in the forwarding state.

### Claim 5 (depends on 1)

The network interface card of claim 1, wherein the second control packet comprises a record for storing the smallest or largest of the first identities, and the controller is further configured to determine one of the fabric cards, which corresponds to the smallest or largest of the first identities, to be the root fabric card.

### Claim 6 (depends on 1)

The network interface card of claim 1, wherein the controller is further configured to determine one of the line cards, which corresponds to the smallest or largest of the second identities, to be the designated line card.

### Claim 7

A fabric card, installed in a chassis switch, comprising:
a switch device, comprising a plurality of ports configured to couple to line cards in the chassis switch; and
a controller, configured to configure the ports to be in a forwarding state and send a first control packet comprising a first identity through each of the ports, and in response to receiving a plurality of second control packets from the line cards through the ports during a period of time, perform acts comprising:
determining one of the line cards to be a designated line card according to a plurality of second identities in the second control packets; and
sending a third control packet through each of the ports, wherein the third control packet comprises information of the designated line card and the fabric card being a root fabric card.

### Claim 8 (depends on 7)

The fabric card of claim 7, wherein the controller is further configured to determine the line cards other than the designated line card to be one or more backup line cards according to the second identities, in response to receiving the second control packets from the line cards through the ports during the period of time.

### Claim 9 (depends on 7)

The fabric card of claim 7, wherein, in response to not receiving the second control packets through the ports during the period of time, the controller is further configured to perform acts comprising:
receiving the third control packet from the line cards through the ports;
determining the fabric card to be a backup fabric card according to the third control packet; and
configuring the ports other than the one coupled to the designated line card to be in a listening state.

### Claim 10 (depends on 7)

The fabric card of claim 7, wherein the controller is further configured to determine one of the line cards, which corresponds to the smallest or largest of the second identities, to be the designated line card.

### Claim 11

A line card, installed in a chassis switch, comprising:
a switch device, comprising a plurality of ports configured to couple to fabric cards in the chassis switch; and
a controller, configured to configure the ports to be in a listening state and receive a plurality of first control packets from the fabric cards through the ports, determine one of the fabric cards to be a root fabric card according to a plurality of first identities in the first control packets, and configure one of the ports, which is coupled to the root fabric card, to be in a forwarding state for sending a second control packet comprising a second identity.

### Claim 12 (depends on 11)

The line card of claim 11, wherein the controller is further configured to determine the fabric cards other than the root fabric card to be one or more backup fabric cards according to the first identities.

### Claim 13 (depends on 11)

The line card of claim 11, wherein the controller is further configured to receive a third control packet comprising information of the root fabric card and a designated line card from the root fabric card through the ports, and determine the line card to be the designated line card according to the third control packet.

### Claim 14 (depends on 13)

The line card of claim 13, wherein, when the line card is the designated line card, the controller is further configured to configure the ports to be in the forwarding state, and forward the third control packet through each of the ports other than the one coupled to the root fabric card.

### Claim 15 (depends on 11)

The line card of claim 11, wherein the controller is further configured to drop the third control packet after the line card is determined to be a backup line card according to the third control packet.

### Claim 16 (depends on 11)

The line card of claim 11, wherein the controller is further configured to determine one of the fabric cards, which corresponds to the smallest or largest of the first identities, to be the root fabric card.
