Use this command to display the switchport configuration for a selected mode per interface. If the interface is not specified, the configuration for all interfaces is displayed.
| Format | show interfaces switchport {access | trunk | general} [unit/slot/port] |
| Mode | Privileged EXEC |
Example:
Switching) # show interfaces switchport access 1/0/1
Intf PVID
--------- ----
1/0/1 1
(Switching) # show interfaces switchport trunk 1/0/6
Intf PVID Allowed Vlans List
--------- ----- -------------------
1/0/6 1 All
(Switching) # show interfaces switchport general 1/0/5
Intf PVID Ingress Acceptable Untagged Tagged Forbidden Dynamic
Filtering Frame Type Vlans Vlans Vlans Vlans
--------- ----- ---------- ---------- --------- --------- --------- ---------
1/0/5 1 Enabled Admit All 7 10-50,55 9,100-200 88,96
(Switching) # show interfaces switchport general
Intf PVID Ingress Acceptable Untagged Tagged Forbidden Dynamic
Filtering Frame Type Vlans Vlans Vlans Vlans
--------- ----- ---------- ---------- --------- --------- --------- ---------
1/0/1 1 Enabled Admit All 1,4-7 30-40,55 3,100-200 88,96
1/0/2 1 Disabled Admit All 1 30-40,55 none none
..