# Monitoring POS

Use the show interfaces pos command to display information about the POS interface. You can set a statistics baseline for POS interfaces using the baseline interface pos command.

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 show Commands in JunosE System Basics Configuration Guide, for details.

| Note: The E120 and E320 routers 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).

baseline interface pos

- Use to set a statistics baseline for POS 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.
- Example
  host1#baseline interface pos 8/0
- There is no no version.
- See baseline interface.

show interfaces pos

- Use to display the configuration, state, and statistics for a POS interface.
- To specify a POS interface for ERX7xx models, ERX14xx models, and ERX310 router, use the slot/port[.subinterface ] format.
  - slot—Number of the chassis slot
  - port—Port number on the I/O module
  - subinterface—Number of the subinterface
- To specify a POS interface for E120 and E320 routers, use the slot/adapter/port format.
  - slot—Number of the chassis slot
  - adapter—Identifier for the IOA within the E320 chassis, either 0 or 1, where:
    - 0 indicates that the IOA is installed in the right IOA bay (E120 router) or the upper IOA bay (E320 router).
    - 1 indicates that the IOA is installed in the left IOA bay (E120 router) or the lower IOA bay (E320 router).
  - port—Port number on the IOA
- You can include the following keywords:
  - delta—Specifies that baselined statistics are to be shown
  - brief—Displays the operational status of all configured interfaces
- Field descriptions
  - POS interface status—State of the physical interface: up, down
  - Description—Text description or alias if configured for the interface
  - snmp trap link-status—SNMP trap status: disabled: up, down
  - Encapsulation—Layer 2 encapsulation display; options: ppp, frame-relay ietf, mlppp, mlframe-relay ietf, hdlc
  - SONET path operational status—State of the SONET path: up, down, lowerLayerDown
  - time since last status change—Last reported change to the SONET path operational status
  - SONET operational status—State of SONET operation: up, down, lowerLayerDown
  - time since last status change—Last reported change to the SONET operational status
  - loopback—Loopback status for the physical interface: enabled, disabled
  - timing source—Clocking source for the physical interface
  - framing type—Framing type for the physical interface
  - Crc type checking—Number of bits used for CRC checking: crc16, crc32, none
  - Hdlc mru—MRU size allowed on the interface
  - Hdlc mtu—MTU size allowed on the interface
  - Hdlc interface speed—Line speed of the interface
  - Hdlc scrambling—Status of payload scrambling on the interface: on, off
  - 5 minute input rate—Data rates based on the traffic received in the last five minutes
  - 5 minute output rate—Data rates based on the traffic sent in the last five minutes
  - Packets received—Number of incoming packets received on this interface
  - Bytes received—Number of incoming bytes received on this interface
  - Errored packets received—Number of incoming errors received on this interface
  - Packets sent—Number of outgoing packets transmitted on this interface
  - Bytes sent—Number of outgoing bytes transmitted on this interface
  - Errored packets sent—Number of outgoing errors on this interface
- Example

      host1#show interfaces pos 8/0
      Packet over SONET interface 8/0 is ifOperUp
      Description: houston80 pos interface
      snmp trap link-status = disabled
      Encapsulation ppp
      SONET path operational status: up
            time since last status change: 00:20:37
      SONET operational status:      up
            time since last status change: 00:20:37
      loopback not set
      timing source is loop timing
      framing type is SONET
      Crc type checking - CRC32
      Hdlc mru = 4470
      Hdlc mtu = 4470
      Hdlc interface speed = 155520000
      Hdlc scrambling is off
      5 minute input rate 24910848 bits/sec, 1023242 packets/sec
      5 minute output rate 24905728 bits/sec, 1023233 packets/sec

      Interface statistics
      Packets received              1066995954
      Bytes received                3836558195
      Errored packets received      0
      Packets sent                  1055275550
      Bytes send                    3039550548
      Errored packets sent          0

- See show interfaces.