Monitoring SONET/SDH Interfaces
You can monitor interface statistics and APS/MSP settings.
Monitoring Interface Statistics
You can set statistics baselines for the section, line, and path layers using the baseline interface sonet commands.
To display statistics for SONET and SDH interfaces, use the show controllers sonet commands. Use the delta options to display statistics with the baseline subtracted.
baseline line interface sonet
- Use to set a statistics baseline for the SONET/SDH line layer.
- The router implements the baseline by reading and storing the MIB statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.
- Use the total [ delta ] keywords with the show controllers sonet line command to view the baseline statistics.
- Example 1Sets a baseline for SONET line layer interfaces on ERX-14xx models, ERX-7xx models, or the ERX-310 router
host1#baseline line interface sonet 2/0Example 2Sets a baseline for SONET line layer interfaces on the E320 router host1#baseline line interface sonet 3/0/0There is no no version. baseline path interface sonet
- Use to set a statistics baseline for the SONET/SDH path layer.
- The router implements the baseline by reading and storing the MIB statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.
- Use the total [ delta ] keywords with the show controllers sonet path command to view the baseline statistics.
- Example 1Sets a baseline for SONET path layer interfaces on ERX-14xx models, ERX-7xx models, or the ERX-310 router
host1#baseline path interface sonet 2/0Example 2Sets a baseline for SONET path layer interfaces on the E320 router host1#baseline path interface sonet 3/0/0There is no no version. baseline section interface sonet
- Use to set a statistics baseline for the SONET/SDH section layer.
- The router implements the baseline by reading and storing the MIB statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.
- Use the total [ delta ] keywords with the show controllers sonet section commands to view the baseline statistics.
- Example 1Sets a baseline for SONET section layer interfaces on ERX-14xx models, ERX-7xx models, or the ERX-310 router
host1#baseline section interface sonet 2/0Example 2Sets a baseline for SONET section layer interfaces on the E320 router host1#baseline section interface sonet 3/0/0There is no no version. show controllers sonet
- Interface specifier in slot/port format (ERX-14xx models, ERX-7xx models, and the ERX-310 router) or slot/adapter/port format (E120 and E320 routers)
- non channelizedUnchannelized path
- channelizedNumber of channels and speed for the interface
- ifAdminStatusConfigured status of the interface: up or down
- descriptionConfigured description of the controller
- snmp trap link-statusState of SNMP link-status processing for the section and line layers of the interface: enabled or disabled
- alarms used for operational status calculationTypes of defects that the router uses to determine the operational status of the interface at the section and line layers
- defect trigger soaking delayTime that the router waits to set an alarm when the router records a defect at the section or line layer
- Operational StatusPhysical state of the interface:
- upInterface is operational
- down, failure alarmInterface is not operational; type of defect that caused failure is specified
- time since last status changeTime since the module was rebooted
- Loopback StateType of loopback configured on the interface
- ModeType of interface: SONET or SDH
- Timing sourceType of clock source configured for the channel:
- lineInternal clock is from the line module itself
- chassisInternal clock is from the configured router clock
- Receive FIFO OverrunsNumber of times received FIFO was overrun
- Current section defectsNumber of suspect bit patterns found in several consecutive frames in section layer
- Current line defectsNumber of suspect bit patterns found in several consecutive frames in line layer
- Received SONET overheadSection and line overhead bytes present in the receive side of the interface at any particular time
- Transmitted SONET overheadSection and line overhead bytes present in the transmit side of the interface at any particular time
- Channel configurationParameters for specific controllers. The actual parameters depend on the controller.
- ifAdminStatusState of the controller in the software configuration: up or down
- snmp trap link-statusState of SNMP link status processing for the path layer: enabled or disabled
- alarms used for operational status calculationTypes of defects that the router uses to determine the operational status of the interface at the path layer
- defect trigger soaking delayTime that the router waits to set an alarm when the router records a defect at the path layer
- c2 byteSetting of path signal byte: set by upper interface type (automatic setting) or configured value
- Operational StatusPhysical state of the controller: up, down, or lowerLayerDown
- time since last status change: time the controller has been in the current physical state
- Received SONET Path overheadPath overhead bytes present in the receive side of the interface at any particular time
- Transmitted SONET Path overheadPath overhead bytes present in the transmit side of the interface at any particular time
host1#show controllers sonet 1/0oc3 1/0non channelizedifAdminStatus: updescription: link1snmp trap link-status: enabledalarms used for operational status calculation: LOS LOF AIS RDIdefect trigger soaking delay: 2500 millisecondsOperational Status: down, failure alarm: AIStime since last status change: 07:33:12Loopback State: noneMode: sonetTiming source: lineReceive FIFO Overruns: 0, Framer stats: 0/0Current section defects: noneCurrent line defects: AISReceived SONET overhead:F1 : n/a, J0 : n/a, K1 : 0xFF, K2 : 0xFF, S1 : 0xFFTransmitted SONET overhead:F1 : 0x00, J0 : 0x01, K1 : 0x00, K2 : 0x00, S1 : 0x00Channel configuration:channel = 0, path = oc3, hierarchy = 1/0, current path defects: LowerLayerDefectifAdminStatus: upsnmp trap link-status: disabledalarms used for operational status calculation: LOP AISdefect trigger soaking delay: 2500 millisecondsc2 byte set by upper interface typeOperational Status: lowerLayerDowntime since last status change: 07:33:12Received SONET Path overhead:F2 : n/a, Z3 : n/a, Z4 : n/a, C2 : 0xFF, C2Exp : 0x00Transmitted SONET Path overhead:F2 : 0x00, Z3 : 0x00, Z4 : 0x00, C2 : 0x00show controllers sonet line | path | section
- Use to display statistics for the different layers in channelized SONET and SDH interfaces. Figure 5 and Figure 6 show the layers in the interfaces.
- For definitions of the MIB statistics, see RFC 2558Definitions of Managed Objects for the SONET/SDH Interface Type (March 1999).
- Specify an interface in slot/port format (ERX-14xx models, ERX-7xx models, and the ERX-310 router) or slot/adapter/port format (E120 and E320 routers).
- To view statistics for a layer, specify the type of layer.
- To view all statistics for all sessions, specify the total keyword.
- To view baselined statistics for all intervals, specify the delta total keywords.
- Field descriptions
The following fields may appear in line, path, or section:
- ESNumber of errored seconds encountered by a T1 or an E1 in an interval
- SESNumber of severely errored seconds encountered in an interval
- UASNumber of unavailable seconds encountered in an interval
- SEFSNumber of severely errored framing seconds encountered in an interval
- (Code Violations)Number of coding violations encountered in an interval (BIP-B1, BIP-B2, BIP-B3)
- RDINumber of remote defect indications
- AISNumber of alarm indication signals
- BERR-SFNumber of bit error rate signal failures
- BERR-SDNumber of bit error rate signal degrades
- LOSNumber of loss of signal alarms
- LOFNumber of loss of frame alarms
- LOPNumber of loss of pointers
- UNEQNumber of unequipped alarms
- PLMNumber of payload mismatchs
- Last Interval CountersStatistics for the previous 15-minute interval
- Current Far End Interval CountersStatistics for the remote connection associated with the SONET/SDH path in the current 15-minute interval
- Far End Last Interval CountersStatistics for the remote connection associated with the SONET/SDH path in the previous 15-minute interval
- Total Interval CountersStatistics for all intervals or baselined statistics
- Total Far End CountersStatistics for all remote connections associated with the SONET/SDH path
host1#show controllers sonet 1/0 pathChannel number 0Number of valid intervals - 31Time elapsed in current interval - 141Current status = LowerLayerDefectCurrent Path Interval Counters Seconds Counts StateES 0SES 0UAS 141RDI 141 0 ActiveAIS 141 0 ActiveLOP 0 0 OKUNEQ 0 0 OKPLM 141 0 ActiveBIP-B3 (Code Violation) 0 0Last Path Interval Counters Seconds CountsES 0SES 0UAS 900RDI 900 0AIS 900 0LOP 0 0UNEQ 0 0PLM 900 0BIP-B3 (Code Violation) 0 0Total Path Counters Seconds CountsES 0SES 0UAS 27255RDI 27255 0AIS 27255 0LOP 0 0UNEQ 0 0PLM 27255 0BIP-B3 (Code Violation) 0 0Current Far End Path Interval Counters Seconds CountsES 0SES 0UAS 141REI 0 0Far End Last Path Interval Counters Seconds CountsES 0SES 0UAS 900REI 0 0Total Far End Path Counters Seconds CountsES 0SES 0UAS 27255REI 0 0Example 2Shows the MIB statistics for the line layer on interface 1/0. host1#show controllers sonet 1/0 lineNumber of valid intervals - 31Time elapsed in current interval - 114Current status = AISCurrent Line Interval Counters Seconds Counts StateES 0SES 0UAS 113RDI 0 0 OKAIS 113 0 ActiveBERR-SF 0 0 OKBERR-SD 0 0 OKBIP-B2 (Code Violation) 0 0Last Line Interval Counters Seconds CountsES 0SES 0UAS 900RDI 0 0AIS 900 0BERR-SF 0 0BERR-SD 0 0BIP-B2 (Code Violation) 0 0Total Line Counters Seconds CountsES 0SES 0UAS 27227RDI 0 0AIS 27227 1BERR-SF 0 0BERR-SD 0 0BIP-B2 (Code Violation) 0 0Current Far End Line Interval Counters Seconds CountsES 0SES 0UAS 0REI 0 0Far End Last Line Interval Counters Seconds CountsES 0SES 0UAS 0REI 0 0Total Far End Line Counters Seconds CountsES 0SES 0UAS 10REI 0 0Example 3Shows the MIB statistics for the section layer on interface 1/0. host1#show controllers sonet 1/0 sectionNumber of valid intervals - 31Time elapsed in current interval - 49Current status = No DefectCurrent Section Interval Counters Seconds Counts StateES 0SES 0SEFS 0LOS 0 0 OKLOF 0 0 OKBIP-B1 (Code Violation) 0 0Last Section Interval Counters Seconds CountsES 0SES 0SEFS 0LOS 0 0LOF 0 0BIP-B1 (Code Violation) 0 0Total Section Counters Seconds CountsES 1SES 1SEFS 0LOS 0 0LOF 0 0BIP-B1 (Code Violation) 1 16Example 4Shows all statistics for all sessions for the section layer on interface 2/0. host1#show controllers sonet 2/0 section totalNumber of valid intervals - 31Time elapsed in current interval - 244Total Section Counters Seconds CountsES 1SES 1SEFS 0LOS 0 0LOF 0 0BIP-B1 (Code Violation) 1 16Monitoring APS/MSP
You can use the show aps commands to monitor APS/MSP.
show aps
- Use to display information about interfaces on which APS/MSP is configured.
- Use the all keyword to display information from all APS/MSP groups. In the output, partially configured controllers are displayed with
noneand include only the group name.- Field descriptions
- sonet x/yLocation of the SONET/SDH interface
- protect groupName of the APS group that contains the working interface and the corresponding protect interface
- channelNumber of the APS channel; 0 identifies the protect interface, 1 identifies the working interface
- ~Interface is not currently active
- SelectedInterface is active
- ~SelectedInterface is not active
- BidirectionalRouter switches to the protect interface using the bidirectional switching mechanism
- UnidirectionalRouter switches to the protect interface using the unidirectional mode switching mechanism
- NonrevertiveRouter does not revert to the working interface when it recovers
- RevertiveRouter reverts to the working interface when it recovers
- DisabledAPS/MSP is disabled on the interface
- EnabledAPS/MSP is enabled on the interface
host1#show apssonet 5/1 protect group one channel 0 ~Selected Unidirectional Nonrevertivesonet 5/0 working group one channel 1 Selected EnabledExample 2 host1#show aps allaps events: disabledsonet 4/0 working group group-4 channel 1 Selected Enabledsonet 4/1 protect group group-4 channel 0 ~Selected Unidirectional Nonrevertivesonet 2/0 working group group-2 channel 1 Selected Enabledsonet 2/1 protect group group-2 channel 0 ~Selected Unidirectional Nonrevertivesonet 12/0sonet 12/1sonet 12/2 none group partial-groupsonet 12/3sonet 12/4sonet 12/5sonet 12/6sonet 12/7show aps group
- Use to display information about all APS/MSP groups or a specified APS/MSP group.
- Field descriptions
- Aps groupName of the APS group for which information is displayed
- Current ConditionsCurrent state of the group
- Rx (K1/K2)Value, meaning, and channel number of the received K1 and K2 bytes (see Table 8 and Table 9)
- Tx (K1/K2)Value, meaning, and channel number of the transmitted K1 and K2 bytes (see Table 8 and Table 9)
- CountersStatistics for APS group
- ModeMismatchNumber of differences detected in the local and remote switching mechanisms (unidirectional or bidirectional modes)
- ChanMismatchNumber of differences detected between the number of the channel in the transmitted K1 byte and the number of the channel in the received K2 byte
- PSBFNumber of protection switching byte failures detected (no 3 consecutive SONET/SDH frames out of the last 12 contain identical K1 bytes)
- FEPLFNumber of far-end protection line failures (signal failures detected on protect interface)
- Aps channelNumber, interface specifier (in slot/port format), and protect/working designation of the APS channel for which information is displayed
- lockedOutIndicates that the router is configured to prevent the protect interface from taking over if the primary interface fails
- SDIndicates that signal degradation is detected
- SFIndicates that signal failure is detected
- switchedIndicates that the router has switched from the working interface to the protect interface
- SignalDegradesNumber of degraded signals detected
- SignalFailuresNumber of failed signals detected
- SwitchoversNumber of times the router has switched from the working interface to the protect interface
- LastSwitchoverLength of time that the working interface was active when the router last switched from the working interface to the protect interface; a value of Not Applicable indicates that no switchovers have occurred
host1#show aps groupAps group bosCurrent Conditions: PSBFRx(K1/K2): 00/00, No Request on channel 0Tx(K1/K2): f0/05, Lockout of Protection on channel 0CountersModeMismatch = 0ChanMismatch = 0PSBF = 1FEPLF = 0Aps channel 0 (5/4) (aps-protect)Current Conditions: SFCountersSignalDegrades = 0SignalFailures = 1Aps channel 1 (5/0) (aps-working)Current Conditions: NoneCountersSignalDegrades = 0SignalFailures = 0Switchovers = 0LastSwitchover = Not Applicable