摘要 |
The disclosure provides a method for dynamically adjusting a switching loop. The method comprises the following steps: a network equipment in the switching loop determines current link costs of all links connected with the network equipment, wherein the network equipment determines the current link costs of the links according to initial link costs and link adjustment parameters of the links (S201); then the network equipment acquires the current link costs of all the links in the switching loop, and determines a main link of the switching loop, wherein the current link cost of the main link is less than or equal to a preset link cost (S203). The disclosure also provides a network equipment. With the solution of the disclosure, the link actually having an optimal link cost can be determined as the main link according to the current link cost, thus the problem in the related art that the transmission efficiency of the whole network is influenced by reason of determining the link having a worse current link cost as the main link is avoided, and the transmission efficiency and reliability of the main link and the whole network are improved. |