This invention relates to the detection of link connectivity in communication systems, particularly Ethernet OAM circuits during start-up.
The standard specifications for operation of Ethernet OAM (Operation, Administration and Management) circuits, and particularly those conforming to IEEE 802.1ag and ITU-T Y.1731, include a check for connectivity between two management endpoints (MEPs) in a management domain (MD). The management endpoints perform the check by means of the periodic transmission of connectivity check messages (CCMs) to each other. Both endpoints determine whether they have received a valid CCM within a prescribed time. The period, i.e. the interval between CCM transmissions, can be, under current specifications, any one of eight values starting from 3.3 ms up to 10 minutes. The period may be configured, i.e. selected for each connection. A connectivity error is reported by an endpoint when a CCM has not been received from the end point's partner within a set multiple (presently 3.5) of the CCM transmission interval. Thus at the fastest CCM rate (3.3 ms) an error will be reported when a message from the partner is not received within 3.5×3.3=11.55 ms.
During the start-up of a link connectivity errors may be reported incorrectly owing to the time lag of an operator enabling both ends of a link. For example, suppose that an operator programs an end point A for an OAM connection at a rate of 3.3 ms. This endpoint will commence the transmission of CCMs and simultaneously checking for CCMs. If there is a delay of more than 11.55 ms in the commencement of operation and in particular the transmission of CCMs by the link partner B, endpoint A will report erroneously.
The present invention aims to reduce the incidence of such false reporting.
The state of the art is exemplified by the documents IEEE Std 802.1ag-2007 pages 138-158, US 2005/0180419-A1 and EP-1416671-A2.
The present invention is based on the establishment of continuity before a check for loss of connectivity is made, preferably employing an existing in-band data path to check for a good link before connectivity checking is enabled. The invention may be implemented in hardware, no special software intervention being required In a practical implementation the relevant state machine includes an additional state for the purpose of the present invention.
In one aspect the invention provides a method of commencement of operation of a communication system, comprising enabling an endpoint to transmit and receive repetitive connectivity check messages on a link between the endpoint and a remote endpoint; determining a loss of connectivity with the remote endpoint by the absence of received connectivity check messages within a monitoring interval; and delaying the commencement of said monitoring interval until a predetermined number of connectivity check messages has been received.
The method preferably includes operating a state machine which includes: a first state on entry into which the machine starts a monitoring interval; a second state on entry into which the machine starts a monitoring interval; a third state which the machine enters in the event of absence of reception of a connectivity check message within a current monitoring interval; wherein the machine enters the second state from the first on detection of a connectivity check message within a current monitoring interval while the machine is in said first state; and the machine re-enters the second state on detection of a connectivity check message within a current monitoring interval while the machine is in said second state; and the machine provides an indication of connectivity error on entry into said third state; wherein the machine has a additional state which controls entry of the machine into said first state and during which the machine counts valid received connectivity check messages, and on the reception of a predetermined number of said connectivity check messages, the machine enters said first state from said additional state.
The invention extends to the state machine as such and to a terminal including such a state machine.
Endpoint 2 is enabled by an appropriate message from the network provider 1. Its management software A1 immediately enables a CCM transmit state machine A2 and a CCM receive state machine A3. The CCMs from the CCM transmit state machine A2 travel on the data channel to the CCM receive state machine B3 in endpoint 3 and the CCM state machine A3 is enabled to receive CCMs from the CCM state machine B2 in endpoint 3.
Some time later, for example after an interval greater than 11.55 ms, the network provider 1 enables endpoint 3 and in particular the CCM receive and transmit state machines B3 and B2 in endpoint 3. However, meanwhile the receive state machine A3 in endpoint 2 has already reported loss of connectivity since the maximum delay prescribed by the standard has been exceeded.
When the state machine is enabled it enters the IDLE state 30. This is formally denoted as the ‘RMEP_IDLE’ state; for simplicity herein the prefix RMEP (Remote Management End Point) will be omitted. The machine then immediately enters the START state 31 (hereinafter called the ‘first’ state). In the START state a timer is started. This timer counts for the defined multiple (presently 3.5 times) of the selected CCM interval for the connection. If a valid CCM message is received within the timer's period, the state machine enters the OK state 32 (hereinafter called the ‘second’ state). The timer is re-loaded and the state machine again waits for the reception of a valid CCM daring the new period.
If a valid CCM is not received before the timer times out while the state machine is in either the START state or the OK state, the state machine enters the FAILED state 33 (hereinafter called the ‘third’ state) and raises an alarm. It remains in that state until receives a valid CCM is received.
There is a high probability, especially when the CCM interval is selected to be at the shortest permitted value, than a signal connectivity error will be reported while the endpoint B is being initialised, i.e. before it is properly enabled.
Although a large value for rMEPWhile could be used, there is no certainty that the peer on the respective link will be fully enabled by the end of the prescribed interval. Another similar scheme would be to delay starting the receiver state machine for a given time. However, there is still no guarantee that the peer is transmitting its CCMs after the delay; and the present invention may be employed with advantage even when there is a substantial delay between the enabling of an endpoint and its entry into a state in which it can monitor received CCMs.
It might be feasible to send any received CCMs to the associated processor which on the reception of a selected number of CCMs would reconfigure the hardware to process the CCMs. However, such an expedient may consume substantial processing bandwidth and does not allow easy upgrading of existing OAM functionality, especially for the fastest rates.
In a system according to the invention endpoint A is enabled as before, and will start transmitting CCMs. however, the OAM processing in endpoint A will wait for the reception of the selected number of valid CCMs before it starts to check for loss of connectivity. At some time later endpoint B is enabled but again it will wait for the reception of N valid CCMs before it commences a check for the loss of connectivity.
Ethernet OAM is customarily organised to work across more than two endpoints and can be scaled for a multipoint connection where a check for each peer endpoint is made and the present invention can be similarly organised.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB10/00941 | 3/30/2010 | WO | 00 | 10/1/2012 |