IP Library Granted Patent US 11,757,794
Granted Patent B2
US 11,757,794 · App. 17/013,120 · Granted Sep 12, 2023

Port configuration method and communications device

Inventors: Xinggui Wu (Nanjing, CN); Yue Yin (Nanjing, CN); Heyang Liu (Nanjing, CN); Liyang Sun (Nanjing, CN); Hewen Zheng (Nanjing, CN)
Assignee: Huawei Technologies Co., Ltd.
H04L49/253H04L41/085H04L45/74H04L61/5007H04L61/5038
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,757,794
App. No.
17/013,120
Granted
Sep 12, 2023
Kind
B2
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 (36)

1. A method performed by a first communication device, the method comprising:

receiving indication information of an identifier of a second port group of a second communication device, wherein the indication information is received via a physical connection between a first port of the first communication device and a second port in the second port group of the second communication device;

determining an internet protocol (IP) address of the first port used to receive the indication information using the identifier of the second port group, an identifier of a first port group that includes the first port, and a preconfigured first mapping relationship, wherein the preconfigured first mapping relationship comprises a correspondence between the identifier of the second port group, the identifier of the first port group, and the IP address of the first port;

in response to determining the IP address of the first port used to receive the indication information, configuring the IP address of the first port for the first port; and

communicating with the second communication device using the IP address of the first port as the IP address of the first port.

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

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

4. The method according to claim 1 , wherein the first communication device and the second communication device are different devices in a layer-3 network.

5. The method according to claim 1 , wherein each of the first communication device and the second communication devices is a switch or a server in a network.

6. The method according to claim 1 , wherein the first communication device and the second communication device are comprised in a data center.

7. The method according to claim 1 , wherein the first communication device and the second communication device are comprised in a same subnet of a layer-3 network.

8. The method according to claim 1 , further comprising:

sending the identifier of the first port to the second communication device.

9. The method according to claim 1 , wherein the preconfigured first mapping relationship comprises a plurality of correspondences, and each correspondence is between a respective identifier of a port group of the second communication device, a respective identifier of the first port group, and an a respective IP address of the first port, and each correspondence of the plurality of correspondences includes a different respective IP address of the first port.

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

11. A first communication 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:

receiving indication information of an identifier of a second port group of a second communication device, wherein the indication information is received via a physical connection between a first port of the first communication device and a second port in the second port group of the second communication device;

determining an internet protocol (IP) address of the first port used to receive the indication information using the identifier of the second port group, an identifier of a first port group that includes the first port, and a preconfigured first mapping relationship, wherein the preconfigured first mapping relationship comprises a correspondence between the identifier of the second port group, the identifier of the first port group, and the IP address of the first port;

in response to determining the IP address of the first port used to receive the indication information, configuring the IP address of the first port for the first port; and

communicating with the second communication device using the IP address of the first port as the IP address of the first port.

12. The first communication device according to claim 11 , wherein the first communication device comprises only the first port group, and the identifier of the first port group is an identifier of the first communication device.

13. The first communication device according to claim 11 , wherein the indication information is carried in a device identifier field in a link layer discovery protocol (LLDP) packet.

14. The first communication device according to claim 11 , wherein the indication information is carried in a reserved field in a link layer discovery protocol (LLDP) packet.

15. A non-transitory computer readable storage medium, comprising an instruction, wherein when the instruction runs on a computer, the computer causes a first communication device to:

receive indication information of an identifier of a second port group of a second communication device, wherein the indication information is received via a physical connection between a first port of the first communication device and a second port in the second port group of the second communication device;

determine an internet protocol (IP) address of the first port used to receive the indication information using the identifier of the second port group, an identifier of a first port group that includes the first port, and a preconfigured first mapping relationship, wherein the preconfigured first mapping relationship comprises a correspondence between the identifier of the second port group, the identifier of the first port group, and the IP address of the first port;

in response to determining the IP address of the first port used to receive the indication information, configure the IP address of the first port for the first port; and

communicate with the second communication device using the IP address of the first port as the IP address of the first port.

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

17. The non-transitory computer readable storage medium according to claim 15 , wherein the indication information is carried in a device identifier field in a link layer discovery protocol (LLDP) packet.

18. The non-transitory computer readable storage medium according to claim 15 , wherein the indication information is carried in a reserved field in a link layer discovery protocol (LLDP) packet.

19. The non-transitory computer readable storage medium according to claim 15 , wherein the first communication device and the second communication device are different devices in a layer-3 network.

20. The non-transitory computer readable storage medium according to claim 15 , wherein each of the first communication device and the second communication devices is a switch or a server in a network.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 14, 2020
From: WU, XINGGUI; YIN, YUE; LIU, HEYANG; SUN, LIYANG; ZHENG, HEWEN
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 054640/0926 →
Priority Claims (1)
CN 201810180519.0 · Mar 5, 2018 · national
Continuity (2)
Continuation PCTCN2019075879 · Feb 22, 2019
Related Publication 20200403938A1 · Dec 24, 2020
Cited By (1)
US 12,445,394