Use this command to display the switchport status for all interfaces or a specified interface. The output contains information about configured switchport mode, VLAN membership, PVID/Native VLAN, acceptable frame type, and other options per switchport modes.
| Format | show interfaces switchport unit/slot/port |
| Mode | Privileged EXEC |
Example:
(Switching) # show interfaces switchport 1/0/20 Port: 1/0/20 Switchport Mode: Access Mode Access Mode VLAN: 1 (default) General Mode PVID: 1 (default) General Mode Ingress Filtering: Enabled General Mode Acceptable Frame Type: Admit All General Mode Dynamically Added VLANs: General Mode Untagged VLANs: 1 General Mode Tagged VLANs: General Mode Forbidden VLANs: Trunking Mode Native VLAN: 1 (default) Trunking Mode Native VLAN Tagging: Disabled Trunking Mode VLANs Enabled: All Protected: False (Routing) #show interfaces switchport Port: 1/0/1 VLAN Membership Mode: General Access Mode VLAN: 1 (default) General Mode PVID: 1 (default) General Mode Ingress Filtering: Disabled General Mode Acceptable Frame Type: Admit all General Mode Dynamically Added VLANs: General Mode Untagged VLANs: 1 General Mode Tagged VLANs: General Mode Forbidden VLANs: Trunking Mode Native VLAN: 1 (default) Trunking Mode Native VLAN tagging: Disable Trunking Mode VLANs Enabled: All Protected Port: False