# Monitoring Ethernet Interfaces

This section explains how to use the show commands to display the physical characteristics and the configured settings for Ethernet interfaces.

| 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).

## Setting Statistics Baselines

The router stores statistics in counters that reset only when you reboot. However, you can establish a baseline for Ethernet statistics by setting a group of reference counters to zero.

baseline interface fastEthernet | gigabitEthernet | tenGigabitEthernet

- Use to establish a baseline for Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet statistics on a line module or an SRP module.
- Use the delta keyword with the show interfaces fastEthernet, the show interfaces gigabitEthernet, or the show interfaces tenGigabitEthernet command to display baselined statistics.
- See baseline interface.

## Using Ethernet show Commands

Use the show commands described in this section to display information about your Ethernet configuration and to monitor Ethernet interfaces.

show interfaces fastEthernet

- Use to display the status of Fast Ethernet interfaces.
- You can specify the following keywords:
  - delta—Specifies that baselined statistics are to be shown
  - brief—Displays the operational status of all configured interfaces
- Field descriptions
  - FastEthernet interfaceSpecifier—Status of the hardware on this interface
    - up—Hardware is operational
    - down—Hardware is not operational
  - Administrative status—Operational state that you configured for this interface
    - up—Interface is enabled
    - down—Interface is disabled
  - Hardware—Type of MAC device on this interface
  - Address—MAC address of the processor on this interface
  - MAU—Type of medium attachment unit (MAU) on the physical port:
    - 10BASE-T (10 Mbps)
    - 100BASE-TX (100 Mbps)
    - 100BASE-FX-MM (100 Mbps) with the distance appearing after the type
    - 100BASE-LX-SM (100 Mbps)
    - SFP (Empty)—SFPs that are empty
    - SFP (Non-compliant Juniper Part)—SFPs that are installed in the FE-8 I/O module and do not have a Juniper Networks part number programmed
  - MTU—Size of the MTU for this interface
    - Operational—Size of the largest packet processed
    - Administrative—Setting for MTU size that you specified
  - Duplex Mode—Duplex option for this interface
    - Operational—Duplex option currently used
    - Administrative—Setting for duplex that you specified
  - Speed—Line speed for this interface
    - Operational—Current rate at which packets are processed
    - Administrative—Setting for line speed
    - 5 minute input rate—Data rates based on traffic received in the last 5 minutes
    - 5 minute output rate—Data rates based on traffic sent in the last 5 minutes
  - De-bounce—Debounce configuration for this interface
    - State is—Enabled, Disabled
    - Interval is—Number of seconds that this interface maintains a given state before the state change is reported to the upper-layer links
  - In—Analysis of inbound traffic on this interface
    - Bytes—Number of bytes received in error-free packets
    - Unicast—Number of unicast packets received
    - Multicast—Number of multicast packets received
    - Broadcast—Number of broadcast packets received
    - Errors—Total number of errors in all received packets; some packets might contain more than one error
    - Discards—Total number of discarded incoming packets
    - Mac Errors—Number of incoming packets discarded because of MAC sublayer failures
    - Alignment—Number of incomplete octets received
    - CRC—Number of packets discarded because the checksum the router computed from the data does not match the checksum generated by the originating devices
    - Too Longs—Number of packets discarded because the size exceeded the MTU
    - Symbol Errors—Number of symbols received that the router did not correctly decode
  - Out—Analysis of outbound traffic on this interface
    - Bytes—Number of bytes sent
    - Unicast—Number of unicast packets sent
    - Multicast—Number of multicast packets sent
    - Broadcast—Number of broadcast packets sent
    - Errors—Total number of errors in all transmitted packets; some packets might contain more than one error
    - Discards—Total number of discarded outgoing packets
    - Mac Errors—Number of outgoing packets discarded because of MAC sublayer failures
    - Deferred—Number of packets that the router delayed sending because the line was busy. In half duplex mode, a high number of deferrals means the link is very busy with traffic from other stations. In full duplex mode, when the link is always available for transmission, this number is zero.
    - No Carrier—Number of packets sent when carrier sense was unavailable
  - Collisions—Analysis of the collisions that occurred
    - Single—Number of packets sent after one collision
    - Multiple—Number of packets sent after multiple collisions
    - Late—Number of packets aborted during sending because of collisions after 64 bytes
    - Excessive—Number of packets not sent because of too many collisions
  - ARP Statistics—Analysis of ARP traffic on this interface; In fields are for traffic received on the interface and Out fields are for traffic sent on the interface
    - ARP requests—Number of ARP requests
    - ARP responses—Number of ARP responses
    - Errors—Total number of errors in all ARP packets
    - Discards—Total number of discarded ARP packets
  - queue—Hardware packet queue associated with the specified traffic class and interface
    - Queue length—Length of the queue, in bytes
    - Forwarded packets, bytes—Number of packets and bytes that were forwarded on this queue
    - Dropped committed packets, bytes—Number of committed packets and bytes that were dropped
    - Dropped conformed packets, bytes—Number of conformed packets and bytes that were dropped
    - Dropped exceeded packets, bytes—Number of exceeded packets and bytes that were dropped
- Example—Displays the status of a Fast Ethernet interface

      host1:vr2#show interfaces fastEthernet 2/0
      FastEthernet2/0 is Up, Administrative status is Up
        Hardware is Intel 21440, address is 0090.1a10.0552
        MAU is 10BASE-T
        MTU: Operational 1518, Administrative 1518
        Duplex Mode: Operational Full Duplex, Administrative Auto Negotiate
        Speed: Operational 100 Mbps, Administrative Auto Negotiate
        De-bounce: State is Enabled, interval is 2 seconds

        5 minute input rate 0 bits/sec, 0 packets/sec
        5 minute output rate 0 bits/sec, 0 packets/sec

        In: Bytes 39256, Unicast 612
         Multicast 0, Broadcast 0
         Errors 0, Discards 0, Mac Errors 0, Alignment 0
         CRC 0, Too Longs 0, Symbol Errors 0
        Out: Bytes 4579036, Unicast 610
         Multicast 0, Broadcast 70932
         Errors 0, Discards 0, Mac Errors 0, Deferred 0, No Carrier 3
         Collisions: Single 0, Multiple 0, Late 0, Excessive 0
       ARP Statistics:
        In: ARP requests 0, ARP responses 0
         Errors 0, Discards 0
        Out: ARP requests 0, ARP responses 0
         Errors 0, Discards 0
      Administrative qos-shaping-mode: none
      Operational qos-shaping-mode: none

      queue 0: traffic class control, bound to FastEthernet2/0
        Queue length 0 bytes
        Forwarded packets 1, bytes 46
        Dropped committed packets 0, bytes 0
        Dropped conformed packets 0, bytes 0
        Dropped exceeded packets 0, bytes 0

- See show interfaces.

show interfaces gigabitEthernet

show interfaces tenGigabitEthernet

- Use to display the status of Gigabit Ethernet interfaces and 10-Gigabit Ethernet interfaces.
- You can specify the following keywords:
  - delta—Specifies that baselined statistics are to be shown
  - brief—Displays the operational status of all configured interfaces
- Field descriptions
  - GigabitEthernet or tenGigabitEthernet interfaceSpecifier—Status of the hardware on this interface
    - up—Hardware is operational
    - down—Hardware is not operational
  - Administrative status—Operational state that you configured for this interface
    - up—Interface is enabled
    - down—Interface is disabled
  - Hardware—Type of MAC device on this interface
  - Address—MAC address of the processor on this interface
  - MAU—Type of medium attachment unit (MAU) on the primary and secondary physical ports:
    - SFP—1000BASE-LH, 1000BASE-SX, 1000BASE-ZX; for SFPs that are empty, SFP (Empty) appears in this field; for SFPs that are installed in the OC3-2 GE APS I/O module and do not have a Juniper Networks part number programmed, SFP (GE Compliant) appears in this field
    - XFP—10GBASE-SR (10 Gbps), 10GBASE-LR (10 Gbps), 10GBASE-ER (10 Gbps); for XFPs that are empty, XFP (Empty) appears in this field
  - TX Output Power—Transmitted output optical power
  - RX Input Power—Received input optical power
  - MTU—Size of the MTU for this interface
    - Operational—Size of the largest packet processed
    - Administrative—Setting for MTU size that you specified
  - Duplex Mode—Duplex option for this interface
    - Operational—Duplex option currently used
    - Administrative—Setting for duplex that you specified
  - Speed—Line speed for this interface
    - Operational—Current rate at which packets are processed
    - Administrative—Setting for line speed that you specified
  - Debounce—Debounce configuration for this interface
    - State is—Enabled, Disabled
    - Interval is—Number of seconds that this interface maintains a given state before the state change is reported to the upper-layer links
  - Clear arp—State of the removal of the ARP entries on an interface with redundant ports
    - Enabled—Clears ARP entries on the interface when the primary link fails
    - Disabled—Maintains ARP entries on the interface until the specified timeout elapses
  - Link —Link information for this interface
    - Operational Link Selected—Port that the I/O module is currently using: primary or secondary
    - Administrative link selected—Port that the I/O module is configured to use:
      - primary—Only primary port is configured to operate
      - secondary—Only redundant port is configured to operate
      - automatically—Software controls port redundancy automatically
  - Link Failover Timeout — Time to wait for a failed link to be active before the router uses a different active link
  - Primary link selected x times—Number of times that the I/O has used the primary port since the module was last rebooted
  - Secondary link selected x times—Number of times that the I/O has used the secondary port since the module was last rebooted
  - Primary/Secondary link signal detected, Primary/Secondary link signal not detected—Specifies the port (primary or secondary) on which the router detects a signal (not displayed on GE I/O modules that do not support SFPs)
  - 5 minute input rate—Data rates based on the traffic received in the last 5 minutes
  - 5 minute output rate—Data rates based on the traffic sent in the last 5 minutes
  - In—Analysis of inbound traffic on this interface
    - Bytes—Number of bytes received in error-free packets
    - Unicast—Number of unicast packets received
    - Multicast—Number of multicast packets received
    - Broadcast—Number of broadcast packets received
    - Errors—Total number of errors in all received packets; some packets might contain more than one error
    - Discards—Total number of discarded incoming packets
    - Mac Errors—Number of incoming packets discarded because of MAC sublayer failures
    - Alignment—Number of incomplete octets received
    - CRC—Number of packets discarded because the checksum that the router computed from the data does not match the checksum generated by the originating devices
    - Too Longs—Number of packets discarded because the size exceeded the MTU
    - Symbol Errors—Number of symbols received that the router did not correctly decode
  - Out—Analysis of outbound traffic on this interface
    - Bytes—Number of bytes sent
    - Unicast—Number of unicast packets sent
    - Multicast—Number of multicast packets sent
    - Broadcast—Number of broadcast packets sent
    - Errors—Total number of errors in all transmitted packets; note that some packets might contain more than one error
    - Discards—Total number of discarded outgoing packets
    - Mac Errors—Number of outgoing packets discarded because of MAC sublayer failures
    - Deferred—Number of packets that the router delayed sending because the line was busy. In half duplex mode, a high number of deferrals means the link is very busy with traffic from other stations. In full duplex mode, when the link is always available for transmission, this number is zero.
    - No Carrier—Number of packets sent when carrier sense was unavailable
  - Collisions—Analysis of the collisions that occurred
    - Single—Number of packets sent after one collision
    - Multiple—Number of packets sent after multiple collisions
    - Late—Number of packets aborted during sending because of collisions after 64 bytes
    - Excessive—Number of packets not sent because of too many collisions
  - Policed Statistics—Number of packets that exceeded the number allowed and were policed (or dropped)
  - ARP Statistics—Analysis of ARP traffic on this interface; In fields are for traffic received on the interface and Out fields are for traffic sent on the interface
    - ARP requests—Number of ARP requests
    - ARP responses—Number of ARP responses
    - Errors—Total number of errors in all ARP packets
    - Discards—Total number of discarded ARP packets
  - Administrative qos-shaping-mode—QoS shaping mode:
    - disabled—Shaping mode is configured but not operational
    - frame—Statistics are reported about bytes in frames, such as transmitted bytes and dropped bytes.
    - cell—Shaping mode for shaping and policing rates is cell-based; resulting traffic stream conforms exactly to the policing rates configured in downstream devices. Reports statistics in bytes in cells and accounts for cell encapsulation and padding overhead.
    - none—Shaping mode is not configured
  - Operational qos-shaping-mode—Actual shaping mode for the interface:
    - disabled
    - frame
    - cell
    - none
  - queue—Hardware packet queue associated with the specified traffic class and interface
    - traffic class—Name of traffic class
    - bound to—Interface to which queue is bound
    - Queue length—Length of the queue, in bytes
    - Forwarded packets, bytes—Number of packets and bytes that were forwarded on this queue
    - Dropped committed packets, bytes—Number of committed packets and bytes that were dropped
    - Dropped conformed packets, bytes—Number of conformed packets and bytes that were dropped
    - Dropped exceeded packets, bytes—Number of exceeded packets and bytes that were dropped
- Example—Displays the status of a Gigabit Ethernet interface

      host1#show interfaces gigabitEthernet 14/0/0
      	GigabitEthernet14/0/0 is Up, Administrative status is Up
      	Hardware is Intel IXF1104, address is 0090.1a42.0b87
      	MAU is 1000BASE-SX
       TX Output Power: 469.6 uW	RX Input Power: 0.5 uW
      	MTU: Operational 1518, Administrative 1518
      	Duplex Mode: Operational Full Duplex, Administrative Auto Negotiate
      	Speed: Operational 1000 Mbps, Administrative Auto Negotiate
      	Debounce: State is Disabled
       5 minute input rate 0 bits/sec, 0 packets/sec
      	5 minute output rate 0 bits/sec, 0 packets/sec
      	In: Bytes 0, Unicast 0
      	Multicast 0, Broadcast 0
      	Errors 0, Discards 0, Mac Errors 0, Alignment 0
      	CRC 0, Too Longs 0, Symbol Errors 0
      	Out: Bytes 0, Unicast 0
      	Multicast 0, Broadcast 0
      	Errors 0, Discards 0, Mac Errors 0, Deferred 0, No Carrier 0
      	Collisions: Single 0, Multiple 0, Late 0, Excessive 0
      	Policed Statistics:
      	In: 0, Out: 0
      	ARP Statistics:
      	In: ARP requests 0, ARP responses 0
      	Errors 0, Discards 0
      	Out: ARP requests 0, ARP responses 0

  Example—Displays the status of a 10 Gigabit Ethernet interface

      host1#show interfaces tenGigabitEthernet 4/0/0
        TenGigabitEthernet4/0/0 is Up, Administrative status is Up
        Hardware is Marvell GT64260, address is 0090.1a42.14b5
        Primary MAU is 10000BASE-LR 10km, secondary MAU is XFP (Empty)
        TX Output Power: 480.8 uW		RX Input Power: 1 uW
        MTU: Operational 1522, Administrative 1522
        Duplex Mode: Operational Full Duplex, Administrative Full Duplex
        Speed: Operational 10000 Mbps, Administrative 10000 Mbps
        Debounce: State is Disabled
        Link: Operational Primary Link Selected,
        Administrative Link Selected Automatically
        Link Failover Timeout: Operational 336 ms, Administrative default
        Primary link selected 1 time, Secondary link selected 0 times
        Primary link signal not detected, Secondary link signal not detected
        Cleararp: State is Disabled
        5 minute input rate 0 bits/sec, 0 packets/sec
        5 minute output rate 0 bits/sec, 0 packets/sec
        In: Bytes 0, Unicast 0
        Multicast 0, Broadcast 0
        Errors 0, Discards 0, Mac Errors 0, Alignment 0
        CRC 0, Too Longs 0, Symbol Errors 0
        Out: Bytes 768, Unicast 0
        Multicast 0, Broadcast 12
        Errors 0, Discards 0, Mac Errors 0, Deferred 0, No Carrier 0
        Collisions: Single 0, Multiple 0, Late 0, Excessive 0
        Policed Statistics:
        In: 0, Out: 0
        ARP Statistics:
        In: ARP requests 0, ARP responses 0
        Errors 0, Discards 0
        Out: ARP requests 0, ARP responses 0
        Errors 0, Discards 0

- See show interfaces.

show ip mac-validate interface

- Use to display the status of the MAC address validation on the physical interface.
- Field descriptions
  - FastEthernet interfaceSpecifier—On the ERX14xx models, ERX7xx models, and ERX310 router , the Fast Ethernet or Gigabit Ethernet interface slot/port; on the E120 and E320 routers, the Gigabit Ethernet or 10-Gigabit Ethernet interface slot/adapter/port
  - Keyword assigned to interface—Options: Strict or Loose
  - Address—IP address of the entry
  - Hardware Addr—Physical (MAC) address of the entry
- Example

      host1:boston#show ip mac-validate interface fastEthernet 11/0
      FastEthernet11/0:  Strict

               Address     Hardware Addr
               3.3.3.3     0090.1a30.3365
               4.4.4.4     0090.1a30.3368

- See show ip mac-validate interface.