MTP2 link state control: states and transitions explained

SS7 still carries the voice calls, SMS and mobile signalling that Australian customers rely on every day, even where the transport network beneath it has moved to IP. At the base of that stack, Message Transfer Part level 2 (MTP2) turns a raw bit stream into dependable signalling frames, and the link state control (LSC) function decides when a link is fit to carry traffic. Learn more about Contact.

The part engineers are asked about most often is the alignment procedure: the exchange that lifts a signalling link from a dormant idle pattern to a verified, in-service state. MTP3 link state control never acts alone; it reacts to what MTP2 reports after each successful or failed alignment attempt, and the state machine behind those reports is where most link-flapping investigations begin.

This matters locally. Mobile operators here still run SS7 for SMS delivery, international interconnect, roaming and number porting, while bank and government authentication codes reach handsets on trains through Sydney and Melbourne as SMS one-time passcodes. A link that reports itself available when it is not can delay those passcodes and drop calls between Australian carriers and overseas gateways.

Why link state control matters to SS7 reliability

MTP3 bundles four functional blocks: signalled link routing, traffic distribution, link selection and link state control. LSC monitors the status of every signalling link, publishes that status to the other blocks, and is the authority on whether a link may be used. Link selection and traffic distribution both take their picture of the network from LSC, so an error in how LSC reads an alignment result spreads outward immediately.

When alignment succeeds cleanly, LSC moves the link from unavailable to available and traffic distribution begins allocating it. When alignment fails or a link drops after being in service, LSC withdraws it and the routing functions redistribute that traffic. Where LSC logic is slow, or timer settings disagree with the MTP2 configuration, the symptoms operators report are congested links, one-way audio, or calls that fail in one direction only.

The alignment procedure from idle to in-service

A signalling link sits idle until something needs it. While idle, MTP2 sends a continuous idle signal so the far end sees the link is present but carries nothing. When traffic is required, MTP2 leaves idle and starts the alignment exchange. The first alignment on a link uses the fill-in signal, and later alignments use continuous alignment frames whose check bits let the receiver verify bit integrity across the frame.

On the receiving side the process is symmetrical: the first non-idle signal moves the link out of idle, the receiver waits for a correctly formed alignment frame, and it needs consecutive good frames before declaring the link aligned. An alignment timer runs throughout. If it expires without a valid frame, the attempt is abandoned, MTP2 returns the link to idle, reports the failure upwards, and LSC marks the link unavailable so no traffic is sent to it.

Core LSC states and the triggers that move them

MTP2 maintains a compact state machine, and MTP3 LSC consumes its output. These are the states worth memorising, because most field questions reduce to which state a link is in and what moved it there.

States to recognise

  • Idle or not aligned — the link is present and sending idle signal but carries no traffic.
  • Waiting for alignment — a non-idle signal has been seen and the alignment timer is running.
  • Alignment verification — alignment frames are arriving and their check bits are being validated.
  • Aligned and ready, then in service — MTP2 has verified the link and MTP3 has completed the link test.

Transitions and their triggers

  • Idle to waiting for alignment: the first non-idle frame is detected.
  • Waiting to verification: a well-formed alignment frame with valid check bits arrives.
  • Verification to aligned: consecutive good frames satisfy the procedure before the timer expires.
  • Aligned back to idle: a timer expires, the abnormal indicator is set, or the far end disappears.

These transitions explain familiar behaviour. A failure during the initial fill-in exchange points at the physical path rather than the protocol. A link that aligns and immediately returns to idle usually means the far end passed the test but the local end did not. A link cycling between aligned and idle under load often signals marginal clocking or framing on the E1 tributary, common on satellite and microwave backhaul in regional Australia.

Timers, failure detection and the abnormal indicator

Timer values hinge the whole procedure. The alignment timer bounds how long MTP2 waits for a valid frame, the ready timer bounds how long an aligned link may wait for the link test to succeed, and MTP3 link failure detection governs how quickly an in-service link is declared down once alignment is lost. Mismatched values between the two ends of a link produce a link that aligns on one side but is never released into service on the other.

The abnormal indicator provides the fast path. When MTP2 detects a local failure it sets that indicator in the frames it sends, and the far end abandons its alignment or in-service state immediately instead of waiting for a timer. That mechanism stops a physically broken link lingering in routing tables and attracting traffic it cannot deliver.

Timers and indicators also make for long shifts. A network operations centre in Melbourne or Perth riding out an overnight alarm storm is exactly when attention lapses, so health and wellbeing guidance is a reasonable companion to the technical runbooks when you are the one holding the pager through the night.

MTP2 alignment inside Australia's IP-based networks

Alignment has not disappeared with the move to IP; it has been reimplemented. NBN Co delivers IP-based access to most fixed-line premises, and the major mobile carriers carry signalling over IP cores using SIGTRAN variants such as M2PA, M3UA and SCTP instead of MTP2 over T1 or E1. Those protocols provide their own association setup, multi-homing and heartbeats in place of the idle signal, alignment frame and timer ladder, but the logic is recognisable: prove the path, prove the peer, then declare the link usable.

Meanwhile SS7 itself is very much alive. Telstra, Optus and TPG still use it for international interconnect, SMS, roaming and number porting, with licensing under the Telecommunications Act 1997 and Australian Communications and Media Authority conditions, and unresolved customer complaints handled by the Telecommunications Industry Ombudsman. Operators also sit inside the resilience obligations administered under the Telecommunications and Other Communications Infrastructure (Security) Act 2018, where signalling links to critical infrastructure providers count as essential systems.

That combination creates an unusual operating environment: two generations of transport, one signalling architecture, and strict availability expectations. Where legacy MTP2 links remain, alignment behaviour is still the first thing to check.

Practical takeaways for field and network operations engineers

Structured course material and practical exercises on these procedures exist for engineers who want to drill the details; contact SS7 Training for information on the MTP2, MTP3 and SIGTRAN modules well before you need them under pressure.

The useful habit is to read a link's state history as a narrative rather than a status field. Idle to waiting to verification to aligned means the path and the far end both behaved. A return to idle after alignment, with the abnormal indicator set, means the failure happened after the handshake rather than during it. An alignment that never starts at all usually means nothing was ever presented to the link.

Before escalating a signalling complaint or a dropped-call report, capture the state the link was in, which timer expired and whether the abnormal indicator was set. That snapshot of evidence explains more than a page of general logs and is the fastest route to separating a physical fault from a protocol or configuration error.