PLANET XGS3-24042 User Manual

Page 126

Advertising
background image

15-3

3. Assigning Switch ports for VLAN

Command

Explanation

VLAN Mode

switchport interface <interface-list>

no switchport interface <interface-list>

Assign Switch ports to VLAN.

4. Set the Switch Port Type

Command

Explanation

Port Mode

switchport mode {trunk | access | hybrid}

Set the current port as Trunk, Access

Hybrid port.

5. Set Trunk 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.

switchport trunk native vlan <vlan-id>

no switchport trunk native vlan

Set/delete PVID for Trunk port.

6. Set Access port

Command

Explanation

Port Mode

switchport access vlan <vlan-id>

no switchport access vlan

Add the current port to the specified

VLAN. The “no” command restores the

default setting.

7. Set Hybrid port

Command

Explanation

Port Mode

switchport hybrid allowed vlan {WORD |

all | add WORD | except WORD|remove

WORD} {tag|untag}

no switchport hybrid allowed vlan

Set/delete the VLAN which is allowed by

Hybrid port with tag or untag mode.

switchport hybrid native vlan <vlan-id>

no switchport hybrid native vlan

Set/delete PVID of the port.

Advertising
This manual is related to the following products: