![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/a/ec/aec0e7f5-c165-4267-a8fa-78b88e036764/aec0e7f5-c165-4267-a8fa-78b88e036764-bg18.png)
13
Parameter
vlan-list —— Specify IEEE 802.1Q VLAN ID list, ranging from 2 to 4094, in the
format of 2-3, 5. It is multi-optional.
tagged | untagged —— Egress rule,untagged or tagged. Tagged: All packets
forwarded by the port are tagged. The packets contain VLAN information.
Untagged: Packets forwarded by the port are untagged.
Command Mode
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet)
Example
Add port 4 it to VLAN 2 and configure the type of port 4 as tagged:
TL-SG2424(config)# interface gigabitEthernet 1/0/4
TL-SG2424(config-if)# switchport general allowed vlan 2 tagged
switchport pvid
Description
The switchport pvid command is used to configure the PVID for the switch
ports.
Syntax
switchport pvid vlan-id
Parameter
vlan-id —— VLAN ID, ranging from 1 to 4094.
Command Mode
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet )
Example
Specify the PVID of port 2 as 2:
TL-SG2424(config)# interface gigabitEthernet 2
TL-SG2424(config-if)# switchport pvid 2
show vlan summary
Description
The show vlan summary command is used to display the summarized
information of IEEE 802.1Q VLAN.