show interfaces switchport
The show interfaces switchport Privileged EXEC mode command displays the switchport configuration.
Syntax
show interfaces switchport {ethernet interface | port-channel port-channel-number}
Parameters
•
interface — A valid Ethernet port number.
•
port-channel-number — A valid port-channel number.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
There are no user guidelines for this command.
Example
The following example displays the switchport configuration for Ethernet port 1.
Console# show interfaces switchport ethernet 5
Port 5:
Port Mode: private vlan Promiscous
Gvrp Status: disabled
Ingress Filtering: true
Acceptable Frame Type: admitAll
Ingress UnTagged VLAN ( NATIVE ): 200
Port 1 is member in:
Vlan
----
200
Forbidden VLANs
Vlan
Classification rules
Name
Egress rule
-------
-----------
200
Untagged
Name
Page 316
VLAN Commands
Type
-------
Static