Administrator Guide

Layer 2 Switching Commands 816
Syntax
show interfaces switchport {{gigabitethernet unit/slot/port |
port-channel
port-channel-number
| tengigabitethernet unit/slot/port|
fortygigabitethernet unit/slot/port}}
Default Configuration
If no interface parameter is given, all interfaces are shown.
Command Mode
Privileged Exec mode, Interface Configuration mode and all Configuration
submodes
User Guidelines
Each of the switchport modes can be configured independently for a port or
port channel. The configurations are retained even when the port is
configured in a different mode.
It is recommended that the private VLAN host ports be configured as
spanning-tree portfast.
Examples
The following example displays switchport configuration individually for
gi1/0/1.
switch-top(config-if-Gi1/0/1)#show interfaces switchport gi1/0/1
Port: Gi1/0/1
VLAN Membership Mode: Trunk 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: 1-99,101-4093
Private VLAN Host Association: none
Private VLAN Mapping:
2CSNXXX_SWUM204.book Page 816 Monday, January 25, 2016 1:25 PM