15
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
Specify the Link Type of port 4 as “general”, then add it to VLAN 2 and configure
the egress rule of port 4 as “tagged”:
TL-SG2424P(config)# interface gigabitEthernet 1/0/4
TL-SG2424P(config-if)# switchport mode general
TL-SG2424P(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 —— Specify IEEE 802.1Q VLAN ID, ranging from 1 to 4094.
Command Mode
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet)
Example
Specify the PVID of port 3 as 1:
TL-SG2424P(config)# interface gigabitEthernet 1/0/3
TL-SG2424P(config-if)# switchport pvid 1
show vlan summary
Description
The show vlan summary command is used to display the summarized
information of IEEE 802.1Q VLAN.