TP-Link T1600G-52TSTL-SG2452 T1600G-52TS V1 CLI Reference Guide - Page 34
switchport pvid
View all TP-Link T1600G-52TSTL-SG2452 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 34 highlights
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 / interface port-channel / interface range port-channel) Example Add port 4 it to VLAN 2 and configure the type of port 1/0/4 as tagged: T1600G-52TS(config)# interface gigabitEthernet 1/0/4 T1600G-52TS(config-if)# switchport general allowed vlan 2 tagged 3.5 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 / interface port-channel / interface range port-channel) Example Specify the PVID of port 1/0/2 as 2: T1600G-52TS(config)# interface gigabitEthernet 1/0/2 T1600G-52TS(config-if)# switchport pvid 2 22