Answer
If the posting will be longer than 24 months, your employer can apply for a posting extension on the ALPS web application (access provided by their OASI office). The extension may not exceed the maximum posting period of six years. The Federal Social Insurance Office (FSIO) will try to reach a special agreement with the competent authority in the country of temporary employment.
If an agreement is reached, the employer will receive confirmation that you remain covered by the Swiss social security system.
If it can be reasonably anticipated from the beginning that the temporary posting will be longer than 24 months, your employer can apply directly for an extension.