Table of Contents
Configuring Packet over SONET
About Packet over SONET
About the POS OC-12c Uplink Interface
Configuring the POS OC-12c Uplink Interface
Verifying the POS Configuration
About APS
Configuring APS Mode
Verifying the APS Configuration
Configuring Packet over SONET
This chapter describes basic configuration tasks for Packet over SONET (POS) connections, and includes the following sections:
About Packet over SONET
Synchronous Optical Network (SONET) is an octet-synchronous multiplex scheme that defines a family of standard rates and formats. Optical specifications are defined for single-mode fiber and multimode fiber. The transmission rates are integral multiples of 51.840 Mbps. For example, the POS OC-12c uplink interface provides 622.080 Mbps over single-mode optical fiber.
POS provides for the serial transmission of data over SONET frames using either High-Level Data Link Control (HDLC) protocol, the default, or Point-to-Point Protocol (PPP) encapsulation. On serial interfaces, Cisco's implementation provides the error detection and synchronous framing functions of traditional HDLC without the windowing or retransmission functions that are found in traditional HDLC.
Because SONET/SDH (Synchronous Digital Hierarchy) is by definition a point-to-point circuit, PPP is well suited for use over SONET links. The octet stream is mapped into the SONET/SDH synchronous payload envelope (SPE) in accordance with RFC 2615, "PPP over SONET/SDH," and RFC 2615, "PPP in HDLC-like Framing." Octet boundaries are aligned with the SPE octet boundaries, and the PPP frames are located by row within the SPE payload. Because frames are variable in length, the frames can cross SPE boundaries. Using this scheme, multiprotocol data can be encapsulated and transported directly into SONET frames without relying on ATM to provide Layer 2 capability (for example, in IP over ATM over SONET).
About the POS OC-12c Uplink Interface
POS technology is ideally suited for networks that are built for providing Internet or IP data. It provides superior bandwidth utilization and efficiency over other transport methods. For expensive WAN links, POS can provide as much as 25 to 30 percent higher throughput than ATM-based networks. Transporting frames directly into the SONET/SDH payload eliminates the overhead required in the ATM cell header, IP over ATM encapsulation, and segmentation and reassembly (SAR) functionality.
Figure 6-1 shows a typical application of the POS OC-12c uplink interface module in an enterprise setting. Here, POS links among Catalyst 8540 campus switch routers in each building comprise the enterprise backbone.
Figure 6-1 POS for Enterprise Backbone Connectivity

Figure 6-2 shows an example of a service provider application of the POS OC-12c uplink interface module. Here, traffic aggregates from Catalyst 8500 CSRs over OC-12c POS interfaces to Cisco 12000 GSRs. POS OC-48 interfaces on the Cisco 12000 gigabit switch routers then provide the uplinks to the Internet backbone.
Figure 6-2 POS for Aggregated Traffic Uplink to Internet

Configuring the POS OC-12c Uplink Interface
This section describes the default configuration of the POS OC-12c uplink interface and initial properties you must configure for a newly installed interface. It also describes optional configurations you can use to customize the interfaces for the requirements of your network.
Default Configuration
Table 6-1 shows the default configuration of an enabled POS OC-12c uplink interface. To change any of these values, see the instructions in the "Initially Configuring the POS Interface" section and the "Customizing the Configuration" section.
Table 6-1 POS OC-12c Uplink Interface Default Configuration Values
| Parameter |
Configuration Command |
Default Value |
|
Keepalive
|
[no] keepalive seconds
|
Keepalives enabled, 10 seconds
|
|
Encapsulation
|
encapsulation {hdlc | ppp}
|
HDLC
|
|
Cisco Discovery Protocol (CDP)
|
[no] cdp enable
|
CDP enabled
|
|
Maximum transmission unit (MTU)
|
[no] mtu bytes
|
4470 bytes
|
|
Framing
|
pos framing {sdh | sonet}
|
SONET OC-12c
|
|
Bandwidth
|
[no] bandwidth kbps
|
622000 kbps (not configurable)
|
|
SONET overhead
|
pos flag {c2 value | j0 value | s1s0 value}
|
c2 (path signal byte) set to 0xcf;
j0 (section trace byte) set to 0xcc;
s1s0 (bit s1 and s0 of H1) set to 0
|
|
Loop internal
|
[no] loopback {internal | line}
|
No loopback
|
|
POS SPE scrambling
|
[no] pos scramble-atm
|
POS SPE scrambling enabled
|
|
Cyclic redundancy check
|
crc {16 | 32}
|
32
|
|
Clock source
|
clock source {internal | line}
|
Line
|
|
Automatic Protection Switching (APS)
|
aps working circuit-number
aps protect circuit-number
|
No APS
|
Initially Configuring the POS Interface
Configure the following properties for a newly installed POS OC-12c uplink interface:
- IP routing
- IP address
- Encapsulation type
- Clock source
Configure the following properties to match those of the end interface:
- Keepalive messages
- Cisco Discovery Protocol (CDP)
- Cyclic redundancy check (CRC)
- POS SPE scrambling
- Encapsulation type
To initially configure the POS OC-12c uplink interface, perform the following steps, beginning in global configuration mode:
|
Command |
Purpose |
Step 1
|
Router(config)# ip routing
|
Enables IP routing.
|
Step 2
|
Router(config)# interface pos slot/subslot/interface
Router(config-if)#
|
Enters interface configuration mode and specifies the POS interface to configure.
|
Step 3
|
Router(config-if)# ip address ip-address subnet-mask
|
Assigns an IP address and subnet mask to the interface.
|
Step 4
|
Router(config-if)# encapsulation {hdlc | ppp}
|
Specifies the encapsulation type.
|
Step 5
|
Router(config-if)# clock source {line | internal}
|
Specifies the clock source for the interface, as follows:
- If clocking is derived from the received clock, use line (the default).
- If no line clocking source is available, use internal.
|
Step 6
|
Router(config-if)# no shutdown
|
Enables the interface with the previous configurations.
|
Example
The following example shows how to initially configure a POS OC-12c uplink interface:
Router(config)#
interface pos 1/0/0
Router(config-if)#
ip address 10.1.2.3 255.0.0.0
Router(config-if)#
encapsulation ppp
Router(config-if)#
clock source line
Router(config-if)#
no shutdown
Automatic Reverting of Clock Source
If your system clock source is set to line clock, it uses the recovered received clock to transmit. Some conditions cause severe degradation of the signal quality and the received clock becomes unreliable. Because your system software monitors SF (signal failure), it knows when there is severe degradation in the signal quality and resorts to using the internal clock temporarily. When the conditions that caused the signal quality to deteriorate clear, your system reverts to the line clock.
When two POS interface modules are connected and configured with the default line clock, the signal quality can degrade over time, and both POS interfaces will revert to the internal clock. As soon as the signal quality improves, both POS interfaces revert to using the line clock. This cycle repeats itself causing the line protocol on both interfaces to toggle. You can prevent this situation by configuring one end of the connection with the default line clock and the other with the internal clock.
In addition, degradation in the signal quality causes the POS interfaces to revert back to the clock source under the following conditions:
- SLOS (section loss of signal)
- SLOF (section loss of frame)
- AIS-L (line alarm indication signal)
- SF (signal failure)
-
- B2 error rate crossing the SF threshold value
- B3 error rate crossing the SF threshold value when the pos delay triggers path command is configured
Additional Configurations
To configure additional properties to match those of the far end interface, perform the following steps, beginning in global configuration mode:
|
Command |
Purpose |
Step 1
|
Router(config-if)# no keepalive
|
Turns off keepalive messages. Keepalive messages, though not required, are recommended.
|
Step 2
|
Router(config-if)# no cdp enable
|
Turns off CDP, which is not required.
|
Step 3
|
Router(config-if)# crc {16 | 32}
|
Sets the CRC value. If the device to which the POS module is connected does not support the default CRC value of 32, set both devices to use a value of 16.
|
 |
Note These steps apply to the POS OC-12c uplink interface on the switch router and to the far end interface. |
Customizing the Configuration
This section describes how to customize the configuration of the POS OC-12c uplink interface to match your network environment.
Setting the MTU Size
To set the maximum transmission unit (MTU), perform the following steps, beginning in global configuration mode:
|
Command |
Purpose |
Step 1
|
Router(config)# interface pos slot/subslot/interface
Router(config-if)#
|
Enters interface configuration mode and specifies the POS interface to configure.
|
Step 2
|
Router(config-if)# mtu bytes
|
Configures the MTU size up to a maximum of 9188 bytes. Default MTU size is 4470 bytes.
|
 |
Note The POS OC-12c uplink interface supports IP unicast and IP multicast fragmentation. For IP unicast fragmentation, the packet must ingress on a POS interface and egress on any interface. For IP multicast fragmentation, IP multicast data packets greater than 1500 bytes are fragmented to 1500 bytes on the ingress POS interface before being switched to other members in the multicast group. All the members in the multicast group must have an MTU equal to or greater than 1500 bytes. |
Configuring Framing
The default framing mode for the POS OC-12c uplink interface is SONET STS-12c. You can also configure the interface for SDH STM-4, which is more widely used in Europe. To configure the framing mode on the POS OC-12c uplink interface, perform the following steps, beginning in global configuration mode:
|
Command |
Purpose |
Step 1
|
Router(config)# interface pos slot/subslot/interface
Router(config-if)#
|
Enters interface configuration mode and specifies the POS interface to configure.
|
Step 2
|
Router(config-if)# pos framing {sdh | sonet}
|
Configures the framing mode.
POS framing defaults to SONET. The following default values are used for SONET.
- s1s0 default value is 0.
- J1 defaults set to host name, interface name, and IP address.
The following default values are used for SDH framing:
- s1s0 default value is 2.
- J1 is the path trace string. Its default setting is empty and is not configurable.
|
Step 3
|
Router(config-if)# no shutdown
|
Enables the interface with the previous configuration.
|
Configuring SONET Overhead
You can set the SONET overhead bytes in the frame header to meet a specific standards requirement or to ensure interoperability of the POS OC-12c uplink interface with another vendor's equipment. To configure the SONET overhead, perform the following steps, beginning in global configuration mode.
|
Command |
Purpose |
Step 1
|
Router(config)# interface pos slot/subslot/interface
Router(config-if)#
|
Enters interface configuration mode and specifies the POS interface to configure.
|
Step 2
|
Router(config-if)# pos flag {c2 value | j0 value | sls0 value}
|
Configures the SONET overhead bytes, as follows:
- c2 is a path signal identifier.
- j0 is the section trace byte.
- sls0 is the bit s1 and s0 of the H1 payload pointer byte.
|
Step 3
|
Router(config-if)# no shutdown
|
Enables the interface with the previous configuration.
|
The value of the c2 byte is determined as follows:
- If the value of the c2 byte has not been explicitly configured with the pos flag command, the SONET framer sends the following values:
-
- For Cisco HDLC encapsulation with or without SPE scrambling: 0xCF
- For PPP encapsulation with scrambling: 0x16 (RFC 2615)
- For PPP encapsulation without scrambling: 0xCF (RFC 2615)
- If the value of the c2 byte has been explicitly configured with the pos flag command, the configured value is sent regardless of the encapsulation method.
The value of the s1s0 bits is determined as follows:
- If the value of the s1s0 bits has not been explicitly configured with the pos flag command, the SONET framer sends the following values:
-
- For SONET framing, the default value is 0.
- For SDH framing, the default value is 2.
- If the value of the s1s0 bits has been explicitly configured with the pos flag command, the configured value is used regardless of the framing.
Configuring POS SPE Scrambling
SONET payload scrambling applies a self-synchronous scrambler of polynomial X**43+1 to the synchronous payload envelope (SPE) of the interface to ensure sufficient bit transition density. Both ends of the connection must use the same scrambling algorithm.
To configure POS SPE scrambling, perform the following steps, beginning in global configuration mode:
|
Command |
Purpose |
Step 1
|
Router(config)# interface pos slot/subslot/interface
Router(config-if)#
|
Enters interface configuration mode and specifies the POS interface to configure.
|
Step 2
|
Router(config-if)# no pos scramble-atm
|
Disables payload scrambling on the interface. Payload scrambling is on by default.
|
Step 3
|
Router(config-if)# no shutdown
|
Enables the interface with the previous configuration.
|
Configuring SONET Alarms
The OC-12c POS uplink interface supports SONET alarm monitoring. To configure alarm monitoring, perform the following steps, beginning in global configuration mode:
|
Command |
Purpose |
Step 1
|
Router(config)# interface pos slot/subslot/interface
Router(config-if)#
|
Enters interface configuration mode and specifies the POS interface to configure.
|
Step 2
|
Router(config-if)# pos report {b1-tca | b2-tca | b3-tca | lais | lrdi | pais | plop | prdi | plm-p | sd-ber | sf-ber | slof | slos | uneq-p}
|
Permits console logging of selected SONET alarms.
The alarms follow:
- b1-tca (B1 bit error rate [BER] threshold crossing alarm)
- b2-tca (B2 BER threshold crossing alarm)
- b3-tca (B3 BER threshold crossing alarm)
- lais (line alarm indication signal)
- lrdi (line remote defect indication)
- pais (path alarm indication signal)
- plop (path loss of pointer)
- prdi (path remote defect indication)
- plm-p (payload label, C2 mismatch alarm)
- sd-ber (LBIP BER in excess of threshold)
- sf-ber (signal failure BER)
- slof (section loss of frame)
- slos (section loss of signal), uneq-p (path unequipped C2 alarm).
The following errors are reported by default:
- b1-tca
- b2-tca
- b3-tca
- sf-ber
- slof
- slos
|
Step 3
|
Router(config-if)# pos threshold {b1-tca | b2-tca | b3-tca | sd-ber | sf-ber} rate
|
Sets the BER threshold values of the specified alarms. Default values follow:
- 6 for b1-tca, b2-tca, b3-tca, and sd-ber
- 3 for sf-ber
|
Step 4
|
Router(config-if)# pos ais-shut
|
Sends a line alarm indication signal (AIS-L) to the other end of the link after a shutdown command has been issued to the specified POS interface. By default, the AIS-L is not sent to the other end of the link.
You can stop transmitting the AIS-L by issuing either the
no shutdown or the no pos ais-shut commands.
|
To determine which alarms are reported on the POS interface, and to display the BER thresholds, use the show controllers pos command. For a detailed description of the pos report and pos threshold commands, refer to the Cisco IOS Interface Command Reference publication.
Configuring SONET Delay Triggers
A trigger is an alarm, which, when activated, causes the line protocol to go down.
This section describes how to configure line and section triggers, and path level triggers.
Line and Section Triggers
Table 6-2 lists the line and section alarms that are default triggers:
Table 6-2 Default Line and Section Alarm Triggers
| Alarm |
Description |
|
SLOS
|
Section loss of signal |
|
SLOF
|
Section loss of frame
|
|
AIS-L
|
Line alarm indication signal
|
When one or more of the alarms in Table 6-2 are activated, the interface line protocol goes down without a delay. To delay triggering the line protocol of the interface from going down, you can issue a pos delay triggers line command. You can set the delay from 50 to 10000 ms. If you do not specify a time interval, the default delay is set to 100 ms.
Path Level Triggers
Table 6-3 lists path alarms that are not triggers by default. You can configure these path alarms as triggers and also specify a delay.
Table 6-3 Configurable Path Alarm Triggers
| Alarm |
Description |
|
AIS-P
|
Path alarm indication signal
|
|
RDI-P
|
Path remote defect indication
|
|
LOP-P
|
Path loss of pointer
|
To configure the path alarms listed in Table 6-3 as triggers, you can issue the pos delay triggers path command. These triggers will bring down the interface line protocol. When you configure the path alarms as triggers, you can simultaneously specify a delay for the triggers. You can set the delay from 50 to 10000 ms. If you do not specify a time interval, the default delay is set to 100 ms.
The pos delay triggers path configuration can also bring the line protocol of the interface down when the higher of the B2 and B3 error rates is compared with the SF (signal failure) threshold. If the SF threshold is crossed, then the interface line protocol goes down.
To configure a delay in triggering the interface line protocol from going down, perform the following steps, beginning in global configuration mode:
|
Command |
Purpose |
Step 1
|
Router(config)# interface pos slot/subslot/interface
Router(config-if)#
|
Enters interface configuration mode and specifies the POS interface to configure.
|
Step 2
|
Router(config-if)# pos report
{lais | pais | plop| prdi | slof |
slos}
|
Permits console logging of selected SONET alarms.
The alarms are as follows:
- lais (line alarm indication signal)
- pais (path alarm indication signal)
- plop (path loss of pointer)
- prdi (path remote defect indication)
- slof (section loss of frame)
- slos (section loss of signal)
The slof and slos errors are reported by default.
|
Step 3
|
Router(config-if)# pos delay triggers {line | path} millisecond
|
Delays triggering the interface line protocol from going down. Delay can be set from 50 to 10000 ms. If no time intervals are specified, the default delay is set to 100 ms.
|
Verifying the POS Configuration
To verify the configuration of the POS OC-12c uplink interface, use the following commands:
| Command |
Purpose |
|
show interfaces pos [slot/subslot/interface]
|
Displays detailed information about the POS interface.
|
|
show protocols pos [slot/subslot/interface]
|
Displays status information for the active network protocols.
|
|
show controllers pos [slot/subslot/interface]
|
Displays clock source, SONET alarms and error rates, and registers values to assist in troubleshooting.
|
|
show aps pos [slot/subslot/interface]
|
Displays the aps configuration of the chosen interface.
|
Examples
The following example shows output for the show interfaces pos command:
Router#
show interfaces pos 1/0/0
POS1/0/0 is up, line protocol is down
Hardware is Packet Over SONET
Internet address is 10.1.2.3/8
MTU 4470 bytes, BW 622000 Kbit, DLY 100 usec, rely 255/255, load 1/255
Encapsulation PPP, crc 32, loopback not set, keepalive not set
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 packets output, 480 bytes, 0 underruns
0 output errors, 0 applique, 5 interface resets
0 output buffer failures, 0 output buffers swapped out
The following example shows output for the show protocols pos command:
Router#
show protocols pos 1/0/0
POS1/0/0 is up, line protocol is down
Internet address is 10.1.2.3/8
The following example shows output for the show controllers pos command:
Router# show controllers pos 2/0/0
Hardware is Packet Over SONET, One-port OC12, Single Mode Intermediate Reach
LOF = 1 LOS = 0 BIP(B1) = 96
AIS = 0 RDI = 1 FEBE = 265 BIP(B2) = 1170
AIS = 0 RDI = 1 FEBE = 78 BIP(B3) = 51
Alarm reporting enabled for:SF SLOS SLOF B1-TCA B2-TCA PLOP B3-TCA
Rx(K1/K2):00/00 Tx(K1/K2):00/00
PATH TRACE BUFFER:UNSTABLE
Remote hostname :acl-traffi0.
Remote interface:POS9/0/0
Remote Rx(K1/K2):00/00 Tx(K1/K2):00/00
BER thresholds: SF = 10e-3 SD = 10e-6
TCA thresholds: B1 = 10e-6 B2 = 10e-6 B3 = 10e-6
Clock source: Configured:line Current:line
Last valid pointer from H1-H2: 0x20A
The following example shows output for the show controllers pos command with the detail option:
Router#
show controller pos 2/0/0 detail
Hardware is Packet Over SONET, One-port OC12, Single Mode Intermediate Reach
LOF = 1 LOS = 0 BIP(B1) = 96
AIS = 0 RDI = 1 FEBE = 265 BIP(B2) = 1170
AIS = 0 RDI = 1 FEBE = 78 BIP(B3) = 51
Alarm reporting enabled for:SF SLOS SLOF B1-TCA B2-TCA PLOP B3-TCA
Rx(K1/K2):00/00 Tx(K1/K2):00/00
Remote hostname :acl-traffic
Remote interface:POS9/0/0
Remote Rx(K1/K2):00/00 Tx(K1/K2):00/00
61 63 6C 2D 74 72 61 66 66 69 63 00 00 00 00 00 acl-traffic.....
00 00 2F 30 00 00 00 00 50 4F 53 39 2F 30 2F 30 ../0....POS9/0/0
00 00 00 00 00 00 30 2E 30 2E 30 2E 30 00 00 00 ......0.0.0.0...
00 00 00 00 00 00 30 30 30 30 30 30 30 30 0D 0A ......00000000..
BER thresholds: SF = 10e-3 SD = 10e-6
TCA thresholds: B1 = 10e-6 B2 = 10e-6 B3 = 10e-6
Clock source: Configured:line Current:line
Last valid pointer from H1-H2: 0x20A
B1:set 564, clr 124, ber 0, err 0, lk<1eps 0/0, lk_eps 95, dly 0, set 1, clr
B2:set 564, clr 124, ber 0, err 0, lk<1eps 0/0, lk_eps 0, dly 0, set 1, clr
B3:set 564, clr 124, ber 0, err 0, lk<1eps 0/0, lk_eps 50, dly 0, set 1, clr
Total number of port interrupts = 33
----- POS module IO registers -----
Starting address @0xBC280000
Tx/Rx LED Register = 0x0000
Alarm LED Register = 0x0000
PLL Control Register = 0x0003
Tx Clock Config Register = 0x0000
Interrupt Mask Register = 0x0001
Parity Error Register = 0x0000
Scratch Register = 0x80000000
CRC32 enabled, PPP enc, Diag control reg 1:0x0
----- Skystone Performance Monitor Counters -----
----- Skystone Registers -----
hi_prio_intr_status_u=0x0
hi_prio_intr_status_l=0x0
----- XPIF SLICER Registers -----
SMDR 0xFF78 SSTR 0x1200 SSMR 0x4002 EVER 0x3001
SIMR 0x0000 MBXW 0x0000 MBXR 0x0000 SPER 0xF000
MR1 21723 MR2 0 MR3 0 MR4 0 MR5 3
MR6 0 MR7 0 MR8 0 MR9 0 MR10 0
MR11 1152 MR12 0 MR13 0 MR14 1155 MR15 0
MR16 0 MR17 0 MR18 104 MR19 0 MR20 0
SR1 72036 SR2 18806 SR3 0 SR4 0 SR5 0
MT1 15143 MT2 0 MT3 0 MT4 0 MT5 6
MRXS 262160 MTXS 16 SRXS 3 STXS 0
About APS
Automatic protection switching (APS) allows a switchover of packet-over-SONET circuits if a circuit fails and is required when connecting SONET equipment to telco equipment. APS uses a protection interface in the SONET network as the backup for the primary, or working, interface. When the working interface fails, the protection interface quickly assumes its traffic load.
The OC-12c POS uplink interface supports 1+1 architecture as described in the Bellcore publication TR-TSY-000253, "SONET Transport Systems: Common Generic Criteria," Section 5.3.
You can configure APS in one of two ways on the OC-12c POS uplink interface:
- Configure a single chassis with two SONET ports one port acts as the working interface, while the other acts as the backup interface.
- Configure two chassis with one SONET port on each one port acts as the working interface, while the other acts as the backup interface.
 |
Note APS enabled affects multiple ports. You cannot enable or disable APS on a per port basis. |
Configuring APS Mode
For APS operation, the APS mode must be specified for each interface associated with a redundant pair of interfaces. You must configure the working interface before configuring the protection interface. Otherwise, the protection interface becomes the active interface and disables the working interface.
To configure the working interface, perform the following steps, beginning in global configuration mode:
|
Command |
Purpose |
Step 1
|
Switch(config)# interface pos card/subcard/port
Switch(config-if)#
|
Selects the interface to configure and enters interface configuration mode.
|
Step 2
|
Switch(config-if)# aps working circuit-number
|
Configures the interface as the working interface.
|
Step 3
|
Switch(config-if)# aps 78-12260-04-number
|
Allows more than one protection/working interface group to be supported on a router.
|
Step 4
|
Switch(config-if)# end
|
Exit configuration mode.
|
To configure the protection interface, perform the following steps, beginning in global configuration mode:
|
Command |
Purpose |
Step 1
|
Switch(config)# interface pos card/subcard/port
Switch(config-if)#
|
Selects the interface to configure and enters interface configuration mode.
|
Step 2
|
Switch(config-if)# aps protect circuit-number ip-address
|
Configures the interface as the working interface.
|
Step 3
|
Switch(config-if)# aps group group-number
|
Allows more than one protection or working interface group to be supported on a router.
|
Step 4
|
Switch(config-if)# end
|
Exit configuration mode.
|
Example
The following example shows how to configure APS for POS interface 1/0/0:
Switch# configure terminal
Switch (config)# interface pos1/0/0
Switch (config-if)# aps working 2
Switch (config-if)# aps group 1
Switch (config-if)# end
Switch (config)# interface pos3/0/0
Switch (config-if)# aps protect 1 172.31.235.200
Switch (config-if)# aps group 1
Switch (config-if)# end
Switch#
In the above example, interface 1/0/0 is the working interface and 3/0/0 is the protection interface.
Changing APS Settings
APS priority level commands manually control the relationship between two APS interfaces. The priority levels are defined in the Telcordia publication "GR-253-CORE, SONET Transport Systems: Common Criteria," Table 5.3.
To set the APS levels, use any of the following commands in interface configuration mode:
| Command |
Purpose |
|
aps lockout
|
Prevents a protection interface from switching to a working interface.
|
|
aps force
|
Switches the specified interface to a protection or working interface, unless a request of equal or higher priority is in effect.
|
|
aps manual
|
Switches an interface to a protection or working interface, unless a request of equal or higher priority is in effect.
|
 |
Note The lockout and force priority levels post a request to switch away from the protection or working interface specified. For example, if you issue the aps force command while in interface configuration mode on the protection interface, it causes the system to switch to the working interface, away from the protection interface. The lockout and force commands do not persist over a system restart. |
Example
The following example shows how to force the system to use the protection channel associated with POS interface 1/0/0:
Switch# configure terminal
Switch(config)# interface pos2/0/0
Switch(config-if)# aps force 1
Switch(config-if)#
Set APS Signal Thresholds (Catalyst 8540)
You can configure the APS signal bit error rate (BER) thresholds to initiate a signal degrade or signal failure. To configure the thresholds, use the following interface configuration mode commands:
| Command |
Purpose |
|
aps signal-degrade ber threshold value
|
Configures the BER threshold value for signal degrade. value represents the exponent of the BER threshold
|
|
aps signal-fail ber threshold value
|
Configures the BER threshold value for signal failure.
|
 |
Note The value variable represents the exponent of the BER threshold. For instance, a value of 5 would set the threshold to 10-5. The default value is 10-3, which is adequate for most APS installations. |
Example (Catalyst 8540)
The following example shows how to set the APS signal degrade and signal failure thresholds for ATM interface 1/0/0:
Switch(config)# interface atm 1/0/0
Switch (config-if)# aps signal degrade BER threshold 7
Switch (config-if)# aps signal-fail BER threshold 5
To display the current BER threshold settings for an interface, use the show running interface atm card/subcard/port command.
Configuring Other APS Options
To configure other APS options, perform any of the following tasks in interface configuration mode. The tasks listed in this section are optional.
| Command |
Purpose |
|
aps authentication string
|
Enables authentication and specifies the string that must be present to accept any packet on the Out-of-Band (OOB) communication channel. By default, this function is disabled.
|
|
aps unidirectional
|
Configures a protection interface for unidirectional mode. By default, interfaces are bidirectional.
|
|
aps timers seconds1 seconds2
|
Changes the time between hello packets and the time before the protection interface process declares a working interface to be down (that is, seconds1 for the hello time, and seconds2 for the hold time).
|
|
aps revert minutes
|
Enables automatic switchover from the protection interface to the working interface after the working interface becomes available. By default, configuration is nonrevertive.
|
Example
The following example shows how to configure aps authentication:
Switch# configure terminal
Switch(config)# interface pos2/0/0
Switch(config-if)# aps authentication 1
Switch(config-if)# end
Verifying the APS Configuration
To verify the APS configuration, use the following command:
| Command |
Purpose |
|
show aps pos [slot/subslot/interface]
|
Displays the aps configuration of the chosen interface.
|
The following example shows output for the show aps command:
POS0/0/0 protect group 2 channel 0 bidirectional non-revertive Init~Selected
Rx_K1=FF, Rx_K2=D8 Tx_K1=E0 Tx_K2=5
Working channel 1 at 1.1.1.1 Init Enabled
Local requests:
request 14, channel(s) 0
request 12, channel(s) 0
request 8, channel(s) 0
POS2/0/0 working group 2 channel 1 Enabled SF (Interface down)