TP-Link TL-SG3216 TL-SG3216 V1 CLI Reference Guide - Page 29
switchport pvid, switchport general egress-rule
View all TP-Link TL-SG3216 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 29 highlights
TP-LINK(config-if)# switchport allowed vlan add 2 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 ethernet / interface range ethernet ) Example Specify the PVID of port 2 as 2: TP-LINK(config)# interface ethernet 2 TP-LINK(config-if)# switchport pvid 2 switchport general egress-rule Description The switchport general egress-rule command is used to configure the egress-rule of the general port. Syntax switchport general egress-rule [vlan-id]{ untagged | tagged } Parameter vlan-id -- VLAN ID, ranging from 1 to 4094. By default , display all the information of IEEE 802.1Q VLAN. untagged | tagged --egress-rule,untagged or tagged Command Mode Interface Configuration Mode ( interface ethernet / interface range ethernet ) Example Specify the egress-rule of port 2 in vlan 3as tagged: TP-LINK(config)# interface ethernet 2 18