The Automatic Protection Switching (APS) feature provides link redundancy and allows switchover of Packet over SONET (POS) circuits in the event of circuit failure and is often required when you connect Synchronous Optical Networking (SONET) equipment to telecommunications equipment. In the single router (SR) APS feature both protect and working interfaces must be on same router.
APS is a mechanism of using a protect POS interface in the SONET network as the backup for a working POS interface. When the working interface fails, the protect interface quickly assumes its traffic load. Based on the configuration, the two circuits can be terminated in the same router. The protection mechanism has a 1+1 architecture with bidirectional connection. Bridging refers to the transmission of user data to both working interface and protect interface. In nonbridging scenario the user data is sent to working interface only.
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see
Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for 1+1 SR-APS Without Bridging
Configure the working interface first, along with the IP address of the interface. This configuration helps to prevent the protect interface from becoming the active circuit during APS configuration. If the protect interface becomes active in case if it has been configured first by mistake, you can use shut or noshut command to make the working interface active.
Restrictions for 1+1 SR-APS Without Bridging
Both the protect and working interfaces should be configured identically. No warning message will be displayed if the configurations are different between the interfaces.
Behavior of the APS pair (protect and working interfaces) will be indeterministic if the configurations of protect and working interfaces are not identical.
APS switch over within 50 milliseconds is not supported during online insertion and removal (OIR) or during crash of the shared port adapter (SPA) or carrier card (CC).
APS switching simultaneously with Route Processor (RP) or forwarding plane (FP) high availability (HA) need not be within 50 milliseconds.
The APS feature provides link redundancy and allows switchover of POS circuits in the event of circuit failure and is often required when you connect SONET equipment to telecommunications equipment. In the SR-APS feature both protect and working interfaces must be on same router.
APS is a mechanism of using a protect POS interface in the SONET network as the backup for a working POS interface. When the working interface fails, the protect interface quickly assumes its traffic load. Based on the configuration, the two circuits can be terminated in the same router. The protection mechanism has a 1+1 architecture with bidirectional connection.
In the 1+1 architecture, there is one working interface (circuit) and one protect interface, and the same payload from the transmitting end is sent to both the receiving ends. The receiving end decides the interface that needs to be used. The line overhead (LOH) bytes (K1 and K2) in the SONET frame indicate both status and action. When one interface is down or the K1/K2 bytes have changed, APS brings up the protect interface using regular interface configuration messages.
Bridging refers to the transmission of user data to both the working interface and the protect interface. In nonbridging scenario the user data is sent to the working interface only. You must set the working interface to be the active interface. Cisco ASR 1000 Series Routers (ASR1000) supports only the nonbridging scenario.
In the nonbridging scenario the ASR1000 (with the APS enabled) transmits a signal to the remote end. The ASR1k transmits the signal (except K1/K2 bytes) only to the working interface and not to the protect interface. The K1/K2 bytes are transmitted only to the protect interface. However, ASR1000 can be connected to devices that support bridging APS, which means the devices transmit the same signal to both working and protect interfaces of ASR1000. But the ASR1000 will send the user data (except K1/K2 bytes) only to the working interface of that device. The K1/K2 bytes are transmitted to the protect interface.
SR-APS uses Protect Group Protocol (PGP) between working and protect interfaces. The protect interface APS configuration should include an IP address of a loopback interface on the same router to communicate with the working interface using PGP. Using the PGP, POS interfaces can be switched in case of a degradation or loss of channel signal, or manual intervention. In bidirectional mode, the receive and transmit channels are switched as a pair.
In bidirectional APS the local and the remote connections negotiate the ingress interface to be selected for the data path. The egress interface traffic is not transmitted to both working and protect interfaces.
Perform this task to configure APS working and protect interfaces.
SUMMARY STEPS
1.enable
2.configureterminal
3.interfaceposslot/sub-slot/port
4.apsworkingcircuit-number
5.apsprotectcircuit-numberip-address
6.end
7.showcontrollerspos
8.showinterfacespos
9.showaps
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configureterminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
interfaceposslot/sub-slot/port
Example:
Router(config)# interface pos 2/0/0
Specifies the POS interface to be configured as the working interface and enters interface configuration mode.
Step 4
apsworkingcircuit-number
Example:
Router(config-if)# aps working 1
Configures the interface as a working interface.
Step 5
apsprotectcircuit-numberip-address
Example:
Router(config-if)# aps protect 1 209.165.200.224
Configures the interface as a protect interface. Specifies the IP address of loopback interface on the same router that contains the working interface.
Step 6
end
Example:
Router(config-if)# end
Exits interface configuration mode and returns to privileged EXEC mode.
Step 7
showcontrollerspos
Example:
Router(config)# show controllers pos
Displays information about the POS controllers so that you can verify that the interface is configured correctly.
Step 8
showinterfacespos
Example:
Router(config)# show interfaces pos
Displays information about the configured interfaces.
Step 9
showaps
Example:
Router(config)# show aps
Displays information about APS on the configured router.
Configuring Other APS Options
Perform this task to configure other APS options.
SUMMARY STEPS
1.enable
2.configureterminal
3.interfaceposslot/sub-slot/port
4.apsforcecircuit-number
5.apsgroupgroup-number
6.apslockoutcircuit-number
7.apsmanualcircuit-number
8.apsrevertminutes
9.end
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configureterminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
interfaceposslot/sub-slot/port
Example:
Router(config)# interface pos 2/0/0
Specifies the POS interface to be configured as the working interface and enters interface configuration mode.
Step 4
apsforcecircuit-number
Example:
Router(config-if)# aps force 1
(Optional) Manually switches the specified circuit to a protect interface, unless a request of equal or higher priority is in effect.
Step 5
apsgroupgroup-number
Example:
Router(config-if)# aps group 20
(Optional) Allows more than one protect or working interface group to be supported on a router.
Step 6
apslockoutcircuit-number
Example:
Router(config-if)# aps lockout 1
(Optional) Prevents a working interface from switching to a protect interface.
Step 7
apsmanualcircuit-number
Example:
Router(config-if)# aps manual 1
(Optional) Manually switches a circuit to a protect interface, unless a request of equal or higher priority is in effect.
Step 8
apsrevertminutes
Example:
Router(config-if)# aps revert 3
(Optional) Enables automatic switchover from the protect interface to the working interface after the working interface becomes available.
Step 9
end
Example:
Router(config-if)# end
Exits interface configuration mode and returns to privileged EXEC mode.
Monitoring and Maintaining APS
Perform this task to monitor and maintain APS.
SUMMARY STEPS
1.enable
2.configureterminal
3.showcontrollerspos
4.showinterfacespos
5.showaps
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configureterminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
showcontrollerspos
Example:
Router(config)# show controllers pos
Displays information about the POS controllers so that you can verify that the interface is configured correctly.
Step 4
showinterfacespos
Example:
Router(config)# show interfaces pos
Displays information about the configured interfaces.
Step 5
showaps
Example:
Router(config)# show aps
Displays information about APS on the configured router.
Configuring SONET Alarm Reporting
To configure the thresholds and the type of SONET alarms that are reported, use any of the following commands. The commands listed in this section are optional. To display the current Bit Error Rate (BER) threshold setting or to view the reporting of the SONET alarms, use the showcontrollerspos command.
(Optional) Enables reporting of selected SONET alarms.
Step 6
end
Example:
Router(config-if)# end
Exits interface configuration mode and returns to privileged EXEC mode.
Configuring LAIS as an APS Switchover Trigger
When you place the working interface into administrative shutdown state, the switchover happens with or without posais-shut. When posais-shut is enabled on the interface, the interface sends the line alarm indication signal (LAIS) alarm to the remote end of the administrative shutdown, and the LAIS alarm makes the switchover bit faster. The carrier-delaymsecmilliseconds command and ppptimeoutretryseconds [milliseconds] command are also used to make the APS switchover happen faster.
The carrier-delaymsecmilliseconds command delays the link down event processing for POS interfaces. For example, if the carrier delay is set to 50 milliseconds (ms), the router will ignore all link down events that are cleared within 50 msec. If the link goes down there will be no APS switchover for 50 ms. The default carrier delay is 2 seconds and there will be no APS switchover for 2 seconds after the link goes down. Hence the carrier delay is set to 50 ms for faster switchover.
The ppptimeoutretryseconds [milliseconds] command sets the PPP retry timeout to the specified time. For example, if the timeout retry is set to 200 ms, the router tries to establish PPP link in 200 ms after it detects the signal outage due to APS switchover. If the default retry timeout of 2 seconds is used, then the PPP link will be established 2 seconds after the APS switchover. Hence the PPP timeout retry is set to 50 ms for faster switchover.
SUMMARY STEPS
1.enable
2.configureterminal
3.interfaceposslot/sub-slot/port
4.posais-shut
5.carrier-delaymsecmilliseconds
6.ppptimeoutretryseconds [milliseconds]
7.end
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configureterminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
interfaceposslot/sub-slot/port
Example:
Router(config)# interface pos 2/0/0
Specifies the POS interface to be configured as the working interface and enters interface configuration mode.
Step 4
posais-shut
Example:
Router(config-if)# pos ais-shut
Sends line alarm indication signal (LAIS) alarm on Admin shut of the interface.
Step 5
carrier-delaymsecmilliseconds
Example:
Router(config-if)# carrier-delay msec 50
Delays the link down event processing for POS interfaces and makes the APS switchover faster.
Step 6
ppptimeoutretryseconds [milliseconds]
Example:
Router(config-if)# ppp timeout retry 0 200
Sets the maximum waiting period for a response during PPP negotiation and makes the APS switchover faster.
Step 7
end
Example:
Router(config-if)# end
Exits interface configuration mode and returns to privileged EXEC mode.
Configuration Examples for 1+1 SR-APS Without Bridging
The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies.
To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds.
Access to most tools on the Cisco Support website requires a Cisco.com user ID and password.
Feature Information for 1+1 SR-APS Without Bridging
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Table 1 Feature Information for 1+1 SR-APS Without Bridging
Feature Name
Releases
Feature Information
1+1 SR-APS Without Bridging
Cisco IOS XE Release 3.1S
This feature provides support to 1+1 single router APS without bridging.
There were no commands introduced or modified by this feature.