500 VLAN Commands
show interfaces switchport
Use the show interfaces switchport command in Privileged EXEC mode to display switchport
configuration.
Syntax
show interfaces switchport {ethernet
interface
|port-channel
port-channel-number
}
•
Interface
— Specific interface, such as ethernet 1/g8.
•
port-channel-number
— Valid port-channel trunk index.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
This command has no user guidelines.
Examples
The following example displays switchport configuration individually for g1.
console#show interface switchport ethernet 1/g1
Port 1/g1:
VLAN Membership mode: General
Operating parameters:
PVID: 1 (default)
Ingress Filtering: Enabled
Acceptable Frame Type: All
GVRP status: Enabled
Protected: Enabled
Port 1/g1 is member in:
VLAN Name Egress rule Type
---- --------- ----------- -----
1 default untagged Default