SGS-6340 Series User Manual

Table Of Contents
20-72
1. Create or delete VLAN
Command Explanation
Global Mode
vlan WORD
no vlan WORD
Create/delete VLAN or enter VLAN Mode
2. Set or delete VLAN na
me
Command Explanation
VLAN Interface Mode
name <vlan-name>
no name
Set or delete VLAN name.
3. Assigning
Switch ports for VLAN
Command Explanation
VLAN Interface Mode
switchport interface etherent
<interface-list>
no switchport interface <interface-list>
Assign Switch ports to VLAN.
4. Set the S
w
itch Port Type
Command Explanation
Port Mode
switchport mode {trunk | access | hybrid}
Set the current port as Trunk, Access or
Hybrid port.
5. Set T
runk
port
Command Explanation
Port Mode
switchport trunk allowed vlan {WORD | all
| add WORD | except WORD | remove
WORD}
no switchport trunk allowed vlan
Set/delete VLAN allowed to be crossed
by Trunk. The “no” command restores
the default setting.