# Monitoring Interfaces

From User Exec mode, use the following show commands to monitor and display the T3 or E3 interface information:

host1#show controllers t3 0/1 host1#show controllers e3 3/2

## Setting a Baseline

You can set a statistics baseline for serial interfaces using the baseline interface serial command. Use the delta keyword with the show commands to display statistics with the baseline subtracted.

## Displaying Counters and Time Intervals

Counters and time intervals are MIB statistics, which are defined in
RFC 2496—Definitions of Managed Objects for the DS3/E3 Interface Types (January 1999).

The show controllers t3 slot/port all command displays the following interface information:

- Status information
- T3 current interval counters—Displays the counters for the current interval
- T3 last interval counters—Displays the counters for the previous interval
- T3 24-hour total counters—Displays the cumulative counters for the last 24-hours or since the interface was started
- The last 24-hours of 15-minute reporting intervals (96 intervals)

The show controllers e3 slot/port all command displays identical information for an E3 controller (except where noted).

## Output Filtering

You can use the output filtering feature of the show command to include or exclude lines of output based on a text string you specify. See Command Line Interface in JunosE System Basics Configuration Guide.

baseline interface

- Use to set a statistics baseline for serial interfaces.
- The router implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.
- Use the optional delta keyword with the show interfaces serial commands to view the baseline statistics.
- Example
  host1#baseline interface serial 2/0
- There is no no version.
- See baseline interface.

show controllers e3

show controllers t3

- Use to display the parameters and MIB statistics on an interface.
- Use the brief keyword to display the administrative and operational status of all configured T3 or E3 interfaces, or to display abbreviated information for the specified T3 or E3 interface.
- For definitions of the MIB statistics, see RFC 2496—Definitions of Managed Objects for the DS3/E3 Interface Types (January 1999)
- Field descriptions
  - Description—Text description or alias if configured for the interface
  - ifAdminStatus—One of the following administrative states of the interface:
    - ifAdminUp—Interface is administratively enabled
    - ifAdminDown—Interface is administratively disabled
    - ifAdminTesting—Interface is administratively configured in a testing state
  - snmp trap link-status—Status of SNMP trapping (enabled or disabled)
  - alarms detected—One of the following T3 alarms (not applicable for E3):
    - No alarm present—No alarms present on the line
    - Rcv RAI Failure—Remote device is sending a far end alarm failure
    - Xmt RAI Failure—Local device is sending a far end alarm failure
    - Rcv AIS—Remote device is sending an alarm indication signal (AIS)
    - Xmt AIS—Local device is sending an AIS
    - Rcv LOF—Loss of one or more frames from the remote end
    - Rcv LOS—Loss of signal at the local end

      | Note: The alarms detected field does not appear for interfaces that you disabled in the software.

  - framing—Type of framing format
  - line code—Type of line code format
  - clock source—Type of clock source
  - cable length—Cable length, in feet (this field is not present for E3 controllers)
  - Loopback—State of loopback for the controller: enabled or disabled. If loopback is enabled, one of the following states is displayed:
    - Diagnostic—Data loops back toward the router and sends an alarm AIS toward the network
    - Payload—Data loops toward the network after the framer has processed the data
    - Line—Data loops toward the network before the data reaches the framer
  - loopback state—State of loopback for the controller: enabled or disabled
  - DSU mode—Mode of the fractional T3 lines: Digital Link mode or Larscom mode
  - DSU bandwidth—Speed of the fractional T3 lines
  - DSU scramble—Status of scrambling for fractional T3: on or off
  - MDL Transmit Path—Indicates whether the transmission is active or not active (T3 only)
  - MDL Transmit Test-Signal—Indicates if the transmission is active or not active (T3 only)
  - MDL Transmit Idle-Signal—Indicates if the transmission is active or not active (T3 only)
  - Equipment Identification Code—eic string for MDL (T3 only)
  - Line Identification Code—lic string for MDL (T3 only)
  - Frame Identification Code—fic string for MDL (T3 only)
  - Facility Identification Code—fic string for MDL (T3 only)
  - Equipment Port—port string for MDL (T3 only)
  - Unit Identification Code—unit string for MDL (T3 only)
  - Facility Identification Code—pfi string for MDL (T3 only)
  - Port Code—port string for MDL (T3 only)
  - Generator Number—generator string for MDL (T3 only)
  - BERT test—Number of current test and total number of tests (T3 only)
    - Test interval—Length of the BERT test
    - status—Sync (controller is synchronized with remote device) or NoSync (controller is not synchronized with remote device)
    - Sync count—Number of times the pattern detector synchronized with the incoming data pattern
    - Received bit count—Number of bits received
    - Error bit count—Number of bits with errors
  - Number of valid intervals—Number of 15-minute intervals since the T3 or E3 module was last powered on or reset
  - Time elapse in current interval—Number of seconds that have passed in the 15-minute (900 second) interval
  - Errored seconds—Number of errored seconds encountered by an E3 (not applicable for T3) in the current interval (this field is not present for T3 controllers)
  - P-bit errored seconds—Number of errored seconds encountered by a T3 (not applicable for E3) in the current interval (this field is not present for E3 controllers)
  - Severely errored seconds—Number of severely errored seconds encountered by an E3 (not applicable for T3) in the current interval (this field is not present for T3 controllers)
  - P-bit severely errored seconds—Number of severely errored seconds encountered by a T3 (not applicable for E3) in the current interval (this field is not present for E3 controllers)
  - Severely errored frame seconds—Number of severely errored framing seconds encountered by a T3 or E3 in the current interval
  - Unavailable seconds—Number of unavailable seconds encountered by a T3 or E3 in the current interval
  - Line code violations—Number of line code violations encountered by a T3 or E3 in the current interval
  - P-bit coding violations—Number of coding violations encountered by a T3 (not applicable for E3) in the current interval (this field is not present for E3 controllers)
  - Coding violations—Number of coding violations encountered by an E3 (not applicable for T3) in the current interval (this field is not present for T3 controllers)
  - Line errored seconds—Number of line errored seconds encountered by a T3 or E3 in the current interval
  - C-bit coding violations—Number of C-bit coding violations encountered by a T3 (not applicable for E3) in the current interval (this field is not present for E3 controllers)
  - C-bit errored seconds—Number of C-bit errored seconds encountered by a T3 (not applicable for E3) in the current interval (this field is not present for E3 controllers)
  - C-bit severely errored seconds—Number of C-bit severely errored seconds encountered by a T3 (not applicable for E3) in the current interval (this field is not present for E3 controllers)
- Example 1

      host1#show controllers t3 2/0

      DS3 2/0
      Description: boston09 hdlc channel
      ifAdminStatus = ifAdminDown
      snmp trap link-status = enabled
      No alarms detected
      Framing is C-BIT, Line Code is B3ZS, Clock Source is Line
      Cable Length is 0 ft
      Loopback Disabled
      DSU Mode is Larscom
      DSU Bandwidth is 4000
      DSU Scrambler is off
      MDL Transmit Path is not active
      MDL Transmit Test-Signal is active
      MDL Transmit Idle-Signal is not active
      Equipment Identification Code is ERX-1400
      Line Identification Code is Bldg 10
      Frame Identification Code is null string
      Unit Identification Code is 080001
      Facility Identification Code is Site 25
      Port Code is Port 0800
      Generator Number is null string

      Number of valid interval - 96
      Time elapse in current interval - 861

      Ds3 Current Interval Counters
      P-bit errored seconds          = 0
      P-bit severely errored seconds = 0
      Severely errored frame seconds = 0
      Unavailable seconds            = 0
      Line code violations           = 0
      P-bit coding violations        = 0
      Line errored seconds           = 0
      C-bit coding violations        = 0
      C-bit errored seconds          = 0
      C-bit severely errored seconds = 0

      Ds3 Last Interval Counters
      P-bit errored seconds          = 0
      P-bit severely errored seconds = 0
      Severely errored frame seconds = 0
      Unavailable seconds            = 0
      Line code violations           = 0
      P-bit coding violations        = 0
      Line errored seconds           = 0
      C-bit coding violations        = 0
      C-bit errored seconds          = 0
      C-bit severely errored seconds = 0
      Ds3 24 Hour Total Counters
      P-bit errored seconds          = 0
      P-bit severely errored seconds = 0
      Severely errored frame seconds = 0
      Unavailable seconds            = 0
      Line code violations           = 0
      P-bit coding violations        = 0
      Line errored seconds           = 0
      C-bit coding violations        = 0
      C-bit errored seconds          = 0
      C-bit severely errored seconds = 0

- Example 2—In this example, the brief keyword is specified.

      host1#show controllers t3 brief

      Interfaces                  ifAdminStatus   OperationalStatus
      5/0(channelized)                up             up
      5/1(channelized)                up             up
      5/2(channelized)                up             down
      5/3(channelized)                down           down
      5/4(channelized)                down           down
      5/5(channelized)                down           down
      5/6(channelized)                down           down
      5/7(channelized)                down           down
      5/8(channelized)                down           down
      5/9(channelized)                down           down
      5/10(channelized)               down           down
      5/11(channelized)               down           down
      3/0(channelized)                down           down
      3/1(channelized)                down           down
      3/2(channelized)                down           down
      4/0:1/1(unchannelized)          up             down
      4/2:1/1(channelized)            up             lowerLayerDown

- See show controllers e3.
- See show controllers t3.

show controllers t3 remote

- Use to display MIB statistics for the remote end of a T3 interface configured for MDL.
- Specify the all option to display detailed information for all 15-minute intervals.
- For definitions of the MIB statistics for a T3 interface, see RFC 2496—Definitions of Managed Objects for the DS3/E3 Interface Types (January 1999).
- Field descriptions
  - Far End MDL Carrier bit—Status of MDL configuration on remote device connected to T3 interface
    - set—MDL is configured for carrier mode
    - not set—MDL is not configured for carrier mode
  - Far End Equipment Identification Code—eic string sent by remote device for MDL
  - Far End Line Identification Code—lic string sent by remote device for MDL
  - Far End Frame Identification Code—fic string sent by remote device for MDL
  - Far End Unit Identification Code—unit string sent by remote device for MDL
  - Far End Facility Identification Code—pfi string sent by remote device for MDL
  - Far End Generator Number—generator string sent by remote device for MDL
  - Far End Port Number—port string sent by remote device for MDL
  - Number of valid intervals—Number of 15-minute intervals since the line module was last powered on or reset
  - Time elapse in current interval—Number of seconds that have passed in the 15-minute (900-second) interval
  - C-bit errored seconds—Number of C-bit errored seconds encountered by a T3 in the current interval
  - C-bit severely errored seconds—Number of C-bit severely errored seconds encountered by a T3 in the current interval
  - C-bit coding violations—Number of C-bit coding violations encountered by a T3 in the current interval
  - Unavailable seconds—Number of unavailable seconds encountered by a T3 in the current interval
  - Invalid seconds—Number of seconds when statistics were not collected
- Example—This example specifies a T3 interface.

      host1#show controllers t3 5/0 remote

      Far End MDL Carrier bit is not set
      Far End Equipment Identification Code is the null string
      Far End Line Identification Code is the null string
      Far End Frame Identification Code is the null string
      Far End Unit Identification Code is the null string
      Far End Facility Identification Code is the null string
      Far End Generator Number is the null string
      Far End Port Number is the null string

      Number of valid interval - 3
      Time elapse in current interval - 756

      Ds3 Current Interval Counters
      C-bit errored seconds          = 0
      C-bit severely errored seconds = 0
      C-bit coding violations        = 0
      Unavailable seconds            = 0
      Invalid seconds                = 0

      Ds3 Last Interval Counters
      C-bit errored seconds          = 0
      C-bit severely errored seconds = 0
      C-bit coding violations        = 0
      Unavailable seconds            = 0
      Invalid seconds                = 0

      Ds3 24 Hour Total Counters
      C-bit errored seconds          = 1
      C-bit severely errored seconds = 1
      C-bit coding violations        = 330
      Unavailable seconds            = 0
      Invalid seconds                = 0

- See show controllers t3 remote.