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

Example: APS for a Layer 2 Circuit Configuration

Figure 59: APS for a Layer 2 Circuit Topology Diagram

Image g017218.gif

Figure 59 shows that APS is configured on a PE router to protect a PE-CE link in a Layer 2 circuit. This example shows only the PE router configuration and assumes that you have preconfigured a full Layer 2 circuit topology. For more information about configuring Layer 2 circuits, see Configuring Layer 2 Circuits.

On Router PE1, configure ATM2 IQ interface at-0/0/1 as an APS protect circuit and ATM2 IQ interface at-1/3/1 as a working circuit. Also, configure the working circuit interface as the primary interface for your Layer 2 circuit and configure the protect circuit interface as the protected interface for your Layer 2 circuit.

Router PE1

[edit]
chassis {
fpc 0 {
pic 0 {
atm-l2circuit-mode {
cell; # This dedicates FPC 0 PIC 0 to cell-relay mode.
}
}
}
fpc 1 {
pic 3 {
atm-l2circuit-mode {
cell; # This dedicates FPC 1 PIC 3 to cell-relay mode.
}
}
}
}
interfaces {
at-0/0/1 {
description "To CE1 at-0/1/2";
encapsulation atm-ccc-cell-relay;
sonet-options {
aps {
protect-circuit TEST; # This interface is the APS protect circuit.
}
}
atm-options {
pic-type atm2;
promiscuous-mode;
}
unit 0 {
allow-any-vci;
}
}
at-1/3/1 {
description "To CE1 at-0/1/1";
encapsulation atm-ccc-cell-relay;
sonet-options {
aps {
working-circuit TEST; # This interface is the APS working circuit.
}
}
atm-options {
pic-type atm2;
promiscuous-mode;
}
unit 0 {
allow-any-vci;
}
}
}
protocols {
l2circuit {
neighbor 10.255.17.4 {
interface at-1/3/1.0 { # The Layer 2 circuit interface is the working circuit.
protect-interface at-0/0/1.0; # The protect-interface is the protect circuit.
virtual-circuit-id 100;
}
}
}
}

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