[Contents] [Prev] [Next] [Index] [Report an Error]

Option: Configuring APS for Layer 2 Circuits

To apply Automatic Protection Switching (APS) to a Layer 2 circuit, you must configure an APS working circuit and a protect circuit on PE router interfaces that support SONET options (such as SONET/SDH, ATM, and ATM2 IQ interfaces) and circuit cross-connect (CCC) encapsulation types. Then, you must configure the working circuit as the primary Layer 2 circuit interface and the protect circuit as the protected Layer 2 circuit interface. Note that APS only protects the PE-CE link and not the entire Layer 2 circuit.

To configure an APS working circuit, include the working-circuit statement at the [edit interfaces interface-name sonet-options aps] hierarchy level. To configure an APS protect circuit, include the protect-circuit statement at the [edit interfaces interface-name sonet-options aps] hierarchy level. To configure the primary Layer 2 circuit interface, include the interface statement at the [edit protocols l2circuit neighbor ip-address] hierarchy level. To configure the protected Layer 2 circuit interface, include the protect-interface statement at the [edit protocols l2circuit neighbor ip-address interface interface-name] hierarchy level.

[edit]
interfaces {
at-0/0/1 {
description “ APS protect circuit”;
encapsulation CCC-encapsulation-type;
sonet-options {
aps {
protect-circuit name;
}
}
}
at-1/3/1 {
description “APS working circuit”;
encapsulation CCC-encapsulation-type;
sonet-options {
aps {
working-circuit name;
}
}
}
}
protocols {
l2circuit {
neighbor ip-address {
interface at-1/3/1.0 {
protect-interface at-0/0/1.0;
virtual-circuit-id number;
}
}
}
}

[Contents] [Prev] [Next] [Index] [Report an Error]