[Contents] [Prev] [Next] [Index] [Report an Error]

# Monitoring SONET/SDH Interfaces

You can monitor interface statistics and APS/MSP settings.

| Note: The E120 router and E320 router output for monitor and show commands is identical to output from other E-series routers, except that the E120 and E320 router output also includes information about the adapter identifier in the interface specifier (slot/adapter/port).

## 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 1—Sets 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/0
  `
- Example 2—Sets a baseline for SONET line layer interfaces on the E320 router
  `
  host1#baseline line interface sonet 3/0/0
  `
- There is no no version.
- See baseline line interface sonet.

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 1—Sets 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/0
  `
- Example 2—Sets a baseline for SONET path layer interfaces on the E320 router
  `
  host1#baseline path interface sonet 3/0/0
  `
- There is no no version.
- See baseline path interface sonet.

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 1—Sets 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/0
  `
- Example 2—Sets a baseline for SONET section layer interfaces on the E320 router
  `
  host1#baseline section interface sonet 3/0/0
  `
- There is no no version.
- See baseline section interface sonet.

show controllers sonet

- Use to display the configuration for SONET and SDH interfaces.
- Field descriptions
  - 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 channelized—Unchannelized path
  - channelized—Number of channels and speed for the interface
  - ifAdminStatus—Configured status of the interface: up or down
  - description—Configured description of the controller
  - snmp trap link-status—State of SNMP link-status processing for the section and line layers of the interface: enabled or disabled
  - alarms used for operational status calculation—Types of defects that the router uses to determine the operational status of the interface at the section and line layers
  - defect trigger soaking delay—Time that the router waits to set an alarm when the router records a defect at the section or line layer
  - Operational Status—Physical state of the interface:
    - up—Interface is operational
    - down, failure alarm—Interface is not operational; type of defect that caused failure is specified
    - time since last status change—Time since the module was rebooted
  - Loopback State—Type of loopback configured on the interface
  - Mode—Type of interface: SONET or SDH
  - Timing source—Type of clock source configured for the channel:
    - line—Internal clock is from the line module itself
    - chassis—Internal clock is from the configured router clock
  - Receive FIFO Overruns—Number of times received FIFO was overrun
  - Current section defects—Number of suspect bit patterns found in several consecutive frames in section layer
  - Current line defects—Number of suspect bit patterns found in several consecutive frames in line layer
  - Received SONET overhead—Section and line overhead bytes present in the receive side of the interface at any particular time
  - Transmitted SONET overhead—Section and line overhead bytes present in the transmit side of the interface at any particular time
  - Channel configuration—Parameters for specific controllers. The actual parameters depend on the controller.
    - ifAdminStatus—State of the controller in the software configuration: up or down
    - snmp trap link-status—State of SNMP link status processing for the path layer: enabled or disabled
    - alarms used for operational status calculation—Types of defects that the router uses to determine the operational status of the interface at the path layer
    - defect trigger soaking delay—Time that the router waits to set an alarm when the router records a defect at the path layer
    - c2 byte—Setting of path signal byte: set by upper interface type (automatic setting) or configured value
    - Operational Status—Physical 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 overhead—Path overhead bytes present in the receive side of the interface at any particular time
  - Transmitted SONET Path overhead—Path overhead bytes present in the transmit side of the interface at any particular time
- Example

      host1# show controllers sonet 1/0
      oc3 1/0
      non channelized
      ifAdminStatus: up
      description: link1
      snmp trap link-status: enabled
      alarms used for operational status calculation: LOS LOF AIS RDI
      defect trigger soaking delay: 2500 milliseconds
      Operational Status: down, failure alarm: AIS
            time since last status change: 07:33:12
      Loopback State: none
      Mode: sonet
      Timing source: line
      Receive FIFO Overruns: 0, Framer stats: 0/0
      Current section defects: none
      Current line    defects: AIS
      Received SONET overhead:
      F1      :  n/a, J0      :  n/a, K1      : 0xFF, K2      : 0xFF, S1      : 0xFF
      Transmitted SONET overhead:
      F1      : 0x00, J0      : 0x01, K1      : 0x00, K2      : 0x00, S1      : 0x00
      Channel configuration:
      channel = 0, path = oc3, hierarchy = 1/0, current path defects: LowerLayerDefect
       ifAdminStatus: up
       snmp trap link-status: disabled
       alarms used for operational status calculation: LOP AIS
       defect trigger soaking delay: 2500 milliseconds
       c2 byte set by upper interface type
       Operational Status: lowerLayerDown
             time since last status change: 07:33:12
      Received SONET Path overhead:
      F2      :  n/a, Z3      :  n/a, Z4      :  n/a, C2      : 0xFF, C2Exp   : 0x00
      Transmitted SONET Path overhead:
      F2      : 0x00, Z3      : 0x00, Z4      : 0x00, C2      : 0x00

- See show controllers sonet.

show 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 2558—Definitions 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
  - Current Interval Counters—Statistics for the current 15-minute interval

    The following fields may appear in line, path, or section:

    - ES—Number of errored seconds encountered by a T1 or an E1 in an interval
    - SES—Number of severely errored seconds encountered in an interval
    - UAS—Number of unavailable seconds encountered in an interval
    - SEFS—Number 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)
    - RDI—Number of remote defect indications
    - AIS—Number of alarm indication signals
    - BERR-SF—Number of bit error rate signal failures
    - BERR-SD—Number of bit error rate signal degrades
    - LOS—Number of loss of signal alarms
    - LOF—Number of loss of frame alarms
    - LOP—Number of loss of pointers
    - UNEQ—Number of unequipped alarms
    - PLM—Number of payload mismatchs
  - Last Interval Counters—Statistics for the previous 15-minute interval
  - Current Far End Interval Counters—Statistics for the remote connection associated with the SONET/SDH path in the current 15-minute interval
    - REI—Number of remote error indications
  - Far End Last Interval Counters—Statistics for the remote connection associated with the SONET/SDH path in the previous 15-minute interval
  - Total Interval Counters—Statistics for all intervals or baselined statistics
  - Total Far End Counters—Statistics for all remote connections associated with the SONET/SDH path
- Example 1—Shows the MIB statistics for the path layer on interface 1/0.

      host1#show controllers sonet 1/0 path

      Channel number 0

      Number of valid intervals - 31
      Time elapsed in current interval - 141
      Current status                   = LowerLayerDefect

      Current Path Interval Counters           Seconds      Counts        State
      ES                                            0
      SES                                           0
      UAS                                         141
      RDI                                           141           0       Active
      AIS                                           141           0       Active
      LOP                                           0            0        OK
      UNEQ                                          0            0        OK
      PLM                                          141            0      Active
      BIP-B3  (Code Violation)                      0             0

      Last Path Interval Counters              Seconds      Counts
      ES                                            0
      SES                                           0
      UAS                                         900
      RDI                                         900             0
      AIS                                         900             0
      LOP                                           0             0
      UNEQ                                          0             0
      PLM                                         900             0
      BIP-B3  (Code Violation)                      0             0

      Total Path Counters                      Seconds      Counts
      ES                                            0
      SES                                           0
      UAS                                       27255
      RDI                                       27255             0
      AIS                                       27255             0
      LOP                                           0             0
      UNEQ                                          0             0
      PLM                                       27255             0
      BIP-B3  (Code Violation)                      0             0

      Current Far End Path Interval Counters   Seconds      Counts
      ES                                            0
      SES                                           0
      UAS                                         141
      REI                                           0             0

      Far End Last Path Interval Counters      Seconds      Counts
      ES                                            0
      SES                                           0
      UAS                                         900
      REI                                           0             0

      Total Far End Path Counters              Seconds      Counts
      ES                                            0
      SES                                           0
      UAS                                       27255
      REI                                           0             0

- Example 2—Shows the MIB statistics for the line layer on interface 1/0.

      host1#show controllers sonet 1/0 line

      Number of valid intervals - 31
      Time elapsed in current interval - 114
      Current status                   = AIS

      Current Line Interval Counters           Seconds      Counts        State
      ES                                            0
      SES                                           0
      UAS                                         113
      RDI                                           0             0       OK
      AIS                                          113              0      Active
      BERR-SF                                       0             0       OK
      BERR-SD                                       0             0       OK
      BIP-B2 (Code Violation)                       0             0

      Last Line Interval Counters              Seconds      Counts
      ES                                            0
      SES                                           0
      UAS                                         900
      RDI                                           0             0
      AIS                                         900             0
      BERR-SF                                       0             0
      BERR-SD                                       0             0
      BIP-B2 (Code Violation)                       0             0

      Total Line Counters                      Seconds      Counts
      ES                                            0
      SES                                           0
      UAS                                       27227
      RDI                                           0             0
      AIS                                       27227             1
      BERR-SF                                       0             0
      BERR-SD                                       0             0
      BIP-B2 (Code Violation)                       0             0

      Current Far End Line Interval Counters   Seconds      Counts
      ES                                            0
      SES                                           0
      UAS                                           0
      REI                                           0             0

      Far End Last Line Interval Counters      Seconds      Counts
      ES                                            0
      SES                                           0
      UAS                                           0
      REI                                           0             0

      Total Far End Line Counters              Seconds      Counts
      ES                                            0
      SES                                           0
      UAS                                          10
      REI                                           0             0

- Example 3—Shows the MIB statistics for the section layer on interface 1/0.

      host1#show controllers sonet 1/0 section

      Number of valid intervals - 31
      Time elapsed in current interval - 49
      Current status                   = No Defect

      Current Section Interval Counters        Seconds      Counts        State
      ES                                            0
      SES                                           0
      SEFS                                          0
      LOS                                           0             0       OK
      LOF                                           0             0       OK
      BIP-B1 (Code Violation)                       0             0

      Last Section Interval Counters           Seconds      Counts
      ES                                            0
      SES                                           0
      SEFS                                          0
      LOS                                           0             0
      LOF                                           0             0
      BIP-B1 (Code Violation)                       0             0

      Total Section Counters                   Seconds      Counts
      ES                                            1
      SES                                           1
      SEFS                                          0
      LOS                                           0             0
      LOF                                           0             0
      BIP-B1 (Code Violation)                       1            16

- Example 4—Shows all statistics for all sessions for the section layer on interface 2/0.

      host1#show controllers sonet 2/0 section total

      Number of valid intervals - 31
      Time elapsed in current interval - 244

      Total Section Counters                   Seconds      Counts
      ES                                            1
      SES                                           1
      SEFS                                          0
      LOS                                           0             0
      LOF                                           0             0
      BIP-B1 (Code Violation)                       1            16

- See show controllers sonet.

## Monitoring 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 none and include only the group name.
- Field descriptions
  - sonet x/y—Location of the SONET/SDH interface
  - protect group—Name of the APS group that contains the working interface and the corresponding protect interface
  - channel—Number of the APS channel; 0 identifies the protect interface, 1 identifies the working interface
  - ~—Interface is not currently active
  - Selected—Interface is active
  - ~Selected—Interface is not active
  - Bidirectional—Router switches to the protect interface using the bidirectional switching mechanism
  - Unidirectional—Router switches to the protect interface using the unidirectional mode switching mechanism
  - Nonrevertive—Router does not revert to the working interface when it recovers
  - Revertive—Router reverts to the working interface when it recovers
  - Disabled—APS/MSP is disabled on the interface
  - Enabled—APS/MSP is enabled on the interface
- Example 1

      host1#show aps
      sonet 5/1 protect group one channel 0  ~Selected Unidirectional Nonrevertive
      sonet 5/0 working group one channel 1   Selected Enabled

- Example 2

      host1#show aps all
      aps events: disabled
      sonet 4/0 working group group-4 channel 1   Selected Enabled
      sonet 4/1 protect group group-4 channel 0  ~Selected Unidirectional Nonrevertive
      sonet 2/0 working group group-2 channel 1   Selected Enabled
      sonet 2/1 protect group group-2 channel 0  ~Selected Unidirectional Nonrevertive
      sonet 12/0
      sonet 12/1
      sonet 12/2 none    group partial-group
      sonet 12/3
      sonet 12/4
      sonet 12/5
      sonet 12/6
      sonet 12/7

- See show aps.

show aps group

- Use to display information about all APS/MSP groups or a specified APS/MSP group.
- Field descriptions
  - Aps group—Name of the APS group for which information is displayed
  - Current Conditions—Current state of the group
  - Rx (K1/K2)—Value, meaning, and channel number of the received K1 and K2 bytes (see Table 7 and Table 8)
  - Tx (K1/K2)—Value, meaning, and channel number of the transmitted K1 and K2 bytes (see Table 7 and Table 8)
  - Counters—Statistics for APS group
    - ModeMismatch—Number of differences detected in the local and remote switching mechanisms (unidirectional or bidirectional modes)
    - ChanMismatch—Number 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
    - PSBF—Number of protection switching byte failures detected (no 3 consecutive SONET/SDH frames out of the last 12 contain identical K1 bytes)
    - FEPLF—Number of far-end protection line failures (signal failures detected on protect interface)
  - Aps channel—Number, interface specifier (in slot/port format), and protect/working designation of the APS channel for which information is displayed
    - aps-protect—Identifies the protect interface
    - aps-working—Identifies the working interface
  - Current Conditions—Current state of the interface for this channel
    - lockedOut—Indicates that the router is configured to prevent the protect interface from taking over if the primary interface fails
    - SD—Indicates that signal degradation is detected
    - SF—Indicates that signal failure is detected
    - switched—Indicates that the router has switched from the working interface to the protect interface
  - Counters—Statistics for APS channel
    - SignalDegrades—Number of degraded signals detected
    - SignalFailures—Number of failed signals detected
    - Switchovers—Number of times the router has switched from the working interface to the protect interface
    - LastSwitchover—Length 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
- Example

      host1#show aps group
      Aps group bos
        Current Conditions: PSBF
        Rx(K1/K2): 00/00, No Request on channel 0
        Tx(K1/K2): f0/05, Lockout of Protection on channel 0
        Counters
          ModeMismatch = 0
          ChanMismatch = 0
          PSBF         = 1
          FEPLF        = 0
        Aps channel 0  (5/4) (aps-protect)
          Current Conditions: SF
          Counters
            SignalDegrades = 0
            SignalFailures = 1
        Aps channel 1  (5/0) (aps-working)
          Current Conditions: None
          Counters
            SignalDegrades = 0
            SignalFailures = 0
            Switchovers    = 0
            LastSwitchover = Not Applicable

- See show aps.

[Contents] [Prev] [Next] [Index] [Report an Error]