16.06.2015 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.

Chapter 3<br />

IEEE 802.1Q VLAN Commands<br />

VLAN (Virtual Local Area Network) technology is developed for the switch to divide the LAN into<br />

multiple logical LANs flexibly. Hosts in the same VLAN can communicate with each other,<br />

regardless of their physical locations. VLAN can enhance performance by conserving bandwidth,<br />

and improve security by limiting traffic to specific domains.<br />

vlan<br />

Description<br />

Syntax<br />

Parameter<br />

The vlan command is used to create IEEE 802.1Q VLAN and enter VLAN<br />

Configuration Mode. To delete the IEEE 802.1Q VLAN, please use no vlan<br />

command.<br />

vlan vlan-list<br />

no vlan vlan-list<br />

vlan-list —— Specify IEEE 802.1Q VLAN ID list, ranging from 2 to 4094, in the<br />

format of 2-3, 5. It is multi-optional.<br />

Command Mode<br />

Example<br />

Global Configuration Mode<br />

Create VLAN 2-10 and VLAN 100:<br />

TL-SG3424(config)# vlan 2-10,100<br />

Delete VLAN 2:<br />

TL-SG3424(config)# no vlan 2<br />

interface vlan<br />

Description<br />

Syntax<br />

The interface vlan command is used to create VLAN Interface and enter<br />

Interface VLAN Mode. To delete VLAN Interface, please use no interface vlan<br />

command.<br />

interface vlan vlan-id<br />

no interface vlan vlan-id<br />

18

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

Saved successfully!

Ooh no, something went wrong!