APS configuration rules:
A working port must be added first. Then a protection port can be added or removed at any time.
A protection port must be shutdown before being removed from an APS group.
A path cannot be configured on a port before the port is added to an APS group.
A working port cannot be removed from an APS group until the APS port path is removed.
When ports are added to an APS group, all path-level configurations are available only on the APS port level and configuration on the physical member ports are blocked.
For a multi-chassis APS group, only one member circuit (either working or protect) can be added. Note that the neighbor IP address of an APS group must be configured before adding a member circuit in it. The configuration of a non-zero neighbor IP address indicates the APS group as multi-chassis. Thus, the member circuit and services must be removed before adding or removing the neighbor IP address (for example, before converting an APS group from multi-chassis to single-chassis or single-chassis to multi-chassis).
The following shows an example configuration for a TDM SC-APS group using SONET/SDH channelization, and a Cpipe service using an APS SAP and a physical TDM SAP:
A:ALA-274>config# port (1/1/1)
----------------------------------------------
sonet-sdh
speed oc3
exit
no-shutdown
----------------------------------------------
A:ALA-274>config>port# aps-1
----------------------------------------------
aps
working-circuit tsat-1/1/2
protect-circuit tsat-20/1/4
exit
sonet-sdh
path sts1-1
exit
path sts1-3
exit
path vt15-1.1.1
exit
path vt15-3.7.4
exit
exit
tdm
ds1 1.1.1
framing ds1-unframed
clock-source node-timed
channel-group 1
exit
exit
ds1 3.7.4
framing ds1-unframed
clock-source node-timed
channel-group 1
exit
exit
exit
exit
no-shutdown
exit
----------------------------------------------
A:ALA-274>cpipe 221 customer 1 vc-type satop-t1 create
sap aps-100.1.1.1.1 create
exit
sap tsat-1/1/1.1.1.1.1 create
exit
exit
The following shows an example of the configuration for the working circuit/node of an MC-APS group:
A:ALA-274>config>port (10/1/3)# info
----------------------------------------------
description "APS Group"
aps
neighbor 192.0.2.2
working-circuit tsat-10/1/3
exit
no shutdown
----------------------------------------------
A:ALA-274>config>port#
The following shows an example of the configuration for the protect circuit/node of an MC-APS group:
A:ALA-274>config>port (20/1/4)# info
----------------------------------------------
description "APS Group"
aps
neighbor 192.0.2.1
protect-circuit tsat-20/1/4
exit
no shutdown
----------------------------------------------
A:ALA-274>config>port#