# US 2020/0403938 A1 · Port Configuration Method and Communications Device

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

- Number: US 2020/0403938 A1
- Document ID: US20200403938A1
- Status: Published application
- Kind: A1
- Application number: 17/013,120
- Filed: 2020-09-04
- Published: 2020-12-24
- Earliest claimed: 2018-03-05
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Xinggui Wu; Yue Yin; Heyang Liu; Liyang Sun; Hewen Zheng
- Web page: https://patentgrep.com/patent/US20200403938A1

## CPC

- H04L 49/253: using establishment or release of connections between ports
- H04L 41/085: Retrieval of network configuration; Tracking network configuration history
- H04L 45/74: Address processing for routing
- H04L 61/5007: Internet protocol [IP] addresses
- H04L 61/5038: for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
- H04L 45/28: using route fault recovery
- Y02D 30/00: Reducing energy consumption in communication networks
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

This application provides a port configuration method and a communications device. The method includes: obtaining, by a first communications device, an identifier of a second port group of a second communications device, where the identifier of the second port group is used to indicate configuration information of a first port of the first communications device, and establishing, by the first communications device, a connection to a second port in the second port group by using the first port, where the first port is any port of the first communications device, the second port is any port in the second port group, and the configuration information includes an internet protocol IP address; determining, by the first communications device, the configuration information of the first port based on the identifier of the second port group; and configuring, by the first communications device, the configuration information for the first port.

## Claims

### Claim at position 1

-15. (canceled)

### Claim 16

A method, comprising:
obtaining, by a first communications device, an identifier of a second port group of a second communications device, wherein the identifier of the second port group indicates configuration information of a first port of the first communications device;
establishing, by the first communications device, a connection to a second port in the second port group using the first port, wherein the first port is any port of the first communications device, the second port is any port in the second port group, and the configuration information comprises an internet protocol (IP) address;
determining, by the first communications device, the configuration information of the first port based on the identifier of the second port group; and
configuring, by the first communications device, the configuration information for the first port.

### Claim 17 (depends on 16)

The method according to claim 16, wherein determining, by the first communications device, the configuration information of the first port based on the identifier of the second port group comprises:
determining, by the first communications device, the configuration information of the first port based on the identifier of the second port group and a preconfigured first mapping relationship, wherein the first mapping relationship indicates a correspondence between the identifier of the second port group and the configuration information.

### Claim 18 (depends on 16)

The method according to claim 16, wherein the first communications device comprises at least one port group, the at least one port group comprises a first port group, the first port is any port in the first port group, and determining, by the first communications device, the configuration information of the first port based on the identifier of the second port group comprises:
determining, by the first communications device, the configuration information based on the identifier of the second port group and an identifier of the first port group.

### Claim 19 (depends on 18)

The method according to claim 18, wherein determining, by the first communications device, the configuration information based on the identifier of the second port group and the identifier of the first port group comprises:
determining, by the first communications device, the configuration information based on the identifier of the second port group, the identifier of the first port group, and a preconfigured second mapping relationship, wherein the second mapping relationship indicates a correspondence between the identifier of the second port group, the identifier of the first port group, and the configuration information.

### Claim 20 (depends on 18)

The method according to claim 18, wherein the first communications device comprises only the first port group, and the identifier of the first port group is an identifier of the first communications device.

### Claim 21 (depends on 16)

The method according to claim 16, wherein obtaining, by the first communications device, the identifier of the second port group of the second communications device comprises:
receiving, by the first communications device, indication information sent by the second communications device, wherein the indication information indicates the identifier of the second port group.

### Claim 22 (depends on 21)

The method according to claim 21, wherein the indication information is carried in a device identifier field in a link layer discovery protocol (LLDP) packet or a reserved field in the LLDP packet.

### Claim 23

A first communications device, comprising:
a transceiver;
a processor; and
a non-transitory computer-readable storage medium storing a program to be executed by the processor, the program including instructions for:
obtaining an identifier of a second port group of a second communications device, wherein the identifier of the second port group indicates configuration information of a first port of the first communications device;
establishing, by the first communications device, a connection to a second port in the second port group using the first port, wherein the first port is any port of the first communications device, the second port is any port in the second port group, and the configuration information comprises an internet protocol (IP) address;
determining the configuration information of the first port based on the identifier of the second port group; and
configuring the configuration information for the first port.

### Claim 24 (depends on 23)

The first communications device according to claim 23, wherein the program includes instructions for:
determining the configuration information of the first port based on the identifier of the second port group and a preconfigured first mapping relationship, wherein the first mapping relationship indicates a correspondence between the identifier of the second port group and the configuration information.

### Claim 25 (depends on 23)

The first communications device according to claim 23, wherein the first communications device comprises at least one port group, the at least one port group comprises a first port group, the first port is any port in the first port group, and the program includes instructions for:
determining the configuration information based on the identifier of the second port group and an identifier of the first port group.

### Claim 26 (depends on 25)

The first communications device according to claim 25, wherein the program includes instructions for:
determining the configuration information based on the identifier of the second port group, the identifier of the first port group, and a preconfigured second mapping relationship, wherein the second mapping relationship indicates a correspondence between the identifier of the second port group, the identifier of the first port group, and the configuration information.

### Claim 27 (depends on 25)

The first communications device according to claim 25, wherein the first communications device comprises only the first port group, and the identifier of the first port group is an identifier of the first communications device.

### Claim 28 (depends on 23)

The first communications device according to claim 23, wherein the program includes instructions for:
receiving indication information sent by the second communications device, wherein the indication information indicates the identifier of the second port group.

### Claim 29 (depends on 28)

The first communications device according to claim 28, wherein the indication information is carried in a device identifier field in a link layer discovery protocol (LLDP) packet or a reserved field in the LLDP packet.

### Claim 30

A non-transitory computer readable storage medium, comprising an instruction, wherein when the instruction runs on a computer, the computer causes a first communications device to:
obtain an identifier of a second port group of a second communications device, wherein the identifier of the second port group indicates configuration information of a first port of the first communications device;
establish a connection to a second port in the second port group using the first port, wherein the first port is any port of the first communications device, the second port is any port in the second port group, and the configuration information comprises an internet protocol (IP) address;
determine the configuration information of the first port based on the identifier of the second port group; and
configure the configuration information for the first port.

### Claim 31 (depends on 30)

The non-transitory computer readable storage medium according to claim 30, wherein determining the configuration information of the first port based on the identifier of the second port group comprises:
determining the configuration information of the first port based on the identifier of the second port group and a preconfigured first mapping relationship, wherein the first mapping relationship indicates a correspondence between the identifier of the second port group and the configuration information.

### Claim 32 (depends on 30)

The non-transitory computer readable storage medium according to claim 30, wherein the first communications device comprises at least one port group, the at least one port group comprises a first port group, the first port is any port in the first port group, and determining the configuration information of the first port based on the identifier of the second port group comprises:
determining the configuration information based on the identifier of the second port group and an identifier of the first port group.

### Claim 33 (depends on 32)

The non-transitory computer readable storage medium according to claim 32, wherein determining the configuration information based on the identifier of the second port group and the identifier of the first port group comprises:
determining the configuration information based on the identifier of the second port group, the identifier of the first port group, and a preconfigured second mapping relationship, wherein the second mapping relationship indicates a correspondence between the identifier of the second port group, the identifier of the first port group, and the configuration information.

### Claim 34 (depends on 32)

The non-transitory computer readable storage medium according to claim 32, wherein the first communications device comprises only the first port group, and the identifier of the first port group is an identifier of the first communications device.

### Claim 35 (depends on 30)

The non-transitory computer readable storage medium according to claim 30, wherein obtaining the identifier of the second port group of the second communications device comprises:
receiving indication information sent by the second communications device, wherein the indication information indicates the identifier of the second port group.
