Displaying the status of a switchport interface

Enter the show interface switchport to display the detailed Layer 2 information for all interfaces.
device# show interface switchport
 Interface name         : Eth 0/1
 Switchport mode        : access
 Ingress filter         : enable
 Acceptable frame types : all
 Default Vlan           : 1
 Active Vlans           : 1
 Inactive Vlans         : -
 Interface name         : Port-channel 5
 Switchport mode        : access
 Ingress filter         : enable
 Acceptable frame types : all
 Default Vlan           : 1
 Active Vlans           : 1