TP-Link T1500-28PCT Switch User Manual


 
22
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 ruleuntagged 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 fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)
Example
Add port 4 it to VLAN 2 and configure the type of port 4 as tagged:
T1500-28PCT(config)# interface fastEthernet 1/0/4
T1500-28PCT(config-if)# switchport general allowed vlan 2 tagged
switchport pvid
Description
The switchport pv id 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 fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)
Example
Specify the PVID of port 2 as 2:
T1500-28PCT(config)# interface fastEthernet 1/0/2
T1500-28PCT(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.