Patent ID: 11882059
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A port selection method implemented by a first network device and comprising:
determining whether a first port status of a first port in a first network device is switchable from a first state to an UP state, wherein the first state is different from the UP state, and wherein the UP state is a state in which a port is able to communicate with another network device;
receiving first information from a second network device, wherein the first information indicates that a second port status of a second port in the second network device is a second state, and wherein the second state is different from the UP state; and
switching, based on the first port status and the second port status, a third port status of a port from either the first port or the second port according to a delay policy, wherein the third port status indicates the UP state, wherein the delay policy comprises skipping a delay state of a port from either the first port or the second port when another port from either the first port or the second port is in the delay state, and wherein the delay state is a state of switching to the UP state after waiting for a preset period of time.