Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Port state setting method, and port priority selection method and device

A port status and port technology, applied in the network-related field, can solve problems such as unstable link quality, link flapping, and inability to dynamically select ports, reducing the possibility of repeated flapping and improving link quality.

Active Publication Date: 2014-02-05
BEIJING HUAWEI DIGITAL TECH
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a link port selection method and device to solve the technical problem of repeated link vibration due to unstable link quality after the link failure recovery in the prior art
[0007] The embodiment of the present invention provides a port priority selection method and device to solve the technical problem in the prior art that the port cannot be dynamically selected according to the actual operation quality of the link, resulting in a decrease in the quality of the link in the selected state

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Port state setting method, and port priority selection method and device
  • Port state setting method, and port priority selection method and device
  • Port state setting method, and port priority selection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] The embodiment of the present invention provides a method and device for setting the port state. When the link is restored to use, the port (or interface) is not directly set to the selected (SELECTED) state, but is set at a preset delay time (that is, delay Select the time corresponding to the information), first set the port to the standby (STANDBY) state or waiting state, in the "delay selection" state, if the message times out (the timeout flag is TRUE), or the synchronization flag bit is FALSE , indicating that the interface has not been negotiated normally. At this time, the interface enters the UNSELECTED state and stops the delay. After the delay time is over, if there is no packet timeout, then set the state of the port to the selected state, so as to facilitate data forwarding through the port. The embodiment of the present invention can avoid immediately selecting the link corresponding to the port by configuring the time corresponding to the "delay selection...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiments of the invention disclose a port state setting method, and port priority selection method and device. The setting method comprises the following steps: in the link failure recovery process, a first LACP message for establishing connection is sent by a transmitting end to a receiving end, wherein the first LACP message comprises delay selection information; when an acknowledgement message responding to the first LACP message sent by the receiving end is received by the transmitting end, the delay timing process is started, and the port state of a corresponding link on the transmitting end is set to the standby state; and when the time of the delay timing process reaches a default delay time, if ports of the corresponding link on the transmitting end are normal, then the state of the ports of the corresponding link on the transmitting end is set to the selected state, and a second LACP information of the received acknowledgement message is sent to the receiving end, so that when the second LACP information is received by the receiving end, the state of the ports of a corresponding link on the receiving end is set to the selected state. According to the invention, the possibility of link repeated shock can be reduced, and the link quality can be improved.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a port state setting method, a port priority selection method and a device. Background technique [0002] The Link Aggregation Control Protocol (LACP, Link Aggregation Control Protocol) based on the IEEE802.3ad standard is a protocol that realizes dynamic link aggregation and de-aggregation. LACP exchanges information with the peer end through Link Aggregation Control Protocol Data Unit (LACPDU, Link Aggregation Control Protocol Data Unit). After adding member interfaces to the trunk in static LACP mode, these interfaces will notify the peer of their system priority, system media access control (MAC, Media Access Control) address, interface priority, interface number and operation by sending LACPDU Key (Key) and other information. After receiving the information, the peer end compares the information with the information stored in its own interface to select the interfaces tha...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L12/24
Inventor 张晓益
Owner BEIJING HUAWEI DIGITAL TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products