13.02.2014 Views

CLI Guide - TP-Link

CLI Guide - TP-Link

CLI Guide - TP-Link

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TL-SL3428/TL-SL3452 JetStream L2 Managed Switch <strong>CLI</strong> <strong>Guide</strong><br />

<strong>TP</strong>-LINK(config)# interface ethernet 2<br />

<strong>TP</strong>-LINK(config-if)# switchport allowed vlan add 2<br />

switchport pvid<br />

Description<br />

Syntax<br />

Parameter<br />

The switchport pvid command is used to configure the PVID for the switch<br />

ports.<br />

switchport pvid vlan-id<br />

vlan-id —— VLAN ID, ranging from 1 to 4094.<br />

Command Mode<br />

Example<br />

Interface Configuration Mode (interface ethernet / interface range ethernet )<br />

Specify the PVID of port 2 as 2:<br />

<strong>TP</strong>-LINK(config)# interface ethernet 2<br />

<strong>TP</strong>-LINK(config-if)# switchport pvid 2<br />

switchport general egress-rule<br />

Description<br />

Syntax<br />

Parameter<br />

The switchport general egress-rule command is used to configure the<br />

egress-rule of the general port.<br />

switchport general egress-rule vlan-id { untagged | tagged }<br />

vlan-id —— VLAN ID, ranging from 2 to 4094.<br />

untagged | tagged ——egress-rule,untagged or tagged<br />

Command Mode<br />

Example<br />

Interface Configuration Mode ( interface ethernet / interface range ethernet )<br />

Specify the egress-rule of port 2 in vlan 3 as tagged:<br />

19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!