Configuring APS Port Parameters

APS has the following configuration rules.

SC-APS is supported in unidirectional or bidirectional mode on:

SC-APS with TDM access is supported on DS3, DS1, E1, and DS0 (64 kb/s) channels.

MC-APS is supported in bidirectional mode on:

MC-APS with TDM access is supported on DS3, DS1, E1, and DS0 (64 kb/s) channels. TDM SAP-to-SAP with MC-APS is not supported.

APS can be configured in SC-APS mode with both working and protection circuits on the same node, or in MC-APS mode with the working and protection circuits configured on separate nodes.

For SC-APS and MC-APS with MEF 8 services where the remote device performs source MAC validation, the MAC address of the channel group in each of the redundant interfaces may be configured to the same MAC address using the mac CLI command.

Use the following CLI syntax to configure APS port parameters for an SC-APS group.

CLI Syntax:
config# port aps-id 
    aps
        hold-time-aps {[lsignal-fail sf-time] [lsignal-degrade sd-time]}
        protect-circuit port-id
        rdi-alarms {suppress | circuit}
        revert-time minutes
        switching-mode {bi-directional | uni-1plus1}
        working-circuit port-id

The following CLI syntax shows an example of configuring ports for SC-APS. The only mandatory configuration required to create an SC-APS group is to configure the working and protection circuit.

Example:
config# port aps-1
config>port# aps
config>port>aps# switching-mode uni-1plus1
config>port>aps# working-circuit 1/2/4
config>port>aps# rdi-alarms circuit
config>port>aps# revert-time 5
config>port>aps# protect-circuit 1/3/4

Use the config port info command to display port configuration information.

ALU-B>config>port# info
             -------------------------------------------------
                       shutdown
                       aps
                       switching-mode uni-1plus1
                       revert-time 5
                       working-circuit 1/2/4
                       protect-circuit 1/3/4
                       exit
                       sonet-sdh
                       exit
             -------------------------------------------------

Use the following CLI syntax to configure APS port parameters for an MC-APS group.

CLI Syntax:
config# port aps-id 
    aps
        advertise-interval advertise-interval
        hold-time hold-time
        neighbor ip-address
        protect-circuit port-id
        rdi-alarms {suppress | circuit}
        revert-time minutes
        working-circuit port-id

The following CLI syntax shows an example of configuring an MC-APS working circuit on a node. The only mandatory configuration required to create an MC-APS group is to configure the working and protection circuit, and the neighbor address.

Example:
config# port aps-2
config>port# aps
config>port>aps# advertise-interval 25
config>port>aps# hold-time 75
config>port>aps# working-circuit 1/2/4
config>port>aps# neighbor 10.10.10.101
config>port>aps# rdi-alarms circuit
config>port>aps# revert-time 5

To complete the MC-APS configuration, log on to the protection node, configure an APS group with the same APS ID as the working group, and configure the protection circuit. The MC-APS signaling path is established automatically when APS groups with matching IDs are both configured.

The following CLI syntax shows an example of configuring an MC-APS protection circuit on a node.

Example:
config# port aps-2
config>port# aps
config>port>aps# protect-circuit 1/3/2

Use the config port info command to display port configuration information.

*A:7705:Dut-D# configure port aps-2 
*A:7705:Dut-D>config>port# info 
----------------------------------------------
        aps
            neighbor 10.10.10.2
            protect-circuit 1/3/2
        exit
        sonet-sdh
            path sts1-1
                payload vt15
                no shutdown
            exit
            path vt15-1.1.1
                no shutdown
            exit
        exit
        tdm
            ds1 1.1.1
                channel-group 1
                    encap-type cem
                    timeslots 1-24
                    no shutdown
                exit
                no shutdown
            exit
        exit
        no shutdown
----------------------------------------------

SC-APS and MC-APS on the 2-port OC3/STM1 Channelized Adapter card (access side) normally support only TDM CES (Cpipes). SC-APS and MC-APS support Epipes with TDM SAPs when the MEF 8 service is used.

The following CLI syntax shows an example of TDM CESoETH with MEF 8 for APS.

*A:7705:Dut-D# configure service epipe 1 
*A:7705:Dut-D>config>epipe# info 
----------------------------------------------
epipe 1 customer 1 vpn 1 create
            description "Default epipe description for service id 1"
            endpoint "X" create
            exit
            endpoint "Y" create
            exit
            sap aps-1.1.1.1.1 endpoint "X" create
                description "Default sap description for service id 1"
                cem
                    local-ecid 1
                    remote-ecid 2
                    remote-mac a4:8d:01:06:00:01
                exit
            exit
            spoke-sdp 2003:1 endpoint "Y" create
            exit
            spoke-sdp 2004:1001 endpoint "X" icb create
            exit                      
            spoke-sdp 2004:2001 endpoint "Y" icb create
            exit
            no shutdown
        exit
----------------------------------------------

The following CLI syntax shows examples of typical configurations of SC-APS and MC-APS on MC-MLPPP access ports on a 4-port OC3/STM1 / 1-port OC12/STM4 Adapter card.

SC-APS node:

===================
    port bpgrp-ppp-1
        multilink-bundle
            working-bundle bundle-ppp-1/5.1
            protect-bundle bundle-ppp-1/6.1
        exit
    exit
  
   port aps-1
        aps
            working-circuit 1/5/1
            protect-circuit 1/6/4
        exit
        sonet-sdh
            path sts1-1
                no shutdown
            exit
            path vt15-1.1.1
                no shutdown
            exit
            path vt15-1.1.2
                no shutdown
            exit
            path vt15-1.1.3
                no shutdown
            exit
            path vt15-1.1.4
                no shutdown
            exit
            path vt15-1.2.1
                no shutdown
            exit
            path vt15-1.2.2
                no shutdown
            exit
            path vt15-1.2.3
                no shutdown
            exit
            path vt15-1.2.4
                no shutdown
            exit
        tdm
            ds1 1.1.1
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.1.2
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.1.3                 
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.1.4
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.2.1
               channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.2.2
                channel-group 1
                    encap-type ipcp
                   no shutdown
                exit
                no shutdown
            exit
            ds1 1.2.3
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.2.4
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
   
     port bpgrp-ppp-1
        multilink-bundle
            mlppp
                endpoint-discriminator class ip-address discriminator-id 1.2.3.4
                multiclass 4
            exit
            member aps-1.1.1.1.1
            member aps-1.1.1.2.1
            member aps-1.1.1.3.1
            member aps-1.1.1.4.1
            member aps-1.1.2.1.1
            member aps-1.1.2.2.1
            member aps-1.1.2.3.1
            member aps-1.1.2.4.1
        exit
        no shutdown
    exit
    port bundle-ppp-1/5.1             
        no shutdown
    exit
    port bundle-ppp-1/6.1
        no shutdown
    exit
    service
        customer 1 create
            description "Default customer"
        exit
        ipipe 1 customer 1 vpn 1 create
            description "Default ipipe description for service id 1"
            sap 1/2/8:501 create
                description "Default sap description for service id 1"
                ce-address 172.16.0.1
            exit
            sap bpgrp-ppp-1 create
                description "Default sap description for service id 1"
                ce-address 172.16.0.0 
                ipcp
                exit
            exit
            no shutdown
        exit

MC-APS working node:

===========================
    port bpgrp-ppp-1
        multilink-bundle
            working-bundle bundle-ppp-1/9.1
        exit
    exit
     port aps-1
        aps
            neighbor 10.10.10.4
            working-circuit 1/9/2
        exit
        sonet-sdh
            path sts1-1
                no shutdown
            exit
            path vt15-1.1.1
                no shutdown
            exit                      
            path vt15-1.1.2
                no shutdown
            exit
            path vt15-1.1.3
                no shutdown
            exit
            path vt15-1.1.4
                no shutdown
            exit
            path vt15-1.2.1
                no shutdown
            exit
            path vt15-1.2.2
                no shutdown
            exit
            path vt15-1.2.3
                no shutdown
            exit
            path vt15-1.2.4
                no shutdown
            exit
        tdm
            ds1 1.1.1
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.1.2
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.1.3
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit                  
                no shutdown
           exit
            ds1 1.1.4
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.2.1
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.2.2
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.2.3
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.2.4
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
    port bpgrp-ppp-1
        multilink-bundle
            mlppp
                endpoint-discriminator class ip-address discriminator-id 1.2.3.4
                multiclass 4
            exit
            member aps-1.1.1.1.1
            member aps-1.1.1.2.1
            member aps-1.1.1.4.1
            member aps-1.1.1.3.1
            member aps-1.1.2.1.1
            member aps-1.1.2.2.1
            member aps-1.1.2.3.1
            member aps-1.1.2.4.1
        exit
        no shutdown
    exit
    port bundle-ppp-1/9.1
        no shutdown
    exit
    service
        sdp 3001 create
            description "LDP_SdpToDut-A"
            far-end 10.10.10.1
            ldp
            keep-alive
                shutdown
            exit
            no shutdown               
        exit
        sdp 3004 create
            description "LDP_SdpToDut-D"
            far-end 10.10.10.4
            ldp
            keep-alive
                shutdown
            exit
            no shutdown
        exit
        customer 1 create
            description "Default customer"
        exit
        ipipe 1 customer 1 vpn 1 create
            description "Default ipipe description for service id 1"
            endpoint "X" create
            exit
            endpoint "Y" create
            exit
            sap bpgrp-ppp-1 endpoint "X" create
                description "Default sap description for service id 1"
                ce-address 172.16.0.1
                ipcp
                exit
            exit
            spoke-sdp 3001:1 endpoint "Y" create
                ce-address 172.16.0.0
                no shutdown
            exit
            spoke-sdp 3004:1001 endpoint "X" icb create
                no shutdown
            exit
            spoke-sdp 3004:2001 endpoint "Y" icb create
                no shutdown
            exit
            no shutdown
        exit

MC-APS protection node:

===========================
    port bpgrp-ppp-1
        multilink-bundle
            protect-bundle bundle-ppp-1/9.1
        exit
    exit
    port aps-1
        aps
            neighbor 10.10.10.3
            protect-circuit 1/9/4
        exit
        sonet-sdh
            path sts1-1
                no shutdown
            exit
            path vt15-1.1.1
                no shutdown
            exit
            path vt15-1.1.2
                no shutdown
            exit
            path vt15-1.1.3
                no shutdown
            exit
            path vt15-1.1.4
                no shutdown
            exit
            path vt15-1.2.1
                no shutdown
            exit
            path vt15-1.2.2
                no shutdown
            exit
            path vt15-1.2.3
                no shutdown
            exit
            path vt15-1.2.4
                no shutdown
            exit
        tdm
            ds1 1.1.1
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.1.2
                channel-group 1
                    encap-type ipcp
                    no shutdown       
                exit
                no shutdown
            exit
            ds1 1.1.3
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.1.4
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.2.1
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.2.2
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.2.3
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
            ds1 1.2.4
                channel-group 1
                    encap-type ipcp
                    no shutdown
                exit
                no shutdown
            exit
    port bpgrp-ppp-1
        multilink-bundle
            mlppp
                endpoint-discriminator class ip-address discriminator-id 1.2.3.4
                multiclass 4
            exit
            member aps-1.1.1.1.1
            member aps-1.1.1.2.1
            member aps-1.1.1.3.1
            member aps-1.1.1.4.1
            member aps-1.1.2.1.1
            member aps-1.1.2.2.1
            member aps-1.1.2.3.1
            member aps-1.1.2.4.1
        exit
        no shutdown
    exit
    port bundle-ppp-1/9.1
        no shutdown
    exit
    service                           
        sdp 4001 create
            description "LDP_SdpToDut-A"
            far-end 10.10.10.1
            ldp
            keep-alive
                shutdown
            exit
            no shutdown
        exit
        sdp 4003 create
            description "LDP_SdpToDut-C"
            far-end 10.10.10.3
            ldp
            keep-alive
                shutdown
            exit
            no shutdown
        exit
        customer 1 create
            description "Default customer"
        exit
        ipipe 1 customer 1 vpn 1 create
            description "Default ipipe description for service id 1"
            endpoint "X" create
            exit
            endpoint "Y" create
            exit
            sap bpgrp-ppp-1 endpoint "X" create
                description "Default sap description for service id 1"
                ce-address 172.16.0.1
                ipcp
                exit
            exit
            spoke-sdp 4001:1 endpoint "Y" create
                ce-address 172.16.0.0
                no shutdown
            exit
            spoke-sdp 4003:1001 endpoint "Y" icb create
                no shutdown
            exit
            spoke-sdp 4003:2001 endpoint "X" icb create
                no shutdown
            exit
            no shutdown
        exit

Pseudowire redundancy node:

===================
    service                     
        sdp 1003 create
            description "LDP_SdpToDut-C"
            far-end 10.10.10.3
            ldp
            keep-alive
                shutdown
            exit
            no shutdown
        exit
        sdp 1004 create
            description "LDP_SdpToDut-D"
            far-end 10.10.10.4
            ldp
            keep-alive
                shutdown
            exit
            no shutdown
        exit
        customer 1 create
            description "Default customer"
        exit
        ipipe 1 customer 1 vpn 1 create
            description "Default ipipe description for service id 1"
            endpoint "Y" create
                revert-time 5
                standby-signaling-master
            exit
            sap 1/2/1:501 create
                description "Default sap description for service id 1"
                ce-address 172.16.1.1
            exit
            spoke-sdp 1003:1 endpoint "Y" create
                ce-address 172.16.1.2
                precedence primary
                no shutdown
            exit
            spoke-sdp 1004:1 endpoint "Y" create
                ce-address 172.16.1.2
                precedence 1
                no shutdown
            exit
            no shutdown
        exit