# L2 STATUS PORT

## Qualifiers:

<port_number>

## Purpose:

NOTE: This maintenance command is not applicable to MiVoice Business for Industry Standard Servers (ISS).

Displays the current operational status of the Layer 2 ports based on parameters configured in the Layer 2 (L2) Switch form. Also provides traffic details for specified ports.

## Details:

Entering the command without a qualifier displays the operational status. Specifying a port number shows traffic details for that port.

### Operational Status

Field Name | Description
MAC Address | The MAC Address of the L2 switch port.
Status | The status (Enabled or Disabled) of each port.
Speed | The operating speed of each port: 10 Mb, 100 Mb, 1000 Mb (gigabit).
Duplex | The data transfer operation of each port: Half-duplex (Half DX), full-duplex (Full DX).
FlowCtrl | The flow control mode of each port as set in the Layer 2 (L2) Switch form or as negotiated with the other end. Disabled - The port does not generate flow control packets, and drops any flow control packets it receives. Enabled - The port uses 802.3x Link Layer Flow Control, generates flow control packets, and processes received flow control packets.

NOTE: When the Speed, Duplex, and FlowCtrl are set to AUTO in the Layer 2 (L2) Switch form, the values that L2 Stat Port command shows are the those negotiated with the other end.

### Traffic Details

CXi II / MXe III
Receive Counters | Rx Bytes | The total number of bytes received on a port.
Rx Frames | The total number of packets (good and bad) received by a port. Includes broadcast packets, and multicast packets.
Rx Unicast | The total number of good unicast packets received by a port. It excludes packets received with errors, with multicast or broadcast destination addresses, with oversized
Rx Multicast | The total number of good multicast packets received by a port. It excludes packets received with errors, with multicast destination addresses, with oversized or undersized packets, discarded packets, and packets without a destination.
Rx Broadcast | The total number of well-formed broadcast packets received by a port. It excludes packets received with errors, with multicast destination addresses, with oversized or undersized packets, discarded packets, and packets without a destination.
Rx Unknown Protocols | The number of received packets discarded during packet header validation, including packets with unrecognized label values.
Rx Discards | The total number of good multicast packets received by a port. It excludes packets received with errors, with multicast destination addresses, with oversized or undersized packets, discarded packets, and packets without a destination.
Rx Errors | Rx Alignment Errors | The total number of packets received with alignment errors.
Rx FCS Errors | The total number of packets received with FCS errors. The number of FCS errors should be a very small percentage of the total data traffic.
Rx Fragments | The total number of times a valid length packet was received at a port and had at least one invalid data symbol.
Rx Fragments | The total of received fragments. Fragments are pieces of a packet.
Rx Jabbers | The total number of packets received by a port that are longer than 1522 bytes and have either an FCS error or an alignment error.
Oversize Frames | The total number of packets received of more than 1518 bytes that have good FCS values
Undersize Frames | The total number of packets received of less than 64 bytes that have good FCS values.
64 Byte Frames | The number of good and bad packets received that are exactly 64 bytes in length, including CRC.
128-255 Byte Frames | The number of good and bad packets received that are 128-255 bytes in length, including CRC.
256-511 Byte Frames | Thes number of good and bad packets received that are 256-511 bytes in length, including CRC.
512-1023 Byte Frames | The number of good and bad packets received that are 512-1023 bytes in length, including CRC.
1024-1518 Byte Frames | The number of good and bad packets received that are 1024-1522 bytes in length, including CRC.
Rx Src Addr. Changes | The number of times the source address (SA) of good received packets has changed. A count greater than one generally indicates the port is connected to a repeater based network.
Rx Source Address | The last received source address.
Transmit Counters | Tx Bytes | The total number of bytes transmitted by a port.
Tx Frames | The total number of frames transmitted by a port.
Tx Unicast | The total number of good unicast packets transmitted by a port. It excludes packets received with errors, with multicast or broadcast destination addresses, with oversized or undersized packets, discarded packets, and packets without a destination.
Tx Multicast | The total number of good multicast packets transmitted by a port. It excludes packets received with errors, with multicast destination addresses, with oversized or undersized packets, discarded packets, and packets without a destination.
Tx Broadcast | The total number of good broadcast packets received by a port. It excludes packets received with errors, with multicast destination addresses, with oversized or undersized packets, discarded packets, and packets without a destination.
Tx Discards | The total number of transmit frames discarded due to lack of resources (e.g., transmit FIFO overflow), or an internal MAC sublayer transmit error not counted by transmit Late Collisions or Excessive Collisions counters.
Tx Collisions | The number of collisions experienced by a port due to packet transmissions.
Late Collisions | The total number of packets discarded because of late collisions detected during transmission. It includes all transmit packets that had a collision after the transmission of the packet's 64th byte. The preamble and SFD are not included in the frame's byte count.
Excessive Collisions | The total number of packets that failed to be sent after 16 collisions.
Single Collisions | The total number of packets that could not be sent due to a single collision.
Multiple Collisions | The number of times that a transmitted packet encountered more than one collision but fewer than 16. This counter increments only if the device is in half-duplex mode.
Deferred Transmissions | The number of packets for which the first transmission attempt on a particular interface is delayed because the medium is busy. The count excludes packets involved in collisions.

## Example:

### Entry: L2 STATUS PORT 2

System Response:

DETAILED STATISTICS - Layer 2 Switch Port 2: * NOTE * The statistics is for the embedded Layer 2 Switch. Port MAC Address Status Speed Duplex Flow Control ------------------------ ------------ ------ ----- ------ ------------ 2 08000f1b3efa Down 10M Half Disabled -------------------------------------+------------------------------------- Receive Counters | Transmit Counters -------------------------------------+------------------------------------- Bytes 0 | Bytes 0 Frames 0 | Frames 0 Unicast 0 | Unicast 0 Multicast 0 | Multicast 0 Broadcast 0 | Broadcast 0 Discards 0 | Discards 0 Unknown Protocols 0 | Errors 0 Errors 0 | Collisions 0 Alignment 0 | Single 0 FCS 0 | Multiple 0 Symbol 0 | Excessive 0 Fragments 0 | Late 0 Jabbers 0 | Deferred Tx 0 Oversize 0 | Undersize 0 | -------------------------------------+------------------------------------- Frame Sizes (Receive or Transmit) | Miscellaneous -------------------------------------+------------------------------------- 64 0 | Drop Events 0 65-127 0 | Cntr Discontinuity Time 0 128-255 0 | Rx Src Addr. Changes 0 256-511 0 | Rx Last Src Addr. 000000000000 512-1023 0 | 1024-1518 0 | -------------------------------------+------------------------------------- PHY status registers: Port G1 PHY 0:1b 0:1000 1:7949 2:0020 3:60c1 4:05e1 5:0000 6:0004 7:2001 8:0000 9:0f00 10:0000 15:3000 16:0000 17:0000 18:0000 19:0000 20:0000 24/0:0400 24/1:0001 24/2:0002 24/4:0004 24/7:7267 25:1000 26:0000 27:ffff 28/2:0800 28/4:100c 28/5:141f 28/8:21df 28/a:2801 29/0:0000 29/1:8000 ---------------------------------------------------------------------------

Related Topics

- Layer 2 (L2) Switch