show interfaces switchport
This topic explains the command that displays switchport information, such as port mode and VLAN membership, for interfaces or LAGs.
|
Syntax |
show interfaces switchport id |
|
Parameter |
|
|
Default |
No default value. |
|
Mode |
Privileged EXEC |
|
Usage |
Use this command to show switchport information for one or more interfaces. |
Example
This example shows how to display switchport information for interface g10:
CODE
Switch# show interfaces switchport g10
Port : g10
Port Mode : Trunk
Ingress Filtering : enabled
Acceptable Frame Type : all
Ingress UnTagged VLAN ( NATIVE ) : 1
Trunking VLANs Enabled: 100
Port is member in:
Vlan Name Egress rule
------- ----------------------- ----------------
1 default Untagged
100 VLAN-one-hundred Tagged
Forbidden VLANs:
Vlan Name