Displaying the status of a switchport interface

Do the following to display detailed Layer 2 information for all switchport interfaces.

Procedure

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