32
516
32.26 show interfaces switchport
Use the show interfaces switchport Privileged EXEC command to display the
administrative and operational status of all interfaces or a specific interface.
Syntax
show interfaces switchport
Parameters
interface-id—Specify an interface ID. The interface ID can be one of the following
types: Ethernet port or Port-channel
Default Configuration
Displays information for all interfaces.
Command Mode
EXEC mode
Examples
Example 1 - The following example displays the the command output for a trunk
port:
switchxxxxxx# show interfaces switchport
Port
gi
1:
Port Mode: Trunk
Gvrp Status: disabled
Ingress Filtering: true
Acceptable Frame Type: admitAll
Ingress UnTagged VLAN ( NATIVE ): 2
Protected: Enabled, Uplink is gi9.
Port
gi
1 is member in:
VLAN
Name
----
----------
1
default
8
8
11
11
Virtual Local Area Network (VLAN) Commands
[interface-id]
gi
Egress Rule
Type
----------- -----
untagged
System
tagged
Dynamic
tagged
Static
78-21075-01 Command Line Interface Reference Guide
1