CN111988162B - Method and device for managing port configuration mode - Google Patents

Method and device for managing port configuration mode Download PDF

Info

Publication number
CN111988162B
CN111988162B CN201910440079.2A CN201910440079A CN111988162B CN 111988162 B CN111988162 B CN 111988162B CN 201910440079 A CN201910440079 A CN 201910440079A CN 111988162 B CN111988162 B CN 111988162B
Authority
CN
China
Prior art keywords
port
configuration mode
local
physical state
home
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910440079.2A
Other languages
Chinese (zh)
Other versions
CN111988162A (en
Inventor
余辰东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201910440079.2A priority Critical patent/CN111988162B/en
Priority to PCT/CN2020/092097 priority patent/WO2020238848A1/en
Publication of CN111988162A publication Critical patent/CN111988162A/en
Application granted granted Critical
Publication of CN111988162B publication Critical patent/CN111988162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • H04L41/0873Checking configuration conflicts between network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/147Network analysis or design for predicting network behaviour

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a method and a device for managing a port configuration mode, wherein the method comprises the following steps: comparing the consistency of the local terminal port configuration mode and the predicted opposite terminal port configuration mode; and setting the configuration mode of the local port according to the physical state and the consistency of the local port. Therefore, the configuration mode of the port of the home terminal can be automatically set, and the stability of the service of the network equipment is ensured.

Description

Method and device for managing port configuration mode
Technical Field
The present invention relates to, but not limited to, ethernet technology, and more particularly, to a method and apparatus for managing port configuration modes.
Background
In the process of interfacing ethernet devices, except for ensuring normal physical connection during general interfacing, it is generally required that the port configuration modes of both interfacing sides must be kept consistent, otherwise, a fault may occur.
In practical applications, it often happens that after a docking device is restarted for some reason (such as device power failure or active operation), the physical state of a device docking port is a DOWN fault (hereinafter, the device is referred to as a home device). This situation can cause traffic and management interrupts to be carried on the port. The reason for the failure is often found to be that the port configuration modes of the two docking devices are inconsistent, and in the prior art, the port configuration modes of the two docking devices need to be modified by the two docking parties so as to keep the two docking devices consistent. And the local terminal equipment cannot remotely modify the port configuration mode due to the off-pipe, so that the modification is difficult.
In network construction, the docking equipment may belong to different operation and maintenance parties, and cannot be monitored through a unified operation and maintenance platform, so that it cannot be ensured that the port configuration modes of the docking equipment are kept consistent, and further maintenance cost is increased. In the long-term operation and maintenance process of the network device, situations such as device replacement, configuration modification and the like also exist, and the configuration mode of the docking port may be modified, so that the configuration mode of the docking port may be inconsistent. Further, although a link may be established when the configuration modes of the docking ports are not consistent, when the behavior operation of the network device is changed due to software update or the like, the link cannot be established for the docking ports.
Disclosure of Invention
In view of this, an embodiment of the present invention provides a method for managing a port configuration mode, including:
comparing the consistency of the local terminal port configuration mode and the predicted opposite terminal port configuration mode;
and setting the configuration mode of the local port according to the physical state and the consistency of the local port.
The embodiment of the invention also provides a device for managing the port configuration mode, which comprises the following components:
the comparison unit is used for comparing the consistency of the local terminal port configuration mode and the predicted opposite terminal port configuration mode;
and the setting unit is used for setting the configuration mode of the local port according to the physical state and the consistency of the local port.
An embodiment of the present invention further provides a computer-readable storage medium, where an information processing program is stored, and when the information processing program is executed by a processor, the information processing program implements the steps of the method for managing a port configuration mode.
Compared with the prior art, the technical scheme provided by the embodiment of the invention can automatically set the port configuration mode of the home terminal, and ensures the stability of the service of the network equipment.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a flowchart illustrating a method for managing a port configuration mode according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for managing a port configuration mode according to another embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for managing a port configuration mode according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for managing a port configuration mode according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
In the prior art, when network devices are connected, port negotiation is performed according to respective port configuration modes. When the two-port mode negotiation depends on the respective port configuration. When the two-port mode (adaptive/mandatory) configuration is inconsistent, it may cause the port not to work normally (even if the port works normally, there is a hidden danger).
In addition, since the network docking device may perform management and maintenance separately in terms of physical location and logical relationship, it is difficult to perform unified management and query on the above two-port configuration, that is, it is difficult to perform processing when a problem occurs.
Therefore, the embodiment of the invention provides the following technical solutions to the above problems.
Fig. 1 is a flowchart illustrating a method for managing a port configuration mode according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 101, comparing the consistency of the local terminal port configuration mode and the predicted opposite terminal port configuration mode;
and 102, setting the configuration mode of the local port according to the physical state and the consistency of the local port.
Wherein, the configuration mode of the local terminal port is self-adaptive or mandatory; the opposite terminal port configuration mode is unknown, self-adaptive or mandatory; the physical state of the local terminal port is normal UP or fault DOWN.
Wherein, said setting the local port configuration mode according to the physical state and the consistency of the local port comprises:
when the physical state of the local port is UP, no matter the consistency is consistent or inconsistent, or the opposite port configuration mode is unknown, the local port configuration mode is kept unchanged;
or, when the physical state of the home port is DOWN and the configuration mode of the opposite port is unknown, reversely modifying the configuration mode of the home port, including: when the local port configuration mode is self-adaptive, modifying to be mandatory, and when the local port configuration mode is mandatory, modifying to be self-adaptive;
or, when the physical state of the home port is DOWN and the consistency is inconsistent, modifying the home port configuration mode to the opposite port configuration mode;
or when the physical state of the local port is DOWN and the consistency is consistent, keeping the local port configuration mode unchanged.
When the physical state of the home port is UP and the consistency is inconsistent, after the configuration mode of the home port is kept unchanged, the method further includes:
starting a timer T3, and monitoring the physical state of the local port;
when the physical state of the local port is kept to be UP before the T3 is overtime, sending a first notification message for notifying that the local port configuration mode is inconsistent with the opposite port configuration mode;
or, before the T3 is overtime, when the physical state of the home port is jittered, sending a first alarm message for alarming that the physical state of the home port is unstable and the home port configuration mode is inconsistent with the peer port configuration mode;
or, when the physical state of the home port changes to DOWN before the T3 is overtime, setting the home port configuration mode again according to the physical state of the home port and the consistency.
When the physical state of the home port is DOWN and the configuration mode of the opposite port is unknown, after the home port configuration mode is modified reversely, the method further comprises:
starting a timer T3, and monitoring the physical state of the local port;
when the physical state of the local port is kept at DOWN before the T3 is overtime, reversely modifying the local port configuration mode again, and sending a second alarm message for alarming that the physical state of the local port is abnormal and the local port configuration mode is inconsistent with the opposite port configuration mode;
or, before the T3 time out, when the physical state of the home port is jittered, reverse modifying the home port configuration mode again, and sending a third alarm message for alarming that the physical state of the home port is unstable and the home port configuration mode is inconsistent with the peer port configuration mode;
or, when the physical state of the local port changes to UP before the T3 is overtime, sending a second notification message for notifying that the local port configuration mode is modified and is inconsistent with the local port configuration mode and the opposite port configuration mode.
When the physical state of the home port is DOWN and the consistency is consistent, after the configuration mode of the home port is kept unchanged, the method further comprises:
starting a counter N, wherein N is initialized to 0, restarting the local port, starting a timer T4, and detecting the physical state of the local port;
if the physical state of the home port is UP, stopping the operation of the home port;
if the physical state of the local port is DOWN, restarting the local port again after T4 exceeds the time limit, detecting the physical state of the local port, and N = N +1;
and stopping the operation of the local port when the N reaches a threshold value.
Before comparing the consistency of the local port configuration mode and the predicted opposite port configuration mode, the method further comprises the following steps:
detecting the characteristic code stream sent by the opposite terminal port and received by the local terminal port;
when the feature code stream value is/C/frame, predicting the opposite terminal port configuration mode to be self-adaptive;
when the feature code stream value is/I/frame, predicting the opposite terminal port configuration mode to be forced;
and when the detection is invalid, predicting that the opposite end port configuration mode is unknown.
Before detecting the feature code stream sent by the opposite end port received by the local end port, the method further includes: starting a timer T2;
predicting the opposite terminal port configuration mode according to the characteristic code stream value when the characteristic code stream value is kept stable before the timer T2 is overtime; when the characteristic code stream value is unstable, the detection is invalid;
and after the timer T2 is overtime, restarting the timer T2 and re-detecting the characteristic code stream.
And in the T2, the frequency of detecting the characteristic code stream is more than or equal to 3.
Before setting the home port configuration mode according to the physical state and the consistency of the home port, the method further includes:
detecting the effective state of the local port;
judging the physical state of the local port according to the effective state of the local port, including: and when the effective state of the local port is UP, judging that the physical state of the local port is UP, and when the effective state of the local port is DOWN, judging that the physical state of the local port is DOWN.
Before detecting the valid state of the home port, the method further comprises: starting a timer T1;
before the timer T1 is overtime, when the effective state of the local port is kept stable, judging the physical state of the local port according to the effective state of the local port; and when the valid state of the local port is unstable, detecting to be invalid.
And in the T1, the number of times of detecting the effective state of the local port is more than or equal to 3.
And the notification message or the alarm message carries the geographic position of the local port and/or the geographic position of the opposite port.
Fig. 2 is a flowchart illustrating a method for managing a port configuration mode according to another embodiment of the present invention, as shown in fig. 2, the method includes:
step 201, detecting the physical state of a local port in real time;
and judging the physical state of the local port by detecting the effective state of the local port. For example, the port active state is UP or DOWN. When the effective state of the port of the local end is detected to be UP, the physical state of the port is judged to be UP, and when the effective state of the port of the local end is detected to be DOWN, the physical state of the port is judged to be DOWN.
Specifically, the timer T1 may be started to detect the physical state of the local port at a certain frequency. Through the timer T1, whether the physical state of the port is stable or not can be detected, so that misjudgment caused by instability of the physical state of the port due to certain factors can be avoided. Before the timer T1 is overtime, the physical state of the monitoring port is kept stable, the judgment result is valid, otherwise, the result in the period is invalid. For example, in T1, if the detected port physical state is DOWN or UP all the time, the state is stable, and if the detected port physical state is DOWN once and UP once, the state is unstable. And after the T1 timer is overtime, restarting the T1 timer and re-detecting the physical state of the port.
The detection frequency value in T1, namely the sampling detection frequency, can be selected according to a certain strategy, so that the sampling detection frequency is at least more than or equal to 3 in the T1 period.
Step 202, detecting a feature code stream sent by an opposite terminal port received by the local terminal port in real time, and predicting a configuration mode of the opposite terminal port according to the feature code stream value;
the configuration mode of the opposite port can be predicted by detecting whether the characteristic code stream received by the Rx receiving port of the local port is/C/I/frame. For example, the predicted peer port configuration mode valid state is adaptive or mandatory. When the detected characteristic code stream value is/C/frame, the self-adaption is judged; and when the detected characteristic code stream is/I/frame and no/C/frame, judging that the opposite terminal port mode is mandatory.
Specifically, the timer T2 may be started, and the feature code stream received by the Rx port may be directly detected in the physical layer. And detecting whether the characteristic code stream received by the port is stable or not through the timer T2 so as to avoid misjudgment caused by instability of the characteristic code stream received by certain factors. Before the timer T2 is overtime, monitoring that the state of the code stream characteristic value received by the local terminal port is stable, and predicting the configuration mode of the opposite terminal port according to the code stream characteristic value; otherwise, the detection in the period is invalid, and the opposite terminal port mode is judged to be unknown. For example, in T2, if the detected code stream characteristic value is always/C/, it indicates that the code stream characteristic value remains stable, and it is determined that the opposite-end port configuration mode is adaptive; for example, if the detected code stream characteristic value is/C/, and the other is/I/frame, etc., it indicates that the code stream characteristic value is unstable, the detection is invalid, and the opposite-end port mode is predicted to be unknown. And after the T2 timer is overtime, restarting the T2 timer and re-detecting the physical state of the port.
The detection frequency value in T2, namely the sampling detection frequency, can be valued according to a certain strategy, so that the sampling detection frequency is at least more than or equal to 3 in the T2 period.
Step 203, comparing the consistency of the port configuration mode of the local terminal and the predicted port configuration mode of the opposite terminal; and setting the configuration mode of the local port according to the physical state and the consistency of the local port.
Wherein, the physical port state of the home terminal is: UP or DOWN; the predicted opposite port configuration mode is as follows: unknown, adaptive, mandatory; the port configuration mode of the home terminal is as follows: self-adapting and forcing.
Under two scenes that the physical state of a local terminal port is UP or DOWN respectively, the method comprises the following steps:
1.1, when the physical state of the local port is UP, comparing the consistency of the local port configuration mode and the predicted opposite port configuration mode:
1) When the predicted opposite port configuration mode is consistent with the local port configuration mode, keeping the current configuration mode of the local port unchanged;
2) When the predicted opposite port configuration mode is unknown, keeping the current configuration mode of the local port unchanged;
3) And when the predicted opposite port configuration mode is inconsistent with the local port configuration mode, keeping the current configuration mode of the local port unchanged, and performing 2.1 processing.
And the predicted opposite end port configuration mode and the local end port configuration mode can be displayed through the operation and maintenance interface.
1.2, when the physical state of the port of the local end is DOWN, comparing the consistency of the port configuration mode of the local end with the predicted port configuration mode of the opposite end:
1) When the predicted opposite end port configuration mode is unknown, the local end port configuration mode is reversely modified and processed by 2.2;
specifically, the home port mode is reversely modified according to the current value (adaptive or mandatory) of the home port configuration mode, for example, the current value of the home port configuration mode is modified into mandatory when the current value is adaptive, and modified into adaptive when the current value is mandatory.
2) When the predicted opposite end port configuration mode is definite (self-adaptive or forced) and is inconsistent with the local end port configuration mode, the local end port configuration mode is modified into the opposite end port configuration mode, and 2.2 processing is carried out;
specifically, the home port configuration mode is modified according to the current value (adaptive or mandatory) of the predicted opposite port configuration mode, for example, if the opposite port configuration mode is currently adaptive, the home port configuration mode is modified to be adaptive, and if the opposite port configuration mode is currently mandatory, the home port configuration mode is modified to be mandatory.
3) And when the predicted opposite end port configuration mode is definite (self-adaptive or mandatory) and is consistent with the local end port configuration mode, keeping the current local end port configuration mode unchanged, and performing 2.3 processing.
2.1, starting a timer T3, monitoring the physical state of the local port, and providing a notification or alarm message according to the detection result:
the physical state of the port of the home terminal is as follows: UP or DOWN;
1) And if the physical state of the local port is kept to be UP before T3 is overtime, generating a notification message (notification 1: used for informing the opposite terminal port configuration mode not consistent with the local terminal port configuration mode);
2) And if the T3 is overtime, the physical state of the port shakes, and an alarm message is generated (alarm 1: used for informing that the physical state of the local terminal port is unstable and that the opposite terminal port configuration mode is inconsistent with the local terminal port configuration mode);
3) And if the physical state of the port of the home terminal is changed into DOWN before T3 is overtime, the processing is switched to 1.2.
The method comprises the steps of providing notification or alarm information, recording a log, wherein the log content comprises a current configuration mode of a local port, whether the configuration mode is modified, if so, the record and the reason of modification and the like.
2.2, starting a timer T3, monitoring the physical state of the local port, and providing a notification or alarm message according to the detection result:
the physical state of the port of the home terminal is as follows: UP or DOWN;
1) If the physical state of the port of the local end is kept to be DOWN before T3 is overtime, the mode of the port of the local end is reversely modified again, namely the original configuration mode is recovered; and generates an alarm message (alarm 2: used to inform the local port of the physical state abnormity and the configuration mode of the opposite port is inconsistent with that of the local port);
2) If the physical state of the local port is jittered before T3 is overtime, the local port mode is reversely modified again, namely the original configuration mode is recovered; and generates an alarm message (alarm 1: used to inform the physical state of the port of the local terminal to be unstable and the configuration mode of the port of the opposite terminal to be inconsistent with the configuration mode of the port of the local terminal);
3) If T3 is overtime and the physical state of the local port is changed into UP, the current port configuration mode is not modified, and a notification message is generated (notification 2: for notifying that the home port configuration mode has been modified, and that the peer port configuration mode is inconsistent with the home port configuration mode).
The log content includes the current configuration mode of the local port, whether the configuration mode is modified, if so, the modified record and reason, and the like.
2.3, starting a counter N (N is initialized to 0), restarting the local port, starting a timer T4, and detecting the physical state of the port:
1) If the physical state of the port is UP, ending, namely stopping the operation of the port;
2) And if the physical state of the port is DOWN, restarting the port again after T4 exceeds the time limit, detecting the physical state of the port, and N = N +1.
And when the N reaches the threshold value, stopping the operation on the port.
Wherein, the threshold value can be artificially set according to a certain rule.
In which, a log is also recorded, and the log content includes, but is not limited to, port configuration/status, restart reason/number, etc.
The notification message or the alarm message in 2.1 or 2.2 may be reported to a network manager or other operation and maintenance platforms. The notification message or the alarm message can also carry information such as the physical position of the port of the home terminal/the opposite terminal, and operation and maintenance personnel can conveniently operate on site.
According to the technical scheme provided by the embodiment, a code stream is directly received through a detection port, the port configuration mode of opposite-end equipment is judged according to the port mode characteristic code stream, and then the port configuration mode of the local end is adjusted and set according to the physical state of the port of the local end and the comparison between the port configuration mode of the local end and the port configuration mode of the opposite end; therefore, on the basis of the conventional equipment negotiation standard, any change on the butt joint equipment is not required, and the equipment has good compatibility;
in addition, the method and the device aim at the problems that in the prior art, the port configuration mode of the docking equipment depends on the negotiation between the two parties, and the ports of the equipment at the home terminal and the opposite terminal need to be managed and maintained respectively, so that the port mode negotiation depends on the configuration between the two parties for docking, the positioning efficiency is low, and the like. The scheme of the embodiment smoothly processes possible jitter in the port docking negotiation by adopting a method of timer detection and counter processing for the port state and the related fault processing. And the configuration mode of the opposite terminal port is judged according to the port protocol interaction, and judgment and processing are carried out by combining the state, the configuration mode and the like of the local terminal port, so that the scheme is simple and flexible, and large-scale deployment and application are easy.
Fig. 3 is a flowchart illustrating a method for managing a port configuration mode according to another embodiment of the present invention.
In this embodiment, the home device is provided with n ports, and automatic detection and recovery of the port configuration mode need to be implemented for the n ports.
As shown in fig. 3, the method includes:
step 301, the network device maintains a port state table;
the format of the port status table is as follows: { port number 1, physical location 1, home port configuration mode 1, home port physical state 1, and predicted opposite port configuration mode 1; port number 2, physical position 2, home port configuration mode 2, home port physical state 2, and predicted opposite port configuration mode 2; the electric power supply unit is connected with the power supply unit; port serial number n, physical position n, home port configuration mode n, home port physical state n, and predicted opposite port configuration mode n; }
It can also be as shown in table 1:
Figure GDA0003847356040000071
the initialization of the port state table can be completed according to information such as port configuration mode, physical position and the like in the starting process of the equipment, and the real-time updating of the port state table is completed according to a certain strategy.
In this embodiment, when initializing the port state table, the physical location n and the mode configuration n of the state table are initialized according to the physical port and configuration of the network device.
Triggering real-time update includes but is not limited to the occurrence of a change in the physical state of the local port, detection or change of the physical state/port mode of the port triggered by a man-machine command or other operation and maintenance system, an alarm that may cause a change in the physical state of the port, and the like.
The port configuration mode comprises the following steps: adaptive and forced (half duplex and full duplex).
1. An adaptive mode: after the connection of the ports, the two docking parties negotiate the docking parameters to match the best state. In the self-adaptive mode, as long as after hardware connection, a transmitting port tx direction continuously transmits/C/frames, namely configuration (configuration) code streams, if the receiving port rx direction continuously receives/C/frames, the receiving port rx direction returns/C/frames with ack response at the opposite end, and the opposite end receives the back port and establishes a link;
2. in the forced mode, the ports adopt parameters specified by configuration for butt joint, and the parameters are divided into half duplex and full duplex. In the mandatory mode, as long as the hardware is connected, the tx direction of the transmitting port will transmit/C/frame (i.e. idle frame) at a certain frequency, and if the rx direction of the receiving port can receive/C/frame related to its own frequency, the peer end attribute is considered to be consistent with the peer end, and the peer end port will establish a link.
The adaptive mode and the mandatory mode can be used in different scenes, and when the Ethernet equipment (including electric ports and optical ports with different rates) is docked, the basic principle is that the port configuration modes of the equipment of the two docked parties must be kept consistent. When the configurations of the device ports of the two docking parties are inconsistent (one-end forcing and one-end self-adapting), the docking device ports cannot build a link.
Step 302, detecting the physical state of each port of the home terminal;
specifically, the timer T1 may be started, the actual link establishment state of each port of the local terminal may be detected at a certain frequency, and the port state table may be updated according to the detection result. Restarting the T1 after the timer T1 is overtime, and detecting the physical state of the port again;
whether the physical state of the port is stable or not is detected through the timer T1, so that misjudgment caused by instability of the physical state of the port due to certain factors is avoided. Before the timer T1 is overtime, the physical state of the monitoring port is kept stable, the judgment result is valid, and the physical state n of the local port in the state table is updated; otherwise, the result in the period is invalid, and the physical state n of the local port in the state table is maintained unchanged.
The port active state is UP or DOWN. When detecting that the effective state of the port of the local terminal is UP, judging that the physical state of the port is UP, and when detecting that the effective state of the port of the local terminal is DOWN, judging that the physical state of the port is DOWN;
the detection frequency value, namely the sampling detection frequency, is selected according to a certain strategy, and the sampling detection frequency is ensured to be at least more than or equal to 3 in a T1 period.
Wherein, the concrete detection process includes:
1) And before T1 overtime, the physical state n of the port of the local end is kept to be UP all the time (DOWN is not detected before T1 overtime), the physical state of the port is judged to be UP, and the physical state n of the port of the local end in the state table is updated. Restarting the T1 timer, and detecting the physical state of the port again;
2) And before T1 overtime, the physical state n of the port of the local end is always kept as DOWN (UP is not detected before T1 overtime), the physical state of the port is judged to be DOWN, and the physical state n of the port of the local end in the state table is updated. Restarting the T1 timer, and detecting the physical state n of the port again;
3) And before T1 overtime, the physical state n of the local port changes between UP and DOWN (UP and DOWN are detected simultaneously before T1 overtime), and the physical state n of the local port in the state table is kept unchanged in the last period. And restarting the T1 timer and detecting the physical state n of the port again.
Step 303, predicting the configuration mode of each port of the opposite terminal;
specifically, the timer T2 may be started, and the physical layer directly detects whether the characteristic code stream received by the Rx receiving port of each port of the local terminal is/C/or/I/frame, and determines the peer port mode according to the detection result and updates the predicted peer port configuration mode n of the port state table. Restarting the T2 timer after the T2 timer is overtime, and re-detecting the Rx code stream received by the port;
and detecting whether the characteristic code stream received by the port is stable or not through the timer T2 so as to avoid misjudgment caused by instability of the characteristic code stream received by certain factors. Before the timer T2 is overtime, monitoring the state of the code stream characteristic value received by the port n of the local terminal to be stable, and judging the mode of the port of the opposite terminal according to the effective characteristic value; otherwise, the detection in the period is invalid, and the opposite terminal port mode is judged to be unknown. And updating the predicted opposite terminal port configuration mode n in the state table by using the port mode judged in the period.
And predicting the valid state of the opposite terminal port configuration mode to be self-adaptive or mandatory. When the detected effective characteristic value is/C/frame, the self-adaption is judged; when the effective value is detected to be/I/frame and no/C/frame exists, the opposite terminal port mode is judged to be mandatory.
The detection frequency value, namely the sampling detection frequency is valued according to a certain strategy, so that the sampling detection frequency is at least more than or equal to 3 in a T2 period.
The specific prediction process comprises the following steps:
1) And before T2 is overtime, the port n continuously detects/C/frame, the opposite terminal port configuration mode n is judged to be self-adaptive, and the predicted opposite terminal port configuration mode n in the state table is updated. Restarting the T2 timer, and re-detecting the Rx code stream received by the port;
2) And before T2 is overtime, the port n continuously detects the I/frame, and if the I/frame is not detected, the port n judges that the opposite port configuration mode is mandatory, and updates the predicted opposite port configuration mode n in the state table. Restarting the T2 timer, and re-detecting the Rx code stream of the receiving port;
3) And before T2 is overtime and the detection condition of the port n is different from the two conditions, judging that the opposite terminal port configuration mode is unknown, and updating the predicted opposite terminal port configuration mode n in the state table. And restarting the T2 timer, and restarting the Rx code stream of the detection receiving port.
And 304, comparing the consistency of the local port configuration mode n in the port state table with the predicted opposite port configuration mode n, and configuring the local port configuration mode n according to the physical state n of the local port.
The physical state of the port of the home terminal is as follows: UP or DOWN; the predicted opposite port configuration mode is as follows: unknown, adaptive, mandatory; the port configuration mode of the home terminal is as follows: self-adapting and forcing.
Under two scenes that the physical state of a port n of a home terminal is UP or DOWN respectively, the method comprises the following steps:
3.1, when the physical state of the local terminal is judged to be UP, comparing the predicted opposite terminal port configuration mode n with the local terminal port configuration mode n:
1) When the predicted opposite port configuration mode n is consistent with the local port configuration mode n, keeping the current configuration mode n of the local port unchanged;
2) When the predicted configuration mode n of the opposite port is unknown, keeping the current configuration mode n of the local port unchanged;
3) And when the predicted opposite port configuration mode n is not consistent with the local port configuration mode n, keeping the current configuration mode n of the local port unchanged, and performing 4.1 processing.
And the predicted opposite terminal port configuration mode and the predicted local terminal port configuration mode can be displayed in real time through the operation and maintenance interface.
3.2, when the physical state of the port of the local end is DOWN, comparing the consistency of the configuration mode n of the port of the local end with the predicted configuration mode n of the port of the opposite end:
1) When the predicted opposite end port configuration mode n is unknown, the local end port configuration mode n is reversely modified and processed by 4.2;
specifically, the home port configuration mode n is reversely modified (adaptive or forced) according to the current value of the home port configuration mode n, for example, if the current value of the home port configuration mode n is adaptive, the home port configuration mode n is modified to be forced, and if the current value of the home port configuration mode n is forced, the home port configuration mode n is modified to be adaptive.
2) When the predicted opposite terminal port configuration mode n is definite (self-adaptive or mandatory) and is inconsistent with the local terminal port configuration mode n, modifying the local terminal port configuration mode n into the opposite terminal port configuration mode n, and carrying out 4.2 processing;
specifically, the local port configuration mode n is modified according to the current value (self-adaptive or forced) of the predicted opposite port configuration mode n, for example, if the opposite port configuration mode n is self-adaptive currently, the local port configuration mode n is modified to be self-adaptive, and if the opposite port configuration mode n is forced currently, the local port configuration mode n is modified to be forced.
3) And when the predicted opposite end port configuration mode n is definite (self-adaptive or mandatory) and is consistent with the local end port configuration mode n, keeping the current local end port configuration mode n unchanged, and performing 4.3 processing.
4.1, starting a timer T3, monitoring the physical state n of the local port, and providing a notification or alarm message according to the detection result:
the physical state of the port of the home terminal is as follows: UP or DOWN;
1) And if the physical state n of the local port is kept to be UP before T3 is overtime, generating a notification message (notification 1: used for informing the port configuration mode of the opposite terminal not consistent with the port configuration mode of the local terminal);
2) And if the T3 is in time-out, the physical state n of the port shakes, and an alarm message is generated (alarm 1: used for informing that the physical state of the local terminal port is unstable and that the opposite terminal port configuration mode is inconsistent with the local terminal port configuration mode);
3) And if the physical state n of the port of the local end is changed into DOWN before T3 is overtime, turning to 3.2 for processing.
The method comprises the steps of providing notification or alarm information, recording a log, wherein the log content comprises a current configuration mode of a local port, whether the configuration mode is modified, if so, the record and the reason of modification and the like.
4.2, starting a timer T3, monitoring the physical state n of the local port, and providing a notification or alarm message according to the detection result:
the physical state of the port of the home terminal is as follows: UP or DOWN;
1) If the physical state n of the port of the local terminal is kept as DOWN before T3 is overtime, the mode n of the port of the local terminal is reversely modified again, namely the original configuration mode is recovered; and generates an alarm message (alarm 2: used to inform the local port of the physical state abnormity and the configuration mode of the opposite port is inconsistent with that of the local port);
2) If the physical state n of the local port shakes before T3 is overtime, the mode n of the local port is reversely modified again, namely the original configuration mode is recovered; and generating an alarm message (alarm 1: used for informing that the physical state of the port of the local terminal is unstable and the configuration mode of the port of the opposite terminal is inconsistent with the configuration mode of the port of the local terminal);
3) And if T3 is overtime and the physical state n of the local port is changed into UP, the current port configuration mode is not modified, and a notification message is generated (notification 2: for notifying that the home port configuration mode has been modified, and that the peer port configuration mode is inconsistent with the home port configuration mode).
The method comprises the steps of providing notification or alarm information, recording a log, wherein the log content comprises a current configuration mode of a local port, whether the configuration mode is modified, if so, the record and the reason of modification and the like.
4.3, starting a counter N (N is initialized to 0), restarting the local port N, starting a timer T4, detecting a physical state N of the port:
1) If the physical state n of the port is UP, ending, namely stopping the operation on the port n;
2) And if the port physical state N is DOWN, restarting the port N again after T4 exceeds the time limit, detecting the port physical state N, and N = N +1.
And stopping the operation on the port N when the N reaches the threshold value.
Wherein, the threshold value can be artificially set according to a certain rule.
In which, a log is also recorded, and the log content includes, but is not limited to, port configuration/status, restart reason/number, etc.
Wherein, the notification message or the alarm message in the 4.1 and the 4.2 can be reported to a network manager or other operation and maintenance platforms. The notification message or the alarm message can also carry and carry information in a corresponding port state table, and the specific position of the port of the local terminal/the opposite terminal is searched and processed on site according to a certain strategy and the information of the user account.
The technical scheme provided by the embodiment of the invention combines the actual working state of the port of the local terminal and sets the configuration mode of the port of the local terminal according to a certain strategy, thereby realizing the automatic detection and recovery of the port mode of the network equipment, eliminating potential hidden dangers and overcoming the problem of low efficiency of the traditional method.
Fig. 4 is a schematic structural diagram of an apparatus for managing a port configuration mode according to an embodiment of the present invention, as shown in fig. 4, the apparatus includes:
the comparison unit is used for comparing the consistency of the local terminal port configuration mode and the predicted opposite terminal port configuration mode;
and the setting unit is used for setting the configuration mode of the local port according to the physical state and the consistency of the local port.
Wherein, the configuration mode of the local terminal port is self-adaptive or mandatory; the opposite terminal port configuration mode is unknown, self-adaptive or mandatory; the physical state of the local terminal port is normal UP or fault DOWN.
The setting unit is specifically configured to, when the physical state of the home port is UP, whether the consistency is consistent or inconsistent, or whether the opposite port configuration mode is unknown, keep the home port configuration mode unchanged;
or, when the physical state of the home port is DOWN and the configuration mode of the opposite port is unknown, reversely modifying the configuration mode of the home port, including: when the local port configuration mode is self-adaptive, modifying to be mandatory, and when the local port configuration mode is mandatory, modifying to be self-adaptive;
or, when the physical state of the local port is DOWN and the consistency is inconsistent, modifying the local port configuration mode into the opposite port configuration mode;
or when the physical state of the home port is DOWN and the consistency is consistent, keeping the home port configuration mode unchanged.
The setting unit is further configured to start a timer T3 after keeping the configuration mode of the home port unchanged when the physical state of the home port is UP and the consistency is inconsistent, and monitor the physical state of the home port;
when the physical state of the local port is kept to be UP before the T3 is overtime, sending a first notification message for notifying that the local port configuration mode is inconsistent with the opposite port configuration mode;
or, before the T3 is overtime, when the physical state of the home port is jittered, sending a first alarm message for alarming that the physical state of the home port is unstable and the home port configuration mode is inconsistent with the peer port configuration mode;
or, when the physical state of the home port changes to DOWN before the T3 times out, setting the home port configuration mode again according to the physical state of the home port and the consistency.
Wherein, the setting unit is further configured to, when the physical state of the home port is DOWN and the configuration mode of the opposite port is unknown, after the home port configuration mode is modified in the reverse direction, the method further includes:
starting a timer T3, and monitoring the physical state of the local port;
when the physical state of the local port is kept at DOWN before the T3 is overtime, reversely modifying the local port configuration mode again, and sending a second alarm message for alarming that the physical state of the local port is abnormal and the local port configuration mode is inconsistent with the opposite port configuration mode;
or, before the T3 time out, when the physical state of the home port is jittered, reverse modifying the home port configuration mode again, and sending a third alarm message for alarming that the physical state of the home port is unstable and the home port configuration mode is inconsistent with the peer port configuration mode;
or, when the physical state of the local port changes to UP before the T3 times out, sending a second notification message for notifying that the local port configuration mode is modified and is inconsistent with the local port configuration mode and the opposite port configuration mode.
Wherein, the setting unit is further configured to, when the physical state of the home port is DOWN and the consistency is consistent, after the home port configuration mode is kept unchanged,
starting a counter N, wherein N is initialized to 0, restarting the local port, starting a timer T4, and detecting the physical state of the local port;
if the physical state of the home port is UP, stopping the operation of the home port;
if the physical state of the local port is DOWN, restarting the local port again after T4 exceeds the time limit, detecting the physical state of the local port, and N = N +1;
and stopping the operation of the local port when the N reaches a threshold value.
Wherein, the device still includes:
the prediction unit is used for detecting the characteristic code stream sent by the opposite terminal port and received by the local terminal port before comparing the consistency of the local terminal port configuration mode and the predicted opposite terminal port configuration mode;
when the feature code stream value is/C/frame, predicting the opposite terminal port configuration mode to be self-adaptive;
when the feature code stream value is/I/frame, predicting that the opposite terminal port configuration mode is forced;
and when the detection is invalid, predicting that the opposite terminal port configuration mode is unknown.
The prediction unit is further configured to start a timer T2 before detecting the feature code stream sent by the opposite port and received by the local port;
predicting the opposite terminal port configuration mode according to the characteristic code stream value when the characteristic code stream value is kept stable before the timer T2 is overtime; when the characteristic code stream value is unstable, the detection is invalid;
and after the timer T2 is overtime, restarting the timer T2 and re-detecting the characteristic code stream.
And in the T2, the frequency of detecting the characteristic code stream is more than or equal to 3.
The device also comprises a judging unit, wherein the judging unit is used for detecting the effective state of the local port before the local port configuration mode is set according to the physical state and the consistency of the local port;
judging the physical state of the local port according to the effective state of the local port, including: and when the effective state of the local port is UP, judging that the physical state of the local port is UP, and when the effective state of the local port is DOWN, judging that the physical state of the local port is DOWN.
The judging unit is further configured to start a timer T1 before detecting an effective state of the home port;
before the timer T1 is overtime, when the effective state of the local port is kept stable, judging the physical state of the local port according to the effective state of the local port; and when the valid state of the local port is unstable, detecting to be invalid.
In the T1, the number of times of detecting the effective state of the local port is more than or equal to 3.
And the notification message or the alarm message carries the geographic position of the local port and/or the geographic position of the opposite port.
An embodiment of the present invention further provides a computer-readable storage medium, where an information processing program is stored on the computer-readable storage medium, and when the information processing program is executed by a processor, the method for managing a port configuration mode includes any one of the steps described above.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (13)

1. A method of managing port configuration modes, comprising:
comparing the consistency of the local terminal port configuration mode and the predicted opposite terminal port configuration mode;
setting the local port configuration mode according to the physical state and the consistency of the local port;
wherein, the configuration mode of the local terminal port is self-adaptive or mandatory; the opposite terminal port configuration mode is unknown, self-adaptive or forced; the physical state of the local terminal port is normal UP or fault DOWN;
when the physical state of the local port is UP, no matter the consistency is consistent or inconsistent, or the opposite port configuration mode is unknown, the local port configuration mode is kept unchanged;
or, when the physical state of the home port is DOWN and the configuration mode of the opposite port is unknown, reversely modifying the configuration mode of the home port, including: when the local port configuration mode is self-adaptive, modifying to be mandatory, and when the local port configuration mode is mandatory, modifying to be self-adaptive;
or, when the physical state of the local port is DOWN and the consistency is inconsistent, modifying the local port configuration mode into the opposite port configuration mode;
or when the physical state of the home port is DOWN and the consistency is consistent, keeping the home port configuration mode unchanged.
2. The method of claim 1, wherein when the physical status of the home port is UP and the consistency is inconsistent, after keeping the home port configuration mode unchanged, the method further comprises:
starting a timer T3, and monitoring the physical state of the local port;
when the physical state of the local port is kept to be UP before the T3 is overtime, sending a first notification message for notifying that the local port configuration mode is inconsistent with the opposite port configuration mode;
or, before the T3 is overtime, when the physical state of the home port is jittered, sending a first alarm message for alarming that the physical state of the home port is unstable and the home port configuration mode is inconsistent with the opposite port configuration mode;
or, when the physical state of the home port changes to DOWN before the T3 is overtime, setting the home port configuration mode again according to the physical state of the home port and the consistency.
3. The method of claim 1, wherein when the physical state of the home port is DOWN and the opposite port configuration mode is unknown, after the home port configuration mode is modified in a reverse direction, the method further comprises:
starting a timer T3, and monitoring the physical state of the local port;
when the physical state of the local port is kept at DOWN before the T3 is overtime, reversely modifying the local port configuration mode again, and sending a second alarm message for alarming that the physical state of the local port is abnormal and the local port configuration mode is inconsistent with the opposite port configuration mode;
or, before the T3 time out, when the physical state of the home port is jittered, reverse modifying the home port configuration mode again, and sending a third alarm message for alarming that the physical state of the home port is unstable and the home port configuration mode is inconsistent with the peer port configuration mode;
or, when the physical state of the local port changes to UP before the T3 times out, sending a second notification message for notifying that the local port configuration mode is modified and is inconsistent with the local port configuration mode and the opposite port configuration mode.
4. The method of claim 1, wherein when the physical state of the home port is DOWN and the consistency is consistent, after keeping the home port configuration mode unchanged, the method further comprises:
starting a counter N, wherein N is initialized to 0, restarting the local port, starting a timer T4, and detecting the physical state of the local port;
if the physical state of the home port is UP, stopping the operation of the home port;
if the physical state of the local port is DOWN, restarting the local port again after T4 exceeds the time limit, detecting the physical state of the local port, and N = N +1;
and when the N reaches a threshold value, stopping the operation of the local port.
5. The method of claim 1, wherein before comparing the correspondence between the home port configuration mode and the predicted peer port configuration mode, the method further comprises:
detecting the characteristic code stream sent by the opposite terminal port and received by the local terminal port;
when the feature code stream value is/C/frame, predicting the opposite terminal port configuration mode to be self-adaptive;
when the feature code stream value is/I/frame, predicting that the opposite terminal port configuration mode is forced;
and when the detection is invalid, predicting that the opposite end port configuration mode is unknown.
6. The method according to claim 5, wherein before detecting the feature stream sent by the peer port and received by the home port, the method further comprises:
starting a timer T2;
when the characteristic code stream value is kept stable before the timer T2 is overtime, predicting the opposite terminal port configuration mode according to the characteristic code stream value; when the characteristic code stream value is unstable, the detection is invalid;
and after the timer T2 is overtime, restarting the timer T2 and re-detecting the characteristic code stream.
7. The method according to claim 6, wherein in the T2, the number of times of detecting the feature code stream is greater than or equal to 3.
8. The method according to claim 1, wherein before setting the home port configuration mode according to the physical state of the home port and the consistency, the method further comprises:
detecting the effective state of the local port;
judging the physical state of the local port according to the effective state of the local port, including: and when the effective state of the local end port is UP, judging that the physical state of the local end port is UP, and when the effective state of the local end port is DOWN, judging that the physical state of the local end port is DOWN.
9. The method of claim 8, wherein prior to detecting the active status of the home port, the method further comprises:
starting a timer T1;
before the timer T1 is overtime, when the effective state of the local port is kept stable, judging the physical state of the local port according to the effective state of the local port; and when the valid state of the local port is unstable, detecting to be invalid.
10. The method according to claim 9, wherein the number of times of detecting the valid state of the home port in T1 is equal to or greater than 3.
11. The method according to claim 2 or 3, wherein the notification message or the alarm message carries the geographical location of the local port and/or the geographical location of the opposite port.
12. An apparatus for managing port configuration modes, comprising:
the comparison unit is used for comparing the consistency of the local terminal port configuration mode and the predicted opposite terminal port configuration mode;
a setting unit, configured to set the home port configuration mode according to the physical state of the home port and the consistency;
wherein, the configuration mode of the local terminal port is self-adaptive or mandatory; the opposite terminal port configuration mode is unknown, self-adaptive or forced; the physical state of the local terminal port is normal UP or fault DOWN;
when the physical state of the local port is UP, no matter the consistency is consistent or inconsistent, or the opposite port configuration mode is unknown, the local port configuration mode is kept unchanged;
or, when the physical state of the home port is DOWN and the configuration mode of the opposite port is unknown, reversely modifying the configuration mode of the home port, including: when the local port configuration mode is self-adaptive, modifying to be mandatory, and when the local port configuration mode is mandatory, modifying to be self-adaptive;
or, when the physical state of the home port is DOWN and the consistency is inconsistent, modifying the home port configuration mode to the opposite port configuration mode;
or when the physical state of the home port is DOWN and the consistency is consistent, keeping the home port configuration mode unchanged.
13. A computer-readable storage medium, having stored thereon an information processing program which, when executed by a processor, implements the steps of the method of managing port configuration modes of any of claims 1 to 11.
CN201910440079.2A 2019-05-24 2019-05-24 Method and device for managing port configuration mode Active CN111988162B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910440079.2A CN111988162B (en) 2019-05-24 2019-05-24 Method and device for managing port configuration mode
PCT/CN2020/092097 WO2020238848A1 (en) 2019-05-24 2020-05-25 Method and device for managing port configuration mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910440079.2A CN111988162B (en) 2019-05-24 2019-05-24 Method and device for managing port configuration mode

Publications (2)

Publication Number Publication Date
CN111988162A CN111988162A (en) 2020-11-24
CN111988162B true CN111988162B (en) 2022-11-29

Family

ID=73436710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910440079.2A Active CN111988162B (en) 2019-05-24 2019-05-24 Method and device for managing port configuration mode

Country Status (2)

Country Link
CN (1) CN111988162B (en)
WO (1) WO2020238848A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110838933B (en) * 2018-08-17 2022-08-09 上海华为技术有限公司 Configuration method of Ethernet optical port and Ethernet equipment
CN112491632A (en) * 2020-12-15 2021-03-12 安徽皖通邮电股份有限公司 System and method for automatically adjusting Ethernet port negotiation mode
US11582297B1 (en) 2022-01-20 2023-02-14 Nvidia Corporation Mechanism to identify link down reasons
CN116300780B (en) * 2022-09-07 2024-01-23 广州汽车集团股份有限公司 Component configuration method, device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1835466A (en) * 2005-03-16 2006-09-20 华为技术有限公司 Kilomega Ethernet port butt method
CN101047712A (en) * 2006-06-19 2007-10-03 华为技术有限公司 Device and method for detecting Ethernet interface configuration
WO2009115037A1 (en) * 2008-03-18 2009-09-24 华为技术有限公司 Ethernet trunk port allocation method and device
CN104796306A (en) * 2015-03-26 2015-07-22 杭州华三通信技术有限公司 Port mode negotiation method and device
CN109714276A (en) * 2019-03-11 2019-05-03 盛科网络(苏州)有限公司 A kind of method of adaptive remote equipment negotiation mode

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1893420A (en) * 2005-07-06 2007-01-10 华为技术有限公司 Ethernet interface butt-jointing method
US9172602B1 (en) * 2012-11-15 2015-10-27 Qlogic, Corporation Method and system for auto-negotiation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1835466A (en) * 2005-03-16 2006-09-20 华为技术有限公司 Kilomega Ethernet port butt method
CN101047712A (en) * 2006-06-19 2007-10-03 华为技术有限公司 Device and method for detecting Ethernet interface configuration
WO2009115037A1 (en) * 2008-03-18 2009-09-24 华为技术有限公司 Ethernet trunk port allocation method and device
CN104796306A (en) * 2015-03-26 2015-07-22 杭州华三通信技术有限公司 Port mode negotiation method and device
CN109714276A (en) * 2019-03-11 2019-05-03 盛科网络(苏州)有限公司 A kind of method of adaptive remote equipment negotiation mode

Also Published As

Publication number Publication date
CN111988162A (en) 2020-11-24
WO2020238848A1 (en) 2020-12-03

Similar Documents

Publication Publication Date Title
CN111988162B (en) Method and device for managing port configuration mode
US11765018B2 (en) Control plane device switching method and apparatus, and forwarding-control separation system
US8576698B2 (en) Connectivity fault management timeout period control
US20080201470A1 (en) Network monitor program executed in a computer of cluster system, information processing method and computer
WO2017124791A1 (en) Link detecting method and device
US9571333B2 (en) Network device and method for maintaining network connection
CN110351127B (en) Graceful restart method, device and system
WO2016095344A1 (en) Link switching method and device, and line card
CN112162899A (en) Big data cluster service based monitoring method and system
WO2020078355A1 (en) Device state monitoring method and apparatus
CN101854253B (en) Method for automatically recovering monitoring and storing and monitoring system thereof
CN111224803B (en) Multi-master detection method in stacking system and stacking system
CN113867815B (en) Method for monitoring server suspension and automatically restarting and server applying same
JP2020173743A (en) Fault monitoring and restoration system, method thereof, and program thereof
CN111325921A (en) Man-machine interaction system, power failure recovery control method and device
US9197524B2 (en) Network device and network device recognition method
CN114567536B (en) Abnormal data processing method, device, electronic equipment and storage medium
WO2022247675A1 (en) Device operation and maintenance method, network device, and storage medium
WO2023071494A1 (en) Information recovery method and apparatus, and electronic device and storage medium
CN115102897B (en) Stacking splitting protection method based on link aggregation
CN111026586B (en) Main and standby state switching method and device of cluster equipment
CN112328445B (en) Multi-node management system based on condul
WO2021259171A1 (en) Operation state switching method and device, master/standby management system, and network system
JP3446920B2 (en) Method of checking PVC status of frame relay
JP4256223B2 (en) Cable modem system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant