5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
356
5-274 show interfaces switchport
Display the Switch port configuration for a selected interface mode. All interfaces are displayed if there is
not specific selection.
show interfaces switchport {access | err-disabled | trunk | general} [slot/port]
Parameters
access
Display the switchport information for interfaces configured in access
mode.
err-disabled
Display the error disable status of interfaces.
general
Display the switchport information for interfaces configured in general
mode.
Trunk
Display the switchport information for interfaces configured in trunk
mode.
slot/port
(Optional) Enter an interface in slot/port format.
Default
The default is None.
Command Mode
Privileged EXEC
Example
(Switching)#show interfaces switchport access 0/1
Intf
PVID
-----
-----
0/1
1
(Switching)#show interfaces switchport trunk 0/6
Intf
PVID
Allowed Vlans List
-----
-----
--------------------
0/6
1
All
(Switching)#show interfaces switchport general 0/5
Intf
PVID Ingress
Acceptable
Untagged
Tagged
Forbidden Dynamic
Filtering
Frame Type
Vlans
Vlans
Vlans
Vlans
-----
-----
---------
----------
--------
--------
--------
--------
0/5
1
Enabled
Admit All
7
10-50,55
9,100-200 88,96
(Switching)#show interfaces switchport general