Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show ethernet-switching interface



Display Layer 2 learning information for all the interfaces.



Display Ethernet-switching information for all interfaces.

brief | detail | extensive

(Optional) Display the specified level of output.


(Optional) Display Ethernet-switching information for the specified interface.

Required Privilege Level


Output Fields

Table 1 describes the output fields for the show ethernet-switching interface command. Output fields are listed in the approximate order in which they appear.

Table 1: show ethernet-switching interface Output Fields

Field Name

Field Description

Logical interface

Name of the logical interface.

VLAN members

VLANs associated with this interface.



MAC limit

Number of MAC addresses that can be associated with the interface.

STP state

Spanning Tree protocol (STP) state.

Logical interface flags

Status of Layer 2 learning properties for each interface:

  • DL—MAC learning is disabled.

  • LH—MAC interface limit has been reached.

  • AD—Packets are dropped after the MAC interface limit is reached.

  • DN—The MAC interface is down.

  • MMAS—The MAC interface is disabled after a MAC address move.

  • SCTL—The MAC interface is disabled after a configured storm-control level is exceeded.


    If the physical interface is shutdown due to storm control, all logical interfaces on the shutdown interface display the SCTL logical interface flag.


Tagging state of the VLAN.

Sample Output

show ethernet switching interface (Specific Interface)

show ethernet switching interface (Storm Control in Effect)

show ethernet-switching interface detail

show ethernet-switching interface xe-0/0/2.0 (autostate-exclude enabled on QFX5100 switch)

Release Information

Command introduced in Junos OS Release 12.3R2.