• Verbose counters on Arista 7130 series

 
 
Print Friendly, PDF & Email

Arista 7130 series running MOS can give very verbose counter output using the CLI or through API. Using CLI, there are two distinct commands to show the counters which are inside the device. To view them, one enters one of the following CLI commands:

For the regular (non-verbose) counter view:

show interface counters

For the verbose counter view:

show interface counters verbose [nonzero]

 

Counter naming

Most counters have both a “line” and “host” side counter. These counters account for the side that is connected to the SFP – “line”, and another counter which is connected to the crosspoint – “host”. The diagram below illustrates how these components interact, as long as the ports are not in “source mac” mode.

7130 architecture showing the typical path between the SFP cage and L1 Crosspoint

Diagram 1: 7130 architecture showing the typical path between the SFP cage and L1 Crosspoint.

Receive 64b/66b PCS Statistics Counters

64/66b Physical Coding Sublayer encoding is often used to encode 10Gbit/s Ethernet signals.

 

Name Description
x_PCS49_RX_ERR_FRAMES Total number of received error frames. An error frame is defined as a frame that contains a control block other than /T/ is received (unexpected control codes before then end of the frame).
x_PCS49_RX_GOOD_FRAMES Total number of received valid frames.
x_PCS49_RX_ERR_BER Total number of 125 µs periods where Bit Error Rate (BER) was detected. 
x_PCS49_RX_ERR_DEC Total number of invalid blocks received (including bad sync header values of 00 and 11).
x_PCS49_RX_ERR_PAT Total number of PRBS-31 of Test Pattern errors detected.
Note: x = LINE or HOST side of the 64b/66b Receive PCS.

Receive 8/10b PCS Statistics Counters

8/10b Physical Coding Sublayer encoding is often used to encode 1Gbit/s Ethernet signals.

 

Name Description
x_EGPCS_RX_ERR_FRAMES Total number of received invalid frames
x_EGPCS_RX_GOOD_FRAMES Total number of received valid frames.
x_EGPCS_RX_TC_ERR Number of received Transmission Character errors. This counter only increments in one of the Word Synchronization Acquired states.
x_EGPCS_RX_TW_ERR Number of received Transmission Word errors. This counter only increments in one of the Word Synchronization Acquired states.
Note: x = LINE or HOST side of the 8b/10b Receive PCS.

 

In general, PCS errors indicate bit errors coming in from the SFP. Depending on the link utilisation, there is a greater or lesser chance that a bit error occurs within a packet or in the interframe gap. If the bit-flip(s) do affect a packet, then depending on the exact values of the bits this can manifest one of the following MAC errors:

FCS Error

A Frame Check Sequence (FCS) mismatch occurs when a data symbol got corrupted due to a bit-flip and turned into a different (but still valid) data symbol. In this case, the content of the data does not match the FCS checksum.

Alignment Error

Alignment errors typically occur when a data symbol is corrupted and turns into an undefined or control symbol which is illegal within a packet (other than the end-of-frame symbol). For example; there are rules in the 10G Ethernet specification about how these symbols line up within a 66bit block, and violations appear as an alignment error.

Runt

Runts typically occur when an illegal control code appears within a packet’s data due to a bit-flip, which will cause an immediate abort of that packet. If less than 64 bytes has been received, this is also counted as a runt/tiny packet.

False positives

Noise on the line can trigger a false start-of-frame symbol which in turn may be followed by bits that may or may not look like data. They could trigger increases to any of the above error counters.

MAC Counters

 

Name Description
x_MAC_DROP_RX Number of received frames dropped for any reason. 

Please note that as shown in Diagram 1, the bit pattern resulting in a dropped frame counted by the MAC would also have been forwarded to the egress interface using the bypass route. 

Counter class: none

x_MAC_DROP_RX_ALIGN_ERR_FRAMES Number of filtered frames with error at the MAC XGMII termination point. 

Counter class: none

x_MAC_DROP_RX_CRC_ERR_FRAMES Number of frames filtered with CRC error.

Counter class: none

x_MAC_RX_1024B_TO_1518B_FRAMES Number of good or bad frames that are between 1024 and 1518 bytes long. Corresponds to etherStatsPkts1024to1518Octets of RFC2819.

Counter class: RMON

x_MAC_RX_128B_TO_255B_FRAMES Number of good or bad frames that are between 128 and 255 bytes long. Corresponds to etherStatsPkts128to255Octets of RFC2819.

Counter class: RMON

x_MAC_RX_1519B_TO_1522B_FRAMES Number of good or bad frames that are between 1519 and 1522 bytes long.

Counter class: none

x_MAC_RX_1519B_TO_MTUB_FRAMES Number of good or bad frames that are between 1519 and the maximum programmed length (MTUpdv2). 

Counter class: RMON

x_MAC_RX_1523B_TO_1548B_FRAMES Number of good or bad frames that are between 1523 and 1548 bytes long.

Counter class: none

x_MAC_RX_1549B_TO_2000B_FRAMES Number of good or bad frames that are between 1549 and 2000 bytes long.

Counter class: none

x_MAC_RX_1549B_TO_MTUB_FRAMES Number of good or bad frames that are between 1549 and the maximum programmed length (MTUpdv2). 

Counter class: RMON

x_MAC_RX_2001B_TO_2500B_FRAMES Number of good or bad frames that are between 2001 and 2500 bytes long.

Counter class: none

x_MAC_RX_2501B_TO_MTUB_FRAMES Number of good or bad frames that are between 2501 and the maximum programmed length (MTUpdv2). 

Counter class: RMON

x_MAC_RX_256B_TO_511B_FRAMES Number of good or bad frames that are between 256 and 511 bytes long. Corresponds to etherStatsPkts256to511Octets of RFC2819.

Counter class: RMON

x_MAC_RX_512B_TO_1023B_FRAMES Number of good or bad frames that are between 512 and 1023 bytes long. Corresponds to etherStatsPkts512to1023Octets of RFC2819.

Counter class: RMON

x_MAC_RX_64B_FRAMES Number of good or bad frames that are exactly 64 bytes long. Corresponds to etherStatsPkts64Octets of RFC2819.

Counter class: RMON

x_MAC_RX_65B_TO_127B_FRAMES Number of good or bad frames that are between 65 and 127 bytes long. Corresponds to etherStatsPkts65to127Octets of RFC2819.

Counter class: RMON

x_MAC_RX_ALIGN_ERR_FRAMES Number of frames that are received with error at the MAC XGMII termination point.

Counter class: IEEE

x_MAC_RX_BCAST_FRAMES Number of valid received Broadcast frames. Corresponds to ifInBroadcastPkts of RFC2665.

Counter class: MIB

x_MAC_RX_CRC_ERR_FRAMES Number of frames received with an CRC error. This does not include frames that are marked too-long or too-short. Corresponds to aFrameCheckSequenceErrors of IEEE802.3.

Counter class: IEEE

x_MAC_RX_ERR_FRAMES Number of frames received with error:

  • CRC error
  • Alignment error
  • Length error

Counter class: MIB

x_MAC_RX_ERR_FRAMES_VLAN_UP0 Same as x_MAC_RX_ERR_FRAMES but counted on a per user-priority basis: User-priority 0.
x_MAC_RX_ERR_FRAMES_VLAN_UP1 Same as x_MAC_RX_ERR_FRAMES but counted on a per user-priority basis: User-priority 1.
x_MAC_RX_ERR_FRAMES_VLAN_UP2 Same as x_MAC_RX_ERR_FRAMES but counted on a per user-priority basis: User-priority 2.
x_MAC_RX_ERR_FRAMES_VLAN_UP3 Same as x_MAC_RX_ERR_FRAMES but counted on a per user-priority basis: User-priority 3.
x_MAC_RX_ERR_FRAMES_VLAN_UP4 Same as x_MAC_RX_ERR_FRAMES but counted on a per user-priority basis: User-priority 4.
x_MAC_RX_ERR_FRAMES_VLAN_UP5 Same as x_MAC_RX_ERR_FRAMES but counted on a per user-priority basis: User-priority 5.
x_MAC_RX_ERR_FRAMES_VLAN_UP6 Same as x_MAC_RX_ERR_FRAMES but counted on a per user-priority basis: User-priority 6.
x_MAC_RX_ERR_FRAMES_VLAN_UP7 Same as x_MAC_RX_ERR_FRAMES but counted on a per user-priority basis: User-priority 7.
x_MAC_RX_FRAMES Number of good or bad frames received. Corresponds to etherStatsPkts of RFC2819

Counter class; RMON

x_MAC_RX_FRAMES_VLAN_UP0 Same as x_MAC_RX_FRAMES but counted on a per user-priority basis: User-priority 0.
x_MAC_RX_FRAMES_VLAN_UP1 Same as x_MAC_RX_FRAMES but counted on a per user-priority basis: User-priority 1.
x_MAC_RX_FRAMES_VLAN_UP2 Same as x_MAC_RX_FRAMES but counted on a per user-priority basis: User-priority 2.
x_MAC_RX_FRAMES_VLAN_UP3 Same as x_MAC_RX_FRAMES but counted on a per user-priority basis: User-priority 3.
x_MAC_RX_FRAMES_VLAN_UP4 Same as x_MAC_RX_FRAMES but counted on a per user-priority basis: User-priority 4.
x_MAC_RX_FRAMES_VLAN_UP5 Same as x_MAC_RX_FRAMES but counted on a per user-priority basis: User-priority 5.
x_MAC_RX_FRAMES_VLAN_UP6 Same as x_MAC_RX_FRAMES but counted on a per user-priority basis: User-priority 6.
x_MAC_RX_FRAMES_VLAN_UP7 Same as x_MAC_RX_FRAMES but counted on a per user-priority basis: User-priority 7.
x_MAC_RX_GIANT_FRAMES Number of frames received that exceed the programmed maximum length and have good CRC. Corresponds to etherStatsOversizePkts of RFC2819.

Counter class: RMON

x_MAC_RX_GIANT_FRAMES_VLAN_UP0 Same as x_MAC_RX_GIANT_FRAMES but counted on a per user-priority basis: User-priority 0.
x_MAC_RX_GIANT_FRAMES_VLAN_UP1 Same as x_MAC_RX_GIANT_FRAMES but counted on a per user-priority basis: User-priority 1.
x_MAC_RX_GIANT_FRAMES_VLAN_UP2 Same as x_MAC_RX_GIANT_FRAMES but counted on a per user-priority basis: User-priority 2.
x_MAC_RX_GIANT_FRAMES_VLAN_UP3 Same as x_MAC_RX_GIANT_FRAMES but counted on a per user-priority basis: User-priority 3.
x_MAC_RX_GIANT_FRAMES_VLAN_UP4 Same as x_MAC_RX_GIANT_FRAMES but counted on a per user-priority basis: User-priority 4.
x_MAC_RX_GIANT_FRAMES_VLAN_UP5 Same as x_MAC_RX_GIANT_FRAMES but counted on a per user-priority basis: User-priority 5.
x_MAC_RX_GIANT_FRAMES_VLAN_UP6 Same as x_MAC_RX_GIANT_FRAMES but counted on a per user-priority basis: User-priority 6.
x_MAC_RX_GIANT_FRAMES_VLAN_UP7 Same as x_MAC_RX_GIANT_FRAMES but counted on a per user-priority basis: User-priority 7.
x_MAC_RX_GOOD_FRAMES Number of frames received without error (including Pause frames). Corresponds to aFramesReceivedOK of IEEE802.3.

Counter class: IEEE

x_MAC_RX_JABBER_FRAMES Number of frames received that exceed the programmed maximum length and have bad CRC. Corresponds to etherStatsJabbers of RFC2819.

Counter stats: RMON

x_MAC_RX_MCAST_FRAMES Number of valid Multicast frames. Corresponds to ifInMulticastPkts of RFC2665.

Counter class: MIB

x_MAC_RX_PAUSE_FRAMES Number of received Pause frames. Corresponds to aPAUSEMACCtrlFramesReceived of IEEE802.3.

Counter class: IEEE

x_MAC_RX_RUNT_FRAMES Number of frames received that are shorter than 64 Bytes and have bad CRC. Corresponds to etherStatsFragments of RFC2819.

Counter class: RMON

x_MAC_RX_SHORT_FRAMES Number of frames received that are shorter than 64 Bytes and have good CRC. This does not include frames that are too-long or alignmentError. Corresponds to etherStatsUndersizePkts of RFC2819. 

Counter class: RMON

x_MAC_RX_UCAST_FRAMES Number of valid received Unicast frames. Corresponds to ifInUcastPkts of RFC2665. 

Counter class: RMON

x_MAC_RX_UNDERSIZE_FRAMES Total number of frames that are shorter than 64 Bytes. Corresponds to etherStatsFragments and etherStatsUndersizePkts of RFC2819.

Counter class: RMON

x_MAC_BAD_OCTETS Sum of payload and padded octets received with error.

Counter class: none

x_MAC_GOOD_OCTETS Sum of payload and padding octets and frames received without error. Corresponds to aOctetsReceivedOK of IEEE802.3.

Counter class: IEEE

x_MAC_RX_OCTETS Number of bytes received in good or bad frames. Corresponds to etherStatsOctets of RFC2819.

Counter class: RMON

x_MAC_RX_OCTETS_VLAN_UP0 Same as x_MAC_RX_OCTETS but counted on a per user-priority basis: User-priority 0.
x_MAC_RX_OCTETS_VLAN_UP1 Same as x_MAC_RX_OCTETS but counted on a per user-priority basis: User-priority 1.
x_MAC_RX_OCTETS_VLAN_UP2 Same as x_MAC_RX_OCTETS but counted on a per user-priority basis: User-priority 2.
x_MAC_RX_OCTETS_VLAN_UP3 Same as x_MAC_RX_OCTETS but counted on a per user-priority basis: User-priority 3.
x_MAC_RX_OCTETS_VLAN_UP4 Same as x_MAC_RX_OCTETS but counted on a per user-priority basis: User-priority 4.
x_MAC_RX_OCTETS_VLAN_UP5 Same as x_MAC_RX_OCTETS but counted on a per user-priority basis: User-priority 5.
x_MAC_RX_OCTETS_VLAN_UP6 Same as x_MAC_RX_OCTETS but counted on a per user-priority basis: User-priority 6.
x_MAC_RX_OCTETS_VLAN_UP7 Same as x_MAC_RX_OCTETS but counted on a per user-priority basis: User-priority 7.
Notes: 

  1. x = LINE or HOST side of the receive MAC
  2. MTUpdv are per direction VLAN User-Priority MTU configuration registers (XGMAC_x_RX_MAXLEN_VLAN_UP0-7)
Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: