Users Guide

Layer 2 Switching Commands 815
Gi1/0/4 Disable 802.1
Gi1/0/5 Disable 802.1
Gi1/0/6 Disable 802.1
show interfaces switchport
Use the show interfaces switchport command to display the complete
switchport VLAN configuration for all possible switch mode configurations:
access, dot1q-tunnel, general, trunk, and (private VLAN) host or (private
VLAN) promiscuous.
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