Verifying a switchport interface running configuration

Enter the show running-config interface to display the running configuration information for a specific interface.
device# show running-config interface ethernet 0/1 switchport	
interface interface Eth 0/1
 switchport
 switchport mode trunk
 switchport trunk allowed vlan add 5-10
 switchport trunk tag native-vlan

This example displays the running configuration information for a port-channel interface.

device# show running-config interface port-channel 5 switchport
interface Port-channel 5
 switchport
 switchport mode access
 switchport access vlan 1