show interface switchport
Description
The show interface switchport command is used to display the IEEE 802.1Q
VLAN configuration information of the specified port/LAG.
Syntax
show interface switchport [ gigabitEthernet port | port-channel lagid ]
Parameter
port —— The port number.
lagid —— The ID of the LAG.
Command Mode
Privileged EXEC Mode and Any Configuration Mode
Example
Display the VLAN configuration information of all ports and LAGs:
TL-SG3424(config)# show interface switchport
31