Link state replication, also called interface preservation, is an addition to the SONET Automatic Protection Switching (APS) functionality that helps promote redundancy of the link PICs used in LSQ configurations.
Link state replication provides the ability to add two sets of links, one from the active (working) SONET PIC and the other from the backup (protect) SONET PIC to the same bundle. If the active SONET PIC fails, links from the standby PIC are used without causing a link renegotiation. All the negotiated state is replicated from the active links to the standby links to prevent link renegotiation. For more information about SONET APS configurations, see the JUNOS Network Interfaces Configuration Guide.
To configure link state replication, include the preserve-interface statement at the [edit interfaces interface-name sonet-options aps] hierarchy level on both network interfaces:
- edit interfaces interface-name sonet-options
aps]
-
preserve-interface;
The following constraints apply to link PIC redundancy:
![]() |
Note: This renegotiation is more likely to take place for configurations with back-to-back Juniper Networks routers than in networks in which a Juniper Networks router is connected to an add/drop multiplexer (ADM). |
![]() |
Note: LCP renegotiation is more likely to take place for configurations with back-to-back Juniper Networks routers than in networks in which a Juniper Networks router is connected to an ADM. |
As an example, the following configuration shows the link state replication configuration between the ports coc3-1/0/0 and coc3-2/0/0.
- interfaces {
-
- coc3-1/0/0 {
-
- sonet-options {
-
- aps {
- preserve-interface;
- working-circuit aps-group-1;
- }
- }
- }
-
- coc3-2/0/0 {
-
- sonet-options {
-
- aps {
- preserve-interface;
- protect-circuit aps-group-1;
- }
- }
- }
- }